svn commit: r408056 - head/net/rwhoisd

Dmitry Marakasov amdmi3 at FreeBSD.org
Thu Feb 4 16:40:01 UTC 2016


Author: amdmi3
Date: Thu Feb  4 16:39:59 2016
New Revision: 408056
URL: https://svnweb.freebsd.org/changeset/ports/408056

Log:
  - Switch to options helpers
  - Silence stripping
  - Remove LARGEFILES option - it does nothing on FreeBSD and is not in fact needed

Modified:
  head/net/rwhoisd/Makefile

Modified: head/net/rwhoisd/Makefile
==============================================================================
--- head/net/rwhoisd/Makefile	Thu Feb  4 16:39:57 2016	(r408055)
+++ head/net/rwhoisd/Makefile	Thu Feb  4 16:39:59 2016	(r408056)
@@ -30,20 +30,10 @@ 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
+OPTIONS_DEFINE=	IPV6 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)
-CONFIGURE_ARGS+=	--disable-ipv6
-.endif
-
-.if ${PORT_OPTIONS:MLARGEFILE}
-CONFIGURE_ARGS+=	--enable-largefile
-.endif
+IPV6_CONFIGURE_OFF=	--disable-ipv6
 
 post-patch:
 	@${REINPLACE_CMD} -e 's,userid: rwhoisd,userid: nobody,' \
@@ -53,13 +43,15 @@ post-patch:
 		${WRKSRC}/common/conf.h
 
 post-install:
-	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/*
-	${STRIP_CMD} ${STAGEDIR}${PREFIX}/sbin/*
+	@${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}
-. for f in ${PORTDOCS}
+
+post-install-DOCS-on:
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+.for f in ${PORTDOCS}
 	${INSTALL_DATA} ${WRKSRC}/doc/${f} ${STAGEDIR}${DOCSDIR}
-. endfor
+.endfor
 
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list