aboutsummaryrefslogtreecommitdiff
path: root/sysutils/zfs-periodic
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2013-12-27 18:36:49 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2013-12-27 18:36:49 +0000
commit473fecdd628448bace80ab6dffaeb854699336ce (patch)
treea81abf60e59c35ba56531e9a4c20bfeda3425938 /sysutils/zfs-periodic
parentebde92907bae72fe6fbb7fca9c7dfc40757b5d3f (diff)
downloadports-473fecdd628448bace80ab6dffaeb854699336ce.tar.gz
ports-473fecdd628448bace80ab6dffaeb854699336ce.zip
Support stage
Notes
Notes: svn path=/head/; revision=337778
Diffstat (limited to 'sysutils/zfs-periodic')
-rw-r--r--sysutils/zfs-periodic/Makefile11
1 files changed, 3 insertions, 8 deletions
diff --git a/sysutils/zfs-periodic/Makefile b/sysutils/zfs-periodic/Makefile
index f70c2efe958d..18bf4f3e2deb 100644
--- a/sysutils/zfs-periodic/Makefile
+++ b/sysutils/zfs-periodic/Makefile
@@ -27,7 +27,6 @@ PERIODIC_FILES= etc/periodic/hourly/000.zfs-snapshot \
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>