diff options
author | Emanuel Haupt <ehaupt@FreeBSD.org> | 2014-02-27 14:59:46 +0000 |
---|---|---|
committer | Emanuel Haupt <ehaupt@FreeBSD.org> | 2014-02-27 14:59:46 +0000 |
commit | 71cd9992cb233fe883d4f701c9bffe104af1ebde (patch) | |
tree | 3c06a6960940878a32438531929073f2ccaa0495 /irc/fisg | |
parent | fccd0ba782b652d93b398d75f7c4c0f0b6c35092 (diff) | |
download | ports-71cd9992cb233fe883d4f701c9bffe104af1ebde.tar.gz ports-71cd9992cb233fe883d4f701c9bffe104af1ebde.zip |
Notes
Diffstat (limited to 'irc/fisg')
-rw-r--r-- | irc/fisg/Makefile | 32 | ||||
-rw-r--r-- | irc/fisg/pkg-plist | 1 |
2 files changed, 16 insertions, 17 deletions
diff --git a/irc/fisg/Makefile b/irc/fisg/Makefile index 453602401cf4..842a882ab891 100644 --- a/irc/fisg/Makefile +++ b/irc/fisg/Makefile @@ -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> diff --git a/irc/fisg/pkg-plist b/irc/fisg/pkg-plist index 61d94ed26e47..beccdf785d1b 100644 --- a/irc/fisg/pkg-plist +++ b/irc/fisg/pkg-plist @@ -1,4 +1,5 @@ bin/fisg +man/man1/fisg.1.gz %%EXAMPLESDIR%%/example.cfg %%EXAMPLESDIR%%/users.cfg %%DATADIR%%/blue-h.png |