ff23cdebe3
Fix startup script PR: 230001 Submitted by: david@dcrosstech.com
44 lines
873 B
Makefile
44 lines
873 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= sniproxy
|
|
DISTVERSION= 0.5.0
|
|
PORTREVISION= 1
|
|
CATEGORIES= net
|
|
|
|
MAINTAINER= krion@FreeBSD.org
|
|
COMMENT= Proxy that routes based on TLS server name extension
|
|
|
|
LICENSE= BSD2CLAUSE
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
LIB_DEPENDS= libev.so:devel/libev \
|
|
libpcre.so:devel/pcre \
|
|
libudns.so:dns/udns
|
|
|
|
USES= autoreconf:build gettext pkgconfig
|
|
|
|
SUB_FILES= pkg-message
|
|
USE_RC_SUBR= sniproxy
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= dlundquist
|
|
|
|
GNU_CONFIGURE= yes
|
|
USE_LDCONFIG= yes
|
|
|
|
PLIST_FILES= man/man5/sniproxy.conf.5.gz \
|
|
man/man8/sniproxy.8.gz \
|
|
sbin/sniproxy \
|
|
"@sample etc/sniproxy.conf.sample"
|
|
|
|
pre-configure:
|
|
cd ${WRKSRC} && ${SH} autogen.sh
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|/var/tmp/|/var/run/|' ${WRKSRC}/${PORTNAME}.conf
|
|
|
|
post-install::
|
|
${INSTALL_DATA} ${WRKSRC}/sniproxy.conf ${STAGEDIR}${PREFIX}/etc/sniproxy.conf.sample
|
|
|
|
.include <bsd.port.mk>
|