Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Jul 2014 17:43:41 +0000 (UTC)
From:      Pawel Pekala <pawel@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r361629 - head/sysutils/daedalus
Message-ID:  <201407121743.s6CHhfX8024262@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pawel
Date: Sat Jul 12 17:43:41 2014
New Revision: 361629
URL: http://svnweb.freebsd.org/changeset/ports/361629
QAT: https://qat.redports.org/buildarchive/r361629/

Log:
  Add staging support

Modified:
  head/sysutils/daedalus/Makefile

Modified: head/sysutils/daedalus/Makefile
==============================================================================
--- head/sysutils/daedalus/Makefile	Sat Jul 12 17:41:31 2014	(r361628)
+++ head/sysutils/daedalus/Makefile	Sat Jul 12 17:43:41 2014	(r361629)
@@ -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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201407121743.s6CHhfX8024262>