Date: Sun, 7 Feb 2016 11:44:24 +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: r408377 - head/irc/pisg Message-ID: <201602071144.u17BiO0h041927@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: amdmi3 Date: Sun Feb 7 11:44:24 2016 New Revision: 408377 URL: https://svnweb.freebsd.org/changeset/ports/408377 Log: - Add LICENSE - Add NO_ARCH - Switch to options helpers - Cosmetic fixes Modified: head/irc/pisg/Makefile Modified: head/irc/pisg/Makefile ============================================================================== --- head/irc/pisg/Makefile Sun Feb 7 11:43:37 2016 (r408376) +++ head/irc/pisg/Makefile Sun Feb 7 11:44:24 2016 (r408377) @@ -10,20 +10,17 @@ MASTER_SITES= SF MAINTAINER= ports@FreeBSD.org COMMENT= Perl IRC Statistics Generator +LICENSE= GPLv2+ +LICENSE_FILE= ${WRKSRC}/COPYING + USES= perl5 shebangfix SHEBANG_FILES= pisg -NO_BUILD= YES +NO_BUILD= yes +NO_ARCH= yes OPTIONS_DEFINE= LOGCHARSET DOCS LOGCHARSET_DESC= Character set for logfiles - -.include <bsd.port.options.mk> - -.if ${PORT_OPTIONS:MLOGCHARSET} -RUN_DEPENDS+= p5-Text-Iconv>=0:${PORTSDIR}/converters/p5-Text-Iconv -.endif - -do-build: +LOGCHARSET_RUN_DEPENDS= p5-Text-Iconv>=0:${PORTSDIR}/converters/p5-Text-Iconv pre-patch: @${REINPLACE_CMD} -e 's|lang.txt|${PREFIX}/share/pisg/lang.txt|; \ @@ -31,10 +28,10 @@ pre-patch: ${WRKSRC}/modules/Pisg.pm do-install: - ${MKDIR} ${STAGEDIR}${PREFIX}/etc/pisg - ${MKDIR} ${STAGEDIR}${DATADIR}/layout - ${MKDIR} ${STAGEDIR}${DATADIR}/gfx - ${MKDIR} ${STAGEDIR}${PREFIX}/${SITE_PERL_REL}/Pisg/Parser/Format + @${MKDIR} ${STAGEDIR}${PREFIX}/etc/pisg + @${MKDIR} ${STAGEDIR}${DATADIR}/layout + @${MKDIR} ${STAGEDIR}${DATADIR}/gfx + @${MKDIR} ${STAGEDIR}${PREFIX}/${SITE_PERL_REL}/Pisg/Parser/Format ${INSTALL_DATA} ${WRKSRC}/pisg.cfg ${STAGEDIR}${PREFIX}/etc/pisg/pisg.cfg.sample ${INSTALL_DATA} ${WRKSRC}/gfx/* ${STAGEDIR}${DATADIR}/gfx ${INSTALL_DATA} ${WRKSRC}/layout/* ${STAGEDIR}${DATADIR}/layout @@ -44,8 +41,9 @@ do-install: ${INSTALL_DATA} ${WRKSRC}/modules/Pisg/Parser/*.pm ${STAGEDIR}${PREFIX}/${SITE_PERL_REL}/Pisg/Parser ${INSTALL_DATA} ${WRKSRC}/modules/Pisg/Parser/Format/*.pm ${STAGEDIR}${PREFIX}/${SITE_PERL_REL}/Pisg/Parser/Format ${INSTALL_SCRIPT} ${WRKSRC}/pisg ${STAGEDIR}${PREFIX}/bin - ${MKDIR} ${STAGEDIR}${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/docs/pisg-doc.txt ${STAGEDIR}${DOCSDIR}/pisg-doc.txt +do-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/docs/pisg-doc.txt ${STAGEDIR}${DOCSDIR}/pisg-doc.txt .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201602071144.u17BiO0h041927>