Date: Thu, 27 Feb 2014 14:59:46 +0000 (UTC) From: Emanuel Haupt <ehaupt@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r346359 - head/irc/fisg Message-ID: <201402271459.s1RExkK4006702@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ehaupt Date: Thu Feb 27 14:59:46 2014 New Revision: 346359 URL: http://svnweb.freebsd.org/changeset/ports/346359 QAT: https://qat.redports.org/buildarchive/r346359/ Log: Support staging Modified: head/irc/fisg/Makefile head/irc/fisg/pkg-plist Modified: head/irc/fisg/Makefile ============================================================================== --- head/irc/fisg/Makefile Thu Feb 27 14:54:25 2014 (r346358) +++ head/irc/fisg/Makefile Thu Feb 27 14:59:46 2014 (r346359) @@ -9,30 +9,28 @@ MASTER_SITES= http://www.tnsp.org/files/ MAINTAINER= psh@iki.fi COMMENT= Fast IRC statistics generator -USE_GMAKE= yes +USES= gmake + BUILD_WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/src PORTDOCS= README FAQ -MAN1= fisg.1 -NO_STAGE= yes +OPTIONS_DEFINE= DOCS EXAMPLES + post-patch: @${REINPLACE_CMD} -e 's|^PREFIX|PREFIX?|' \ - -e 's|^CC|CC?|' -e 's|^CFLAGS|CFLAGS?|' ${WRKSRC}/src/Makefile + -e 's|^CC|CC?|' -e 's|^CFLAGS|CFLAGS?|' ${WRKSRC}/src/Makefile do-install: - ${MKDIR} ${DATADIR} - ${CP} -Rp ${WRKSRC}/data/*.png ${DATADIR}/ - ${CP} -Rp ${WRKSRC}/data/*.css ${DATADIR}/ - ${CP} -Rp ${WRKSRC}/data/*.gif ${DATADIR}/ - @${MKDIR} ${EXAMPLESDIR} - ${INSTALL_DATA} ${WRKSRC}/example.cfg ${EXAMPLESDIR}/ - ${INSTALL_DATA} ${WRKSRC}/users.cfg ${EXAMPLESDIR}/ - ${INSTALL_PROGRAM} ${WRKSRC}/src/fisg ${PREFIX}/bin - ${INSTALL_MAN} ${WRKSRC}/src/fisg.1 ${MANPREFIX}/man/man1/ -.if !defined(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} - cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR} -.endif + ${MKDIR} ${STAGEDIR}${DATADIR} + cd ${WRKSRC}/data/; ${INSTALL_DATA} *.css *.gif *.png \ + ${STAGEDIR}${DATADIR} + @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/example.cfg ${STAGEDIR}${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/users.cfg ${STAGEDIR}${EXAMPLESDIR} + ${INSTALL_PROGRAM} ${WRKSRC}/src/fisg ${STAGEDIR}${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/src/fisg.1 ${STAGEDIR}${MANPREFIX}/man/man1 + @${MKDIR} ${STAGEDIR}${DOCSDIR} + cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR} .include <bsd.port.mk> Modified: head/irc/fisg/pkg-plist ============================================================================== --- head/irc/fisg/pkg-plist Thu Feb 27 14:54:25 2014 (r346358) +++ head/irc/fisg/pkg-plist Thu Feb 27 14:59:46 2014 (r346359) @@ -1,4 +1,5 @@ bin/fisg +man/man1/fisg.1.gz %%EXAMPLESDIR%%/example.cfg %%EXAMPLESDIR%%/users.cfg %%DATADIR%%/blue-h.png
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402271459.s1RExkK4006702>