mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-04 01:48:54 +00:00
7c1b4544c3
script due to fallouts of r399992
34 lines
803 B
Makefile
34 lines
803 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= dnscrypt-wrapper
|
|
PORTVERSION= 0.2
|
|
PORTREVISION= 1
|
|
CATEGORIES= dns
|
|
|
|
MAINTAINER= freebsd@toyingwithfate.com
|
|
COMMENT= Adds dnscrypt support to any name resolver
|
|
|
|
LICENSE= GPLv2
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
LIB_DEPENDS= libsodium.so:${PORTSDIR}/security/libsodium \
|
|
libevent.so:${PORTSDIR}/devel/libevent2
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= Cofyc
|
|
GH_TAGNAME= v${PORTVERSION}
|
|
|
|
USERS= _dnscrypt-wrapper
|
|
ETCDNSCRYPTWRAPPER= ${PREFIX}/etc/${PORTNAME}
|
|
SUB_LIST+= ETCDNSCRYPTWRAPPER="${ETCDNSCRYPTWRAPPER}" USERS="${USERS}"
|
|
USE_RC_SUBR= ${PORTNAME}
|
|
|
|
USES= gmake
|
|
MAKE_ARGS= LDFLAGS="-L${LOCALBASE}/lib" CFLAGS="-I${LOCALBASE}/include" PREFIX="${STAGEDIR}${PREFIX}"
|
|
|
|
post-install:
|
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/sbin/*
|
|
${MKDIR} ${STAGEDIR}${ETCDNSCRYPTWRAPPER}
|
|
|
|
.include <bsd.port.mk>
|