diff options
author | antoine <antoine@FreeBSD.org> | 2014-02-02 01:17:52 +0800 |
---|---|---|
committer | antoine <antoine@FreeBSD.org> | 2014-02-02 01:17:52 +0800 |
commit | a26b7af46648d45a35297fccaa1ce6f6957fcebd (patch) | |
tree | 63ae7f27906eef4db6a444f8fc1910bb4a572032 | |
parent | d36d83ca450cccd395b1ff8031ee3280ddb13b8a (diff) | |
download | freebsd-ports-gnome-a26b7af46648d45a35297fccaa1ce6f6957fcebd.tar.gz freebsd-ports-gnome-a26b7af46648d45a35297fccaa1ce6f6957fcebd.tar.zst freebsd-ports-gnome-a26b7af46648d45a35297fccaa1ce6f6957fcebd.zip |
Stage support
-rw-r--r-- | sysutils/zfs-snapshot-mgmt/Makefile | 14 | ||||
-rw-r--r-- | sysutils/zfs-snapshot-mgmt/pkg-plist | 1 |
2 files changed, 4 insertions, 11 deletions
diff --git a/sysutils/zfs-snapshot-mgmt/Makefile b/sysutils/zfs-snapshot-mgmt/Makefile index 05ef83e069d6..91f7d6525f09 100644 --- a/sysutils/zfs-snapshot-mgmt/Makefile +++ b/sysutils/zfs-snapshot-mgmt/Makefile @@ -15,7 +15,6 @@ RUBY_NO_BUILD_DEPENDS= yes RUBY_SHEBANG_FILES= zfs-snapshot-mgmt NO_BUILD= yes -MAN8= zfs-snapshot-mgmt.8 SUB_FILES= pkg-message @@ -23,16 +22,9 @@ post-patch: .SILENT ${FIND} ${WRKSRC} -type f -exec ${REINPLACE_CMD} \ -e 's|/usr/local|${PREFIX}|g' {} + -NO_STAGE= yes do-install: - @${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin - @${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.8 ${MANPREFIX}/man/man8 - @${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.conf.sample ${PREFIX}/etc - -post-install: - @if [ ! -f ${PREFIX}/etc/${PORTNAME}.conf ]; then \ - ${CP} -p ${PREFIX}/etc/${PORTNAME}.conf.sample ${PREFIX}/etc/${PORTNAME}.conf ; \ - fi - @${CAT} ${PKGMESSAGE} + ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.8 ${STAGEDIR}${MANPREFIX}/man/man8 + ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.conf.sample ${STAGEDIR}${PREFIX}/etc .include <bsd.port.mk> diff --git a/sysutils/zfs-snapshot-mgmt/pkg-plist b/sysutils/zfs-snapshot-mgmt/pkg-plist index 1e1c9e384a27..82a8aa3c7bf3 100644 --- a/sysutils/zfs-snapshot-mgmt/pkg-plist +++ b/sysutils/zfs-snapshot-mgmt/pkg-plist @@ -2,3 +2,4 @@ bin/zfs-snapshot-mgmt @unexec if cmp -s %D/etc/zfs-snapshot-mgmt.conf.sample %D/etc/zfs-snapshot-mgmt.conf; then rm -f %D/etc/zfs-snapshot-mgmt.conf; fi etc/zfs-snapshot-mgmt.conf.sample @exec if [ ! -f %D/etc/zfs-snapshot-mgmt.conf ] ; then cp -p %D/%F %B/zfs-snapshot-mgmt.conf; fi +man/man8/zfs-snapshot-mgmt.8.gz |