summary refs log tree commit diff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--irc/catgirl/Makefile15
-rw-r--r--irc/catgirl/distinfo2
2 files changed, 10 insertions, 7 deletions
diff --git a/irc/catgirl/Makefile b/irc/catgirl/Makefile
index 28babf4..3504d11 100644
--- a/irc/catgirl/Makefile
+++ b/irc/catgirl/Makefile
@@ -1,4 +1,4 @@
-# $FreeBSD$
+# $FreeBSD: head/irc/catgirl/Makefile 566195 2021-02-20 23:14:06Z linimon $
 
 PORTNAME=	catgirl
 DISTVERSION=	1.6
@@ -11,10 +11,7 @@ COMMENT=	TLS-only terminal IRC client
 LICENSE=	GPLv3+
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-LIB_DEPENDS=	libtls.so:security/libretls
-
-USES=	ncurses \
-	pkgconfig
+USES=		compiler:c++11-lang ncurses pkgconfig ssl
 
 HAS_CONFIGURE=	yes
 CONFIGURE_ARGS=	--prefix=${PREFIX} --mandir=${MANPREFIX}/man
@@ -22,7 +19,13 @@ 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
 
-.include <bsd.port.mk>
+.if ${SSL_DEFAULT} == base || ${SSL_DEFAULT} == openssl
+LIB_DEPENDS+=	libtls.so:security/libretls
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/irc/catgirl/distinfo b/irc/catgirl/distinfo
index 126e0ad..4610713 100644
--- a/irc/catgirl/distinfo
+++ b/irc/catgirl/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1612836387
+TIMESTAMP = 1613763583
 SHA256 (catgirl-1.6.tar.gz) = 3b32ee3b57cab5fa29b0a6cb9d21a4a5e5f41efd4a698cb9df15e316bf000f6a
 SIZE (catgirl-1.6.tar.gz) = 58524