mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-19 03:52:17 +00:00
682e270a04
PR: 258330 Approved by: tcberner (mentor) Differential Revision: https://reviews.freebsd.org/D31911
38 lines
830 B
Makefile
38 lines
830 B
Makefile
PORTNAME= pounce
|
|
DISTVERSION= 2.5
|
|
CATEGORIES= irc
|
|
MASTER_SITES= https://git.causal.agency/pounce/snapshot/
|
|
|
|
MAINTAINER= june@causal.agency
|
|
COMMENT= Multi-client IRC bouncer
|
|
|
|
LICENSE= GPLv3+
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
USES= compiler:c11 localbase:ldflags ssl
|
|
USE_RC_SUBR= calico pounce
|
|
|
|
MAKE_ENV+= MANDIR=${MANPREFIX}/man
|
|
CFLAGS+= -D'OPENSSL_BIN=\"${OPENSSL_BIN}\"'
|
|
CFLAGS+= -D'CERTBOT_PATH=\"${LOCALBASE}/etc/letsencrypt\"'
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${SSL_DEFAULT} == base || ${SSL_DEFAULT} == openssl
|
|
LIB_DEPENDS+= libtls.so:security/libretls
|
|
.endif
|
|
|
|
.if ${SSL_DEFAULT} == base
|
|
OPENSSL_BIN=/usr/bin/openssl
|
|
.else
|
|
OPENSSL_BIN=${LOCALBASE}/bin/openssl
|
|
.endif
|
|
|
|
post-install:
|
|
@${MKDIR} ${STAGEDIR}/var/run/calico
|
|
.for b in calico pounce
|
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${b}
|
|
.endfor
|
|
|
|
.include <bsd.port.post.mk>
|