diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2014-02-05 16:59:37 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2014-02-05 16:59:37 +0000 |
commit | df47eccab62fa37f35b0a70a8bd1c86f57e74c41 (patch) | |
tree | 1c1bd2f0e2cb8172764a4b4b582f5d3743b736d6 /irc | |
parent | 5098d56864ebc0b290376deae08277b364ba5868 (diff) | |
download | ports-df47eccab62fa37f35b0a70a8bd1c86f57e74c41.tar.gz ports-df47eccab62fa37f35b0a70a8bd1c86f57e74c41.zip |
- Stage support
Notes
Notes:
svn path=/head/; revision=342776
Diffstat (limited to 'irc')
-rw-r--r-- | irc/pisg/Makefile | 44 |
1 files changed, 15 insertions, 29 deletions
diff --git a/irc/pisg/Makefile b/irc/pisg/Makefile index 3ac596be8d2c..b1b447e472c0 100644 --- a/irc/pisg/Makefile +++ b/irc/pisg/Makefile @@ -15,7 +15,6 @@ NO_BUILD= YES OPTIONS_DEFINE= LOGCHARSET DOCS LOGCHARSET_DESC= Character set for logfiles -NO_STAGE= yes .include <bsd.port.options.mk> .if ${PORT_OPTIONS:MLOGCHARSET} @@ -31,34 +30,21 @@ pre-patch: @${REINPLACE_CMD} -e 's|/usr/bin/perl|${PERL}|' ${WRKSRC}/pisg do-install: - ${MKDIR} ${PREFIX}/etc/pisg - ${MKDIR} ${DATADIR}/layout - ${MKDIR} ${DATADIR}/gfx - ${MKDIR} ${SITE_PERL}/Pisg/Parser/Format - ${INSTALL_DATA} ${WRKSRC}/pisg.cfg ${PREFIX}/etc/pisg/pisg.cfg.sample - ${INSTALL_DATA} ${WRKSRC}/gfx/* ${DATADIR}/gfx - ${INSTALL_DATA} ${WRKSRC}/layout/* ${DATADIR}/layout - ${INSTALL_DATA} ${WRKSRC}/lang.txt ${DATADIR} - ${INSTALL_DATA} ${WRKSRC}/modules/Pisg.pm ${SITE_PERL} - ${INSTALL_DATA} ${WRKSRC}/modules/Pisg/*.pm ${SITE_PERL}/Pisg - ${INSTALL_DATA} ${WRKSRC}/modules/Pisg/Parser/*.pm ${SITE_PERL}/Pisg/Parser - ${INSTALL_DATA} ${WRKSRC}/modules/Pisg/Parser/Format/*.pm ${SITE_PERL}/Pisg/Parser/Format - ${INSTALL_SCRIPT} ${WRKSRC}/pisg ${PREFIX}/bin + ${MKDIR} ${STAGEDIR}${PREFIX}/etc/pisg + ${MKDIR} ${STAGEDIR}${DATADIR}/layout + ${MKDIR} ${STAGEDIR}${DATADIR}/gfx + ${MKDIR} ${STAGEDIR}${SITE_PERL}/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 + ${INSTALL_DATA} ${WRKSRC}/lang.txt ${STAGEDIR}${DATADIR} + ${INSTALL_DATA} ${WRKSRC}/modules/Pisg.pm ${STAGEDIR}${SITE_PERL} + ${INSTALL_DATA} ${WRKSRC}/modules/Pisg/*.pm ${STAGEDIR}${SITE_PERL}/Pisg + ${INSTALL_DATA} ${WRKSRC}/modules/Pisg/Parser/*.pm ${STAGEDIR}${SITE_PERL}/Pisg/Parser + ${INSTALL_DATA} ${WRKSRC}/modules/Pisg/Parser/Format/*.pm ${STAGEDIR}${SITE_PERL}/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 -.if ${PORT_OPTIONS:MDOCS} - ${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/docs/pisg-doc.txt ${DOCSDIR}/pisg-doc.txt -.endif - -post-install: -.if !defined(BATCH) - @${ECHO_MSG} "" - @${ECHO_MSG} "###############################################################################" - @${ECHO_MSG} " Please create a pisg config file in ${PREFIX}/etc/pisg" - @${ECHO_MSG} " A sample configuration file is installed as pisg.cfg.sample" - @${ECHO_MSG} " Remember to move gfx (${DATADIR}/gfx/) to HTML file destination." - @${ECHO_MSG} "###############################################################################" - @${ECHO_MSG} -.endif .include <bsd.port.mk> |