Date: Fri, 31 Jan 2014 17:13:03 +0000 (UTC) From: Antoine Brodin <antoine@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r342045 - head/net/wol Message-ID: <201401311713.s0VHD3kN011553@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: antoine Date: Fri Jan 31 17:13:02 2014 New Revision: 342045 URL: http://svnweb.freebsd.org/changeset/ports/342045 QAT: https://qat.redports.org/buildarchive/r342045/ Log: - Stage support - Use OPTIONS helpers Modified: head/net/wol/Makefile head/net/wol/pkg-plist Modified: head/net/wol/Makefile ============================================================================== --- head/net/wol/Makefile Fri Jan 31 17:11:32 2014 (r342044) +++ head/net/wol/Makefile Fri Jan 31 17:13:02 2014 (r342045) @@ -11,29 +11,22 @@ MAINTAINER= ports@FreeBSD.org COMMENT= Tool to wake up Wake-On-LAN compliant computers USES= perl5 -GNU_CONFIGURE= yes +GNU_CONFIGURE= yes USE_PERL5= build -CPPFLAGS+= -I${LOCALBASE}/include -LDFLAGS+= -L${LOCALBASE}/lib +CPPFLAGS+= -I${LOCALBASE}/include +LDFLAGS+= -L${LOCALBASE}/lib -MAN1= wol.1 INFO= wol DOCS= AUTHORS NEWS README TODO -NO_STAGE= yes -.include <bsd.port.options.mk> -.if ${PORT_OPTIONS:MNLS} -USES+= gettext iconv -PLIST_SUB= NLS="" -.else -CONFIGURE_ARGS= --disable-nls -PLIST_SUB= NLS="@comment " -.endif +OPTIONS_DEFINE= DOCS NLS + +OPTIONS_SUB= yes +NLS_USES= gettext iconv +NLS_CONFIGURE_OFF= --disable-nls -.if ${PORT_OPTIONS:MDOCS} post-install: - @${MKDIR} ${DOCSDIR} - cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR} -.endif + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${DOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} .include <bsd.port.mk> Modified: head/net/wol/pkg-plist ============================================================================== --- head/net/wol/pkg-plist Fri Jan 31 17:11:32 2014 (r342044) +++ head/net/wol/pkg-plist Fri Jan 31 17:13:02 2014 (r342045) @@ -1,6 +1,7 @@ bin/wol bin/wol-bootptab bin/wol-dhcpdconf +man/man1/wol.1.gz %%PORTDOCS%%%%DOCSDIR%%/AUTHORS %%PORTDOCS%%%%DOCSDIR%%/NEWS %%PORTDOCS%%%%DOCSDIR%%/README
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401311713.s0VHD3kN011553>