aboutsummaryrefslogtreecommitdiff
path: root/dns/posadis
diff options
context:
space:
mode:
authorSergey A. Osokin <osa@FreeBSD.org>2003-10-14 14:39:55 +0000
committerSergey A. Osokin <osa@FreeBSD.org>2003-10-14 14:39:55 +0000
commit942c5b1b4c7e0b88a06d90f31004aef45c53aca6 (patch)
tree5b6e33e4f1b5406fc5dafc32db9f597cd6d17230 /dns/posadis
parent31e009b857ba0bf382755ddf07dab993e0f0dff5 (diff)
downloadports-942c5b1b4c7e0b88a06d90f31004aef45c53aca6.tar.gz
ports-942c5b1b4c7e0b88a06d90f31004aef45c53aca6.zip
Notes
Diffstat (limited to 'dns/posadis')
-rw-r--r--dns/posadis/Makefile18
-rw-r--r--dns/posadis/pkg-plist17
2 files changed, 24 insertions, 11 deletions
diff --git a/dns/posadis/Makefile b/dns/posadis/Makefile
index be59e34ea694..252069223771 100644
--- a/dns/posadis/Makefile
+++ b/dns/posadis/Makefile
@@ -7,7 +7,7 @@
PORTNAME= posadis
PORTVERSION= 0.60.1
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= dns
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -15,15 +15,25 @@ MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= sergei@kolobov.com
COMMENT= "Domain Name Server (DNS) implementation"
-LIB_DEPENDS= poslib.0:${PORTSDIR}/devel/poslib
+LIB_DEPENDS= poslib.0:${PORTSDIR}/devel/poslib \
+ ltdl.4:${PORTSDIR}/devel/libltdl
+
+.if defined(WITH_FAM) || exists(${LOCALBASE}/lib/libfam.so)
+CONFIGURE_ARGS= --enable-fam
+BUILD_DEPENDS= ${LOCALBASE}/include/fam.h:${PORTSDIR}/devel/fam
+RUN_DEPENDS= ${LOCALBASE}/bin/fam:${PORTSDIR}/devel/fam
+PLIST_SUB= FAM=""
+.else
+CONFIGURE_ARGS= --disable-fam
+PLIST_SUB= FAM="@comment "
+.endif
USE_LIBTOOL= yes
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
-CONFIGURE_ARGS= --disable-ltdl-install
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib"
INSTALLS_SHLIB= yes
-PLIST_SUB= VERSION="${PORTVERSION}"
+PLIST_SUB+= VERSION="${PORTVERSION}"
MAN1= getzone.1 posadis.1 posadis-getroots.1 posask.1 poshost.1
MAN5= posadisrc.5
diff --git a/dns/posadis/pkg-plist b/dns/posadis/pkg-plist
index c9bce754e071..458ee4817caa 100644
--- a/dns/posadis/pkg-plist
+++ b/dns/posadis/pkg-plist
@@ -15,19 +15,22 @@ include/posadis-%%VERSION%%/pbl.h
include/posadis-%%VERSION%%/query.h
include/posadis-%%VERSION%%/recursive.h
include/posadis-%%VERSION%%/resolver.h
+include/posadis-%%VERSION%%/secondary.h
include/posadis-%%VERSION%%/stdquery.h
+include/posadis-%%VERSION%%/updates.h
include/posadis-%%VERSION%%/vector.h
include/posadis-%%VERSION%%/zones.h
include/posadis-%%VERSION%%/zonetransfer.h
-include/posadis-%%VERSION%%/secondary.h
-include/posadis-%%VERSION%%/updates.h
@dirrm include/posadis-%%VERSION%%
-lib/posadis/revmap.so.0
-lib/posadis/revmap.so
-lib/posadis/revmap.la
-lib/posadis/localhost.so.0
-lib/posadis/localhost.so
+%%FAM%%lib/posadis/fam.la
+%%FAM%%lib/posadis/fam.so
+%%FAM%%lib/posadis/fam.so.0
lib/posadis/localhost.la
+lib/posadis/localhost.so
+lib/posadis/localhost.so.0
+lib/posadis/revmap.la
+lib/posadis/revmap.so
+lib/posadis/revmap.so.0
@dirrm lib/posadis
lib/posadis-%%VERSION%%/include/posadis-config.h
@dirrm lib/posadis-%%VERSION%%/include