Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Feb 2016 16:40:00 +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: r408056 - head/net/rwhoisd
Message-ID:  <201602041640.u14Ge0K8041273@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



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