aboutsummaryrefslogtreecommitdiff
path: root/dns/fastresolve
diff options
context:
space:
mode:
authorIon-Mihai Tetcu <itetcu@FreeBSD.org>2006-06-17 10:20:04 +0000
committerIon-Mihai Tetcu <itetcu@FreeBSD.org>2006-06-17 10:20:04 +0000
commitf7a1262eb5e02f7f56898b98a0e028bd76146a6e (patch)
tree69155a02acec1dbe0105a032e0c3ad9482a0a6d9 /dns/fastresolve
parent40769eaef7e4ed473093bf271e2ced22cde7bec9 (diff)
downloadports-f7a1262eb5e02f7f56898b98a0e028bd76146a6e.tar.gz
ports-f7a1262eb5e02f7f56898b98a0e028bd76146a6e.zip
Notes
Diffstat (limited to 'dns/fastresolve')
-rw-r--r--dns/fastresolve/Makefile25
-rw-r--r--dns/fastresolve/pkg-plist6
2 files changed, 6 insertions, 25 deletions
diff --git a/dns/fastresolve/Makefile b/dns/fastresolve/Makefile
index 18992e72bf99..1b4f4cb0c2de 100644
--- a/dns/fastresolve/Makefile
+++ b/dns/fastresolve/Makefile
@@ -7,7 +7,7 @@
PORTNAME= fastresolve
PORTVERSION= 2.10
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= dns
MASTER_SITES= http://www.djmnet.org/sw/dist/
@@ -25,27 +25,8 @@ CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib" \
PERL=${PERL}
USE_AUTOTOOLS= automake:14 autoconf:213
-# Default to db3
-WITH_BDB_VER?= 3
-
-.if ${WITH_BDB_VER} == 3
-LIB_DEPENDS+= db3.3:${PORTSDIR}/databases/db3
-CONFIGURE_ARGS= --with-bdb-lib=-ldb3_cxx --with-bdb-incdir=${LOCALBASE}/include/db3
-.elif ${WITH_BDB_VER} == 4
-LIB_DEPENDS+= db4.0:${PORTSDIR}/databases/db4
-CONFIGURE_ARGS= --with-bdb-lib=-ldb4_cxx --with-bdb-incdir=${LOCALBASE}/include/db4
-.elif ${WITH_BDB_VER} == 41
-LIB_DEPENDS+= db41.1:${PORTSDIR}/databases/db41
-CONFIGURE_ARGS= --with-bdb-lib=-ldb41_cxx --with-bdb-incdir=${LOCALBASE}/include/db41
-.elif ${WITH_BDB_VER} == 42
-LIB_DEPENDS+= db-4.2:${PORTSDIR}/databases/db42
-CONFIGURE_ARGS= --with-bdb-lib=-ldb_cxx-4.2 --with-bdb-incdir=${LOCALBASE}/include/db42
-.elif ${WITH_BDB_VER} == 43
-LIB_DEPENDS+= db-4.3:${PORTSDIR}/databases/db43
-CONFIGURE_ARGS= --with-bdb-lib=-ldb_cxx-4.3 --with-bdb-incdir=${LOCALBASE}/include/db43
-.else
-IGNORE= cannot install: WITH_BDB_VER must be one of 3, 4, 41, 42 or 43
-.endif
+USE_BDB= yes
+CONFIGURE_ARGS= --with-bdb-lib=-l${BDB_LIB_CXX_NAME} --with-bdb-incdir=${BDB_INCLUDE_DIR}
MAN1= dns-terror.1 btree-dump.1 convert-dom-db.1 convert-ip-db.1 \
expire-ip-db.1 getdominfo.1 rebuild-dom-db.1 rebuild-ip-db.1 \
diff --git a/dns/fastresolve/pkg-plist b/dns/fastresolve/pkg-plist
index 3bcb6f11a052..8d6f3ad22685 100644
--- a/dns/fastresolve/pkg-plist
+++ b/dns/fastresolve/pkg-plist
@@ -8,8 +8,8 @@ bin/rebuild-dom-db
bin/rebuild-ip-db
bin/reresolve
bin/make-report
-share/fastresolve/AddrCycle.pm
-share/fastresolve/analog.cfg
+%%DATADIR%%/AddrCycle.pm
+%%DATADIR%%/analog.cfg
%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
%%PORTDOCS%%%%DOCSDIR%%/COPYING
%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
@@ -19,4 +19,4 @@ share/fastresolve/analog.cfg
%%PORTDOCS%%%%DOCSDIR%%/TODO
%%PORTDOCS%%%%DOCSDIR%%/timings
%%PORTDOCS%%@dirrm %%DOCSDIR%%
-@dirrm share/fastresolve
+@dirrm %%DATADIR%%