Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Dec 2013 18:36:50 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r337778 - head/sysutils/zfs-periodic
Message-ID:  <201312271836.rBRIaoHN063395@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Fri Dec 27 18:36:49 2013
New Revision: 337778
URL: http://svnweb.freebsd.org/changeset/ports/337778

Log:
  Support stage

Modified:
  head/sysutils/zfs-periodic/Makefile

Modified: head/sysutils/zfs-periodic/Makefile
==============================================================================
--- head/sysutils/zfs-periodic/Makefile	Fri Dec 27 18:34:49 2013	(r337777)
+++ head/sysutils/zfs-periodic/Makefile	Fri Dec 27 18:36:49 2013	(r337778)
@@ -27,7 +27,6 @@ PERIODIC_FILES=	etc/periodic/hourly/000.
 PLIST_FILES=	${PERIODIC_FILES} bin/zfs-snapshot
 PLIST_DIRSTRY=	${PERIODIC_DIRS}
 
-NO_STAGE=	yes
 post-patch:
 .for _file in ${PERIODIC_FILES}
 	@${REINPLACE_CMD} -e "s|/etc/periodic/zfs-snapshot|${PREFIX}/bin/zfs-snapshot|" \
@@ -35,17 +34,13 @@ post-patch:
 .endfor
 
 do-install:
-	@${INSTALL_SCRIPT} ${WRKSRC}/etc/periodic/zfs-snapshot ${PREFIX}/bin
-
+	${INSTALL_SCRIPT} ${WRKSRC}/etc/periodic/zfs-snapshot ${STAGEDIR}${PREFIX}/bin
 .for _dir in ${PERIODIC_DIRS}
-	@${MKDIR} ${PREFIX}/${_dir}
+	@${MKDIR} ${STAGEDIR}${PREFIX}/${_dir}
 .endfor
 
 .for _file in ${PERIODIC_FILES}
-	@${INSTALL_SCRIPT} ${WRKSRC}/${_file} ${PREFIX}/${_file}
+	${INSTALL_SCRIPT} ${WRKSRC}/${_file} ${STAGEDIR}${PREFIX}/${_file}
 .endfor
 
-post-install:
-	@${CAT} ${PKGMESSAGE}
-
 .include <bsd.port.mk>



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