aboutsummaryrefslogtreecommitdiffstats
path: root/dns/bind10/Makefile
blob: 0c748c866b47d07a46dcd8b0779df0a1ad673485 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# Created by: Jeremy C. Reed
# $FreeBSD$

PORTNAME=   bind10
PORTVERSION=    1.2.0
CATEGORIES= dns
MASTER_SITES=   ${MASTER_SITE_ISC}
MASTER_SITE_SUBDIR= ${PORTNAME}/${PORTVERSION}

MAINTAINER= mat@FreeBSD.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 \
        ${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_PYTHON= 3.3
USE_OPENSSL=    yes
USE_LDCONFIG=   yes
USES=   compiler:c++11-lang pathfix pkgconfig

GNU_CONFIGURE=  yes
CONFIGURE_ARGS= --localstatedir=/var    \
        --without-werror \
        --enable-install-configurations

PLIST_SUB+= PORTNAME=${PORTNAME}

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.mk>