e0b379fa6f
Approved by: portmgr (blanket)
32 lines
692 B
Makefile
32 lines
692 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= dnscrypt-wrapper
|
|
PORTVERSION= 0.2.1
|
|
DISTVERSIONPREFIX= v
|
|
PORTREVISION= 3
|
|
CATEGORIES= dns
|
|
|
|
MAINTAINER= freebsd@toyingwithfate.com
|
|
COMMENT= Adds dnscrypt support to any name resolver
|
|
|
|
LICENSE= GPLv2
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
LIB_DEPENDS= libsodium.so:security/libsodium \
|
|
libevent.so:devel/libevent2
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= Cofyc
|
|
|
|
USERS= _dnscrypt-wrapper
|
|
ETCDNSCRYPTWRAPPER= ${PREFIX}/etc/${PORTNAME}
|
|
SUB_LIST+= ETCDNSCRYPTWRAPPER="${ETCDNSCRYPTWRAPPER}" USERS="${USERS}"
|
|
USE_RC_SUBR= ${PORTNAME}
|
|
|
|
USES= gmake localbase:ldflags
|
|
|
|
post-install:
|
|
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/sbin/*
|
|
@${MKDIR} ${STAGEDIR}${ETCDNSCRYPTWRAPPER}
|
|
|
|
.include <bsd.port.mk>
|