1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-30 10:38:37 +00:00
freebsd-ports/dns/bundy/Makefile
Mathieu Arnold fae7591d48 Add bundy, the successor of BIND10.
Until a release is done, this will be a snapshot from the github source tree.

http://bundy-dns.de/

Sponsored by:	Absolight
2014-05-15 15:46:59 +00:00

64 lines
1.8 KiB
Makefile

# Created by: Jeremy C. Reed
# $FreeBSD$
PORTNAME= bundy
PORTVERSION= 0.20140512
CATEGORIES= dns
MASTER_SITES= GH GHC LOCAL/mat/bundy
MAINTAINER= mat@FreeBSD.org
COMMENT= Bundy DNS server suite
LICENSE= ISC
LICENSE_GROUPS= FSF GPL OSI
LICENSE_NAME= ISC License
LICENSE_FILE= ${WRKSRC}/COPYING
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 \
${PYTHON_LIBDIR}/lib-dynload/_sqlite3.so:${PORTSDIR}/databases/py-sqlite3
LIB_DEPENDS= libbotan-1.10.so:${PORTSDIR}/security/botan110 \
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_GITHUB= yes
GH_ACCOUNT= bundy-dns
GH_COMMIT= ce5d832
GH_TAGNAME= ${GH_COMMIT}
USE_PYTHON= 3
USE_OPENSSL= yes
USES= compiler:c++11-lang pathfix pkgconfig libtool
USE_LDCONFIG= yes
USE_AUTOTOOLS= aclocal autoconf automake autoheader libtoolize
PATHFIX_MAKEFILEIN= Makefile.am
ACLOCAL_ARGS= -I m4macros
AUTOMAKE_ARGS= --add-missing
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --localstatedir=/var \
--without-werror \
--enable-install-configurations
OPTIONS_DEFINE= DOCS
PORTDOCS= *
post-install:
${MV} ${STAGEDIR}${ETCDIR}/cmdctl-certfile.pem ${STAGEDIR}${ETCDIR}/cmdctl-certfile.pem.sample
${MV} ${STAGEDIR}${ETCDIR}/cmdctl-keyfile.pem ${STAGEDIR}${ETCDIR}/cmdctl-keyfile.pem.sample
.include <bsd.port.pre.mk>
.if ${PYTHON_VER} != ${PYTHON_DEFAULT}
IGNORE= you have python ${PYTHON_DEFAULT} set as the default, and this needs ${PYTHON_VER}
.endif
.include <bsd.port.post.mk>