aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpawel <pawel@FreeBSD.org>2014-07-13 01:43:41 +0800
committerpawel <pawel@FreeBSD.org>2014-07-13 01:43:41 +0800
commitc51ef57e23e26187f440a76d9947cff7ab5f2bdf (patch)
treee6f3ab07d110fc2f61f92201af5ec438838dc979
parent1b9941a87ee0e883698e99f7711693dd575b8a4f (diff)
downloadfreebsd-ports-gnome-c51ef57e23e26187f440a76d9947cff7ab5f2bdf.tar.gz
freebsd-ports-gnome-c51ef57e23e26187f440a76d9947cff7ab5f2bdf.tar.zst
freebsd-ports-gnome-c51ef57e23e26187f440a76d9947cff7ab5f2bdf.zip
Add staging support
-rw-r--r--sysutils/daedalus/Makefile17
1 files changed, 8 insertions, 9 deletions
diff --git a/sysutils/daedalus/Makefile b/sysutils/daedalus/Makefile
index 3272269b909f..a7b64ba107c5 100644
--- a/sysutils/daedalus/Makefile
+++ b/sysutils/daedalus/Makefile
@@ -20,18 +20,17 @@ USE_RC_SUBR= yes
SED_SCRIPT= -e 's,%%PREFIX%%,${PREFIX},g' \
-e 's,%%RUBY_WITHOUT_SUFFIX%%,${RUBY_WITHOUT_SUFFIX},g'
-NO_STAGE= yes
pre-install:
@${SED} ${SED_SCRIPT} ${FILESDIR}/${PORTNAME}.sh >${WRKDIR}/${PORTNAME}.sh
do-install:
- ${INSTALL_SCRIPT} ${WRKSRC}/daedalus.rb ${PREFIX}/bin/daedalus.rb
- ${MKDIR} ${PREFIX}/etc/daedalus
- ${INSTALL_DATA} ${WRKSRC}/examples/daedalus.xml ${PREFIX}/etc/daedalus/daedalus.xml.sample
- ${INSTALL_DATA} ${WRKSRC}/examples/templates.xml ${PREFIX}/etc/daedalus/templates.xml.sample
- ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}.sh ${PREFIX}/etc/rc.d/${PORTNAME}.sh
-
-post-install:
- @${CAT} ${PKGMESSAGE}
+ ${INSTALL_SCRIPT} ${WRKSRC}/daedalus.rb ${STAGEDIR}${PREFIX}/bin
+ @${MKDIR} ${STAGEDIR}${ETCDIR}
+ ${INSTALL_DATA} ${WRKSRC}/examples/daedalus.xml \
+ ${STAGEDIR}${ETCDIR}/daedalus.xml.sample
+ ${INSTALL_DATA} ${WRKSRC}/examples/templates.xml \
+ ${STAGEDIR}${ETCDIR}/templates.xml.sample
+ ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}.sh \
+ ${STAGEDIR}${PREFIX}/etc/rc.d/${PORTNAME}.sh
.include <bsd.port.mk>