Added
Link Here
|
1 |
PORTNAME= pounce |
2 |
DISTVERSION= 2.3 |
3 |
CATEGORIES= irc |
4 |
MASTER_SITES= https://git.causal.agency/pounce/snapshot/ |
5 |
|
6 |
MAINTAINER= june@causal.agency |
7 |
COMMENT= Multi-client IRC bouncer |
8 |
|
9 |
LICENSE= GPLv3+ |
10 |
LICENSE_FILE= ${WRKSRC}/LICENSE |
11 |
|
12 |
USES= localbase:ldflags ssl |
13 |
|
14 |
MAKE_ENV+= MANDIR=${MANPREFIX}/man |
15 |
CFLAGS+= -D'OPENSSL_BIN=\"${OPENSSL_BIN}\"' |
16 |
CFLAGS+= -D'CERTBOT_PATH=\"${LOCALBASE}/etc/letsencrypt\"' |
17 |
|
18 |
.include <bsd.port.pre.mk> |
19 |
|
20 |
.if ${SSL_DEFAULT} == base || ${SSL_DEFAULT} == openssl |
21 |
LIB_DEPENDS+= libtls.so:security/libretls |
22 |
.endif |
23 |
|
24 |
.if ${SSL_DEFAULT} == base |
25 |
OPENSSL_BIN=/usr/bin/openssl |
26 |
.else |
27 |
OPENSSL_BIN=/usr/local/bin/openssl |
28 |
.endif |
29 |
|
30 |
post-install: |
31 |
@${MKDIR} ${STAGEDIR}${ETCDIR} |
32 |
@${MKDIR} ${STAGEDIR}/var/run/calico |
33 |
.for b in calico pounce |
34 |
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${b} |
35 |
.endfor |
36 |
|
37 |
.include <bsd.port.post.mk> |