aboutsummaryrefslogtreecommitdiffstats
path: root/dns
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2017-11-30 17:00:19 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2017-11-30 17:00:19 +0800
commit552569bfc7ac41497efec2dd1a8ed144ca3fecf2 (patch)
tree24cd06073a38b3140a517985f3e3bbdbb803634f /dns
parent3ba1c60f56a0c38515d2677cc84ce0019e0297b7 (diff)
downloadfreebsd-ports-gnome-552569bfc7ac41497efec2dd1a8ed144ca3fecf2.tar.gz
freebsd-ports-gnome-552569bfc7ac41497efec2dd1a8ed144ca3fecf2.tar.zst
freebsd-ports-gnome-552569bfc7ac41497efec2dd1a8ed144ca3fecf2.zip
- Fix LICENSE
- Add LICENSE_FILE - Switch to USES=localbase - Switch to options helpers - Update WWW Approved by: portmgr blanket
Diffstat (limited to 'dns')
-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/