summary refs log tree commit diff
path: root/FreeBSD/irc/catgirl/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'FreeBSD/irc/catgirl/Makefile')
-rw-r--r--FreeBSD/irc/catgirl/Makefile29
1 files changed, 29 insertions, 0 deletions
diff --git a/FreeBSD/irc/catgirl/Makefile b/FreeBSD/irc/catgirl/Makefile
new file mode 100644
index 0000000..48bf7e6
--- /dev/null
+++ b/FreeBSD/irc/catgirl/Makefile
@@ -0,0 +1,29 @@
+PORTNAME=	catgirl
+PORTVERSION=	1.9a
+CATEGORIES=	irc
+MASTER_SITES=	https://git.causal.agency/catgirl/snapshot/
+
+MAINTAINER=	june@causal.agency
+COMMENT=	TLS-only terminal IRC client
+
+LICENSE=	GPLv3+
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+USES=		compiler:c++11-lang ncurses pkgconfig ssl
+
+HAS_CONFIGURE=	yes
+CONFIGURE_ARGS=	--prefix=${PREFIX} --mandir=${MANPREFIX}/man
+
+PLIST_FILES=	bin/catgirl \
+		man/man1/catgirl.1.gz
+
+.include <bsd.port.pre.mk>
+
+post-install:
+	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/catgirl
+
+.if ${SSL_DEFAULT} == base || ${SSL_DEFAULT} == openssl
+LIB_DEPENDS+=	libtls.so:security/libretls
+.endif
+
+.include <bsd.port.post.mk>