Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Jun 2015 09:05:50 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r388502 - head/net/rwhoisd
Message-ID:  <201506040905.t5495oq5040674@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Thu Jun  4 09:05:50 2015
New Revision: 388502
URL: https://svnweb.freebsd.org/changeset/ports/388502

Log:
  - Use GNU_CONFIGURE as GNU configure is used
  - Strip binaries

Modified:
  head/net/rwhoisd/Makefile

Modified: head/net/rwhoisd/Makefile
==============================================================================
--- head/net/rwhoisd/Makefile	Thu Jun  4 09:05:17 2015	(r388501)
+++ head/net/rwhoisd/Makefile	Thu Jun  4 09:05:50 2015	(r388502)
@@ -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 ser
 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_are
 		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}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201506040905.t5495oq5040674>