summary refs log tree commit diff
path: root/irc/catgirl/Makefile
blob: a13045e2c834c350acc168547402545c0202c9b6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
PORTNAME=	catgirl
DISTVERSION=	1.8
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>