aboutsummaryrefslogtreecommitdiff
path: root/dns/fastresolve
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2017-11-30 09:00:19 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2017-11-30 09:00:19 +0000
commit610847a26231ea3a32daaa9f8c3c4046dabaf213 (patch)
tree24cd06073a38b3140a517985f3e3bbdbb803634f /dns/fastresolve
parent702908633c406ccbd04484651e30fbb405f06e06 (diff)
downloadports-610847a26231ea3a32daaa9f8c3c4046dabaf213.tar.gz
ports-610847a26231ea3a32daaa9f8c3c4046dabaf213.zip
- Fix LICENSE
- Add LICENSE_FILE - Switch to USES=localbase - Switch to options helpers - Update WWW Approved by: portmgr blanket
Notes
Notes: svn path=/head/; revision=455182
Diffstat (limited to 'dns/fastresolve')
-rw-r--r--dns/fastresolve/Makefile11
-rw-r--r--dns/fastresolve/pkg-descr2
2 files changed, 7 insertions, 6 deletions
diff --git a/dns/fastresolve/Makefile b/dns/fastresolve/Makefile
index ee6b3cd77810..71b2b9c929cd 100644
--- a/dns/fastresolve/Makefile
+++ b/dns/fastresolve/Makefile
@@ -10,18 +10,19 @@ MASTER_SITES= http://BSDforge.com/projects/source/dns/fastresolve/
MAINTAINER= portmaster@BSDforge.com
COMMENT= Programs to get DNS and domain ownership information from web logs
-LICENSE= GPLv2
+LICENSE= GPLv2+
+LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libadns.so:dns/adns
RUN_DEPENDS= p5-BerkeleyDB>=0:databases/p5-BerkeleyDB
-USES= bdb perl5 tar:bzip2
+USES= bdb localbase:ldflags perl5 tar:bzip2
GNU_CONFIGURE= yes
CONFIGURE_ENV= PERL=${PERL} \
djm_cv_lib_db_Dbopen=yes
-LDFLAGS+= -L${LOCALBASE}/lib -L${BDB_LIB_DIR}
-CXXFLAGS+= -I${LOCALBASE}/include -I${BDB_INCLUDE_DIR}
+LDFLAGS+= -L${BDB_LIB_DIR}
+CXXFLAGS+= -I${BDB_INCLUDE_DIR}
OPTIONS_DEFINE= DOCS
@@ -29,7 +30,7 @@ post-patch:
@${REINPLACE_CMD} -e 's/-ldb"/-l${BDB_LIB_CXX_NAME}"/' \
${WRKSRC}/configure
-post-install:
+post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for f in AUTHORS COPYING ChangeLog INSTALL NEWS README
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
diff --git a/dns/fastresolve/pkg-descr b/dns/fastresolve/pkg-descr
index 20bad84834ae..c338e6f34911 100644
--- a/dns/fastresolve/pkg-descr
+++ b/dns/fastresolve/pkg-descr
@@ -7,4 +7,4 @@ and about 50 times as fast as logresolve.c from that distribution. It is
library, and about 3 times as fast as jdresolve, which is a Perl program
that uses similar algorithms.
-WWW: http://BSDforge.com/projects/dns/fastresolve/
+WWW: https://BSDforge.com/projects/dns/fastresolve/