aboutsummaryrefslogtreecommitdiff
path: root/net/rwhoisd
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2015-06-04 09:05:50 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2015-06-04 09:05:50 +0000
commit69522f648a61878806895842d2576e693018b72e (patch)
treee15a07af663ee08f946cd2621065c2f371ba97d8 /net/rwhoisd
parent84a60d04462c555b906d1c92ae935798e5f6ae18 (diff)
downloadports-69522f648a61878806895842d2576e693018b72e.tar.gz
ports-69522f648a61878806895842d2576e693018b72e.zip
Notes
Diffstat (limited to 'net/rwhoisd')
-rw-r--r--net/rwhoisd/Makefile17
1 files changed, 9 insertions, 8 deletions
diff --git a/net/rwhoisd/Makefile b/net/rwhoisd/Makefile
index 719d20c6ecc5..ad53cee1c867 100644
--- a/net/rwhoisd/Makefile
+++ b/net/rwhoisd/Makefile
@@ -3,7 +3,7 @@
PORTNAME= rwhoisd
PORTVERSION= 1.5.9.6
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= net ipv6
MASTER_SITES= http://projects.arin.net/rwhois/ftp/ \
http://www.rwhois.net/ftp/ \
@@ -15,13 +15,7 @@ COMMENT= The Internic referral whois server
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/LICENSE
-OPTIONS_DEFINE= IPV6 LARGEFILE DOCS
-OPTIONS_DEFAULT= IPV6
-IPV6_DESC= Enable IPV6 support
-LARGEFILE_DESC= Enable largefile support (> 2Gb)
-
-HAS_CONFIGURE= yes
-CONFIGURE_ARGS= --prefix=${PREFIX}
+GNU_CONFIGURE= yes
MAKE_JOBS_UNSAFE=yes
USE_RC_SUBR= rwhoisd
@@ -36,6 +30,11 @@ ETCFILES= rwhoisd.allow rwhoisd.auth_area rwhoisd.conf rwhoisd.deny \
rwhoisd.dir rwhoisd.root rwhoisd.x.dir
PLIST_SUB+= ETCFILES="${ETCFILES}"
+OPTIONS_DEFINE= IPV6 LARGEFILE DOCS
+OPTIONS_DEFAULT= IPV6
+IPV6_DESC= Enable IPV6 support
+LARGEFILE_DESC= Enable largefile support (> 2Gb)
+
.include <bsd.port.options.mk>
.if empty(PORT_OPTIONS:MIPV6)
@@ -54,6 +53,8 @@ post-patch:
${WRKSRC}/common/conf.h
post-install:
+ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/*
+ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/sbin/*
${INSTALL_MAN} ${WRKSRC}/doc/rwhois_indexer.8 ${STAGEDIR}${PREFIX}/man/man8
${INSTALL_MAN} ${WRKSRC}/doc/rwhoisd.8 ${STAGEDIR}${PREFIX}/man/man8
${MKDIR} ${STAGEDIR}${DOCSDIR}