# New ports collection makefile for: bind9-sdb-postgresql # Date created: 16 Aug 2008 # Whom: Josh Carroll # # $FreeBSD$ # PORTNAME= bind9 PORTVERSION= 9.4.3.3 CATEGORIES= dns net ipv6 MASTER_SITES= ${MASTER_SITE_ISC} MASTER_SITE_SUBDIR= bind9/${ISCVERSION} PKGNAMESUFFIX= -sdb-postgresql DISTNAME= bind-${ISCVERSION} DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${DISTNAME}${EXTRACT_SUFX}.asc EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= josh.carroll@gmail.com COMMENT= Bind9, patched for use with a PostgreSQL-based backend CONFLICTS= bind9-9.* bind9-sdb-ldap-* host-* # ISC releases things like 9.3.0rc1, which our versioning doesn't like ISCVERSION= 9.4.3-P3 GNU_CONFIGURE= yes CONFIGURE_ARGS= --localstatedir=/var --disable-linux-caps --with-openssl \ --with-randomdev=/dev/random MAKE_JOBS_UNSAFE= yes USE_OPENSSL= yes USE_PGSQL= yes OPTIONS= REPLACE_BASE "Replace base BIND with this version" off \ LARGE_FILE "64-bit file support" off \ SIGCHASE "dig/host/nslookup will do DNSSEC validation" off \ IPV6 "IPv6 Support (autodetected by default)" off .include # We are ok by default from 7.0-RELEASE on .if ${OSVERSION} >= 700055 OPTIONS+= THREADS "Compile with thread support" on .else OPTIONS+= THREADS "Compile w/threads (Not Recommended ${WRKSRC}/bin/${FILE} .endfor post-install: ${INSTALL_DATA} ${WRKSRC}/bin/rndc/rndc.conf \ ${BIND_DESTETC}/rndc.conf.sample .if !defined(NOPORTDOCS) ${MKDIR} ${DOCSDIR}/arm ${DOCSDIR}/misc ${INSTALL_DATA} ${WRKSRC}/doc/arm/Bv9ARM*html ${DOCSDIR}/arm ${INSTALL_DATA} ${WRKSRC}/doc/misc/[a-z]* ${DOCSDIR}/misc ${CP} ${WRKSRC}/CHANGES ${WRKSRC}/COPYRIGHT ${WRKSRC}/FAQ \ ${WRKSRC}/README ${DOCSDIR}/ .endif @${CAT} ${PKGMESSAGE} .include