diff options
author | miwi <miwi@FreeBSD.org> | 2014-02-06 00:59:37 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2014-02-06 00:59:37 +0800 |
commit | 22e25d80b787a6a1b6810d93f8bb4dbec88c43ae (patch) | |
tree | 1c1bd2f0e2cb8172764a4b4b582f5d3743b736d6 /irc/pisg | |
parent | 7bbc573297049761cacabc6d960badbd2e3611ad (diff) | |
download | freebsd-ports-gnome-22e25d80b787a6a1b6810d93f8bb4dbec88c43ae.tar.gz freebsd-ports-gnome-22e25d80b787a6a1b6810d93f8bb4dbec88c43ae.tar.zst freebsd-ports-gnome-22e25d80b787a6a1b6810d93f8bb4dbec88c43ae.zip |
- Stage support
Diffstat (limited to 'irc/pisg')
-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> |