1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-28 01:06:17 +00:00
freebsd-ports/dns/bind10/Makefile
2014-01-07 00:23:31 +00:00

49 lines
1.6 KiB
Makefile

# Created by: Jeremy C. Reed
# $FreeBSD$
PORTNAME= bind10
PORTVERSION= 1.0.0
CATEGORIES= dns
MASTER_SITES= ${MASTER_SITE_ISC}
MASTER_SITE_SUBDIR= ${PORTNAME}/${PORTVERSION}
MAINTAINER= freebsd@ISC.org
COMMENT= Development version of ISC BIND 10 DNS Suite
LICENSE= ISC
LICENSE_GROUPS= FSF GPL OSI
LICENSE_NAME= ISC License
LICENSE_FILE= ${FILESDIR}/LICENSE
LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
BUILD_DEPENDS= ${LOCALBASE}/include/boost/interprocess/sync/interprocess_upgradable_mutex.hpp:${PORTSDIR}/devel/boost-libs \
${LOCALBASE}/include/log4cplus/logger.h:${PORTSDIR}/devel/log4cplus \
sqlite3>=3.3.9:${PORTSDIR}/databases/sqlite3
LIB_DEPENDS= libbotan.so:${PORTSDIR}/security/botan \
liblog4cplus.so:${PORTSDIR}/devel/log4cplus \
libicuuc.so:${PORTSDIR}/devel/icu \
libgmp.so:${PORTSDIR}/math/gmp \
libsqlite3.so:${PORTSDIR}/databases/sqlite3
RUN_DEPENDS= ${PYTHON_LIBDIR}/lib-dynload/_sqlite3.so:${PORTSDIR}/databases/py-sqlite3
USE_PYTHON= 3.3
USE_OPENSSL= yes
USE_LDCONFIG= yes
USES= pkgconfig
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --localstatedir=/var \
--disable-install-configurations
PLIST_SUB+= PORTNAME=${PORTNAME}
post-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/etc/${PORTNAME}
${INSTALL_DATA} -m 640 ${WRKSRC}/src/bin/cmdctl/cmdctl-certfile.pem \
${STAGEDIR}${PREFIX}/etc/${PORTNAME}/cmdctl-certfile.pem.sample
${INSTALL_DATA} -m 640 ${WRKSRC}/src/bin/cmdctl/cmdctl-keyfile.pem \
${STAGEDIR}${PREFIX}/etc/${PORTNAME}/cmdctl-keyfile.pem.sample
@${MV} ${STAGEDIR}${PREFIX}/lib/pkgconfig/* ${STAGEDIR}${PREFIX}/libdata/pkgconfig/
.include <bsd.port.mk>