# Created by: Mark Felder # $FreeBSD$ PORTNAME= titus PORTVERSION= 0.3 CATEGORIES= security MAINTAINER= feld@FreeBSD.org COMMENT= TLS/SSL proxy server LICENSE= MIT USES= compiler:c++11-lang ssl USE_RC_SUBR= titus USE_GITHUB= yes GH_ACCOUNT= AGWA USERS= titus titus-keys GROUPS= nogroup MAKE_ENV+= MANDIR=${MANPREFIX}/man CFLAGS+= -I${OPENSSLINC} LDFLAGS+= -L${OPENSSLLIB} .include .if ${OPSYS} == FreeBSD && ${OSVERSION} < 1002000 BROKEN= Requires FreeBSD 10.2 or higher .endif post-patch: ${REINPLACE_CMD} 's|/var/lib/titus/empty|/var/empty|' ${WRKSRC}/titus.conf.example post-install: ${INSTALL_DATA} ${WRKSRC}/titus.conf.example ${STAGEDIR}${PREFIX}/etc/titus.conf.sample .include