Date: Thu, 26 Sep 2013 06:35:39 +0000 (UTC) From: Jason Helfman <jgh@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r328336 - head/deskutils/dailystrips Message-ID: <201309260635.r8Q6ZdU6000464@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jgh Date: Thu Sep 26 06:35:39 2013 New Revision: 328336 URL: http://svnweb.freebsd.org/changeset/ports/328336 Log: - support staging - adopt USES=shebangfix Added: head/deskutils/dailystrips/pkg-plist (contents, props changed) Modified: head/deskutils/dailystrips/Makefile Modified: head/deskutils/dailystrips/Makefile ============================================================================== --- head/deskutils/dailystrips/Makefile Thu Sep 26 06:14:28 2013 (r328335) +++ head/deskutils/dailystrips/Makefile Thu Sep 26 06:35:39 2013 (r328336) @@ -17,37 +17,29 @@ RUN_DEPENDS= p5-libwww>=0:${PORTSDIR}/ww p5-TimeDate>=0:${PORTSDIR}/devel/p5-TimeDate NO_BUILD= yes -USES= perl5 - -PORTDOCS= * -PLIST_FILES= bin/dailystrips \ - bin/dailystrips-clean \ - bin/dailystrips-update \ - share/dailystrips/strips.def -PLIST_DIRS= share/dailystrips +USES= perl5 shebangfix +SHEBANG_FILES= ${WRKSRC}/dailystrips* PORTSCOUT= limit:^1\.0\. -NO_STAGE= yes post-patch: - @${REINPLACE_CMD} 's|^#!/usr/bin/perl|#!${PERL}|; \ - s!/usr/share/dailystrips/strips.def!${DATADIR}/strips.def!' \ + @${REINPLACE_CMD} ' s!/usr/share/dailystrips/strips.def!${DATADIR}/strips.def!' \ ${WRKSRC}/dailystrips ${WRKSRC}/dailystrips-clean \ ${WRKSRC}/dailystrips-update .include <bsd.port.options.mk> do-install: - ${INSTALL_SCRIPT} ${WRKSRC}/dailystrips ${PREFIX}/bin - ${INSTALL_SCRIPT} ${WRKSRC}/dailystrips-clean ${PREFIX}/bin - ${INSTALL_SCRIPT} ${WRKSRC}/dailystrips-update ${PREFIX}/bin - @${MKDIR} ${DATADIR} - ${INSTALL_SCRIPT} ${WRKSRC}/strips.def ${DATADIR} + ${INSTALL_SCRIPT} ${WRKSRC}/dailystrips ${STAGEDIR}${PREFIX}/bin + ${INSTALL_SCRIPT} ${WRKSRC}/dailystrips-clean ${STAGEDIR}${PREFIX}/bin + ${INSTALL_SCRIPT} ${WRKSRC}/dailystrips-update ${STAGEDIR}${PREFIX}/bin + @${MKDIR} ${STAGEDIR}${DATADIR} + ${INSTALL_SCRIPT} ${WRKSRC}/strips.def ${STAGEDIR}${DATADIR} .if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${DOCSDIR} + @${MKDIR} ${STAGEDIR}${DOCSDIR} .for file in README README.DEFS README.LOCAL README.dailystrips-clean \ README.dailystrips-update - ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR} .endfor .endif Added: head/deskutils/dailystrips/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/deskutils/dailystrips/pkg-plist Thu Sep 26 06:35:39 2013 (r328336) @@ -0,0 +1,11 @@ +bin/dailystrips +bin/dailystrips-clean +bin/dailystrips-update +%%DATADIR%%/strips.def +%%PORTDOCS%%%%DOCSDIR%%/README +%%PORTDOCS%%%%DOCSDIR%%/README.DEFS +%%PORTDOCS%%%%DOCSDIR%%/README.LOCAL +%%PORTDOCS%%%%DOCSDIR%%/README.dailystrips-clean +%%PORTDOCS%%%%DOCSDIR%%/README.dailystrips-update +%%PORTDOCS%%@dirrmtry %%DOCSDIR%% +@dirrmtry %%DATADIR%%
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201309260635.r8Q6ZdU6000464>