openbsd-ports/net/dnscrypt-proxy/Makefile
2013-03-11 11:35:43 +00:00

49 lines
1.1 KiB
Makefile

# $OpenBSD: Makefile,v 1.2 2013/03/11 11:35:46 espie Exp $
COMMENT-main= secure communications between a DNS client and resolver
COMMENT-plugins= example plugins for dnscrypt-proxy
V= 1.2.0
DISTNAME= dnscrypt-proxy-${V}
CATEGORIES= net
MASTER_SITES= https://github.com/downloads/opendns/dnscrypt-proxy/
HOMEPAGE= http://dnscrypt.org
MAINTAINER= Frank Denis <dnscrypt@pureftpd.org>
# BSD
PERMIT_PACKAGE_CDROM= Yes
MULTI_PACKAGES= -main -plugins
PKGNAME-main= dnscrypt-proxy-${V}
PKGNAME-plugins= dnscrypt-proxy-plugins-${V}
commonWANTLIB= c execinfo kvm m
WANTLIB-main= ${commonWANTLIB} ltdl
WANTLIB-plugins= ${commonWANTLIB} crypto ldns
commonLIB_DEPENDS= devel/libexecinfo
LIB_DEPENDS-main= ${commonLIB_DEPENDS} devel/libtool,-ltdl
LIB_DEPENDS-plugins= ${commonLIB_DEPENDS} net/ldns/libldns
BUILD_DEPENDS-plugins= devel/libtool
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= --enable-plugins --enable-plugins-root
DOCS= README-PLUGINS.markdown \
README.markdown \
TECHNOTES
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/dnscrypt-proxy
cd ${WRKSRC}; ${INSTALL_DATA} ${DOCS} ${PREFIX}/share/doc/dnscrypt-proxy
.include <bsd.port.mk>