summary refs log tree commit diff
path: root/irc/catgirl/Makefile
blob: 3504d11bda85657e8049b506436d7c84aa47509c (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
30
31
# $FreeBSD: head/irc/catgirl/Makefile 566195 2021-02-20 23:14:06Z linimon $

PORTNAME=	catgirl
DISTVERSION=	1.6
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>