aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorehaupt <ehaupt@FreeBSD.org>2014-02-27 17:49:51 +0800
committerehaupt <ehaupt@FreeBSD.org>2014-02-27 17:49:51 +0800
commitf787a299376330d88685e93e0f4d25455f86cc1e (patch)
treeff34aea709d36675eb7bd163b5c88925c9640fb6
parente080a97006bf34fa7d3791ce302466725510246b (diff)
downloadfreebsd-ports-gnome-f787a299376330d88685e93e0f4d25455f86cc1e.tar.gz
freebsd-ports-gnome-f787a299376330d88685e93e0f4d25455f86cc1e.tar.zst
freebsd-ports-gnome-f787a299376330d88685e93e0f4d25455f86cc1e.zip
- Support staging
- Use shebangfix - Use WWW: with a single space
-rw-r--r--sysutils/snap/Makefile15
-rw-r--r--sysutils/snap/pkg-descr2
2 files changed, 7 insertions, 10 deletions
diff --git a/sysutils/snap/Makefile b/sysutils/snap/Makefile
index a82764be0fb0..a2a1969ae270 100644
--- a/sysutils/snap/Makefile
+++ b/sysutils/snap/Makefile
@@ -11,18 +11,15 @@ MAINTAINER= wchunhao@cs.nctu.edu.tw
COMMENT= Tools for periodic and manual management of UFS2 snapshots
NO_BUILD= yes
-USES= perl5
+USES= perl5 shebangfix
USE_PERL5= run
-MAN8= snap.8
+PLIST_FILES= sbin/snap etc/snap.conf man/man8/snap.8.gz
+SHEBANG_FILES= snap
-PLIST_FILES= sbin/snap \
- etc/snap.conf
-
-NO_STAGE= yes
do-install:
- ${INSTALL_SCRIPT} ${WRKSRC}/snap ${PREFIX}/sbin/
- ${INSTALL_MAN} ${WRKSRC}/snap.8 ${PREFIX}/man/man8/
- ${INSTALL_DATA} ${WRKSRC}/snap.conf ${PREFIX}/etc/
+ ${INSTALL_SCRIPT} ${WRKSRC}/snap ${STAGEDIR}${PREFIX}/sbin
+ ${INSTALL_MAN} ${WRKSRC}/snap.8 ${STAGEDIR}${MANPREFIX}/man/man8
+ ${INSTALL_DATA} ${WRKSRC}/snap.conf ${STAGEDIR}${PREFIX}/etc
.include <bsd.port.mk>
diff --git a/sysutils/snap/pkg-descr b/sysutils/snap/pkg-descr
index 2b1cc2c2f7d6..1bc368580133 100644
--- a/sysutils/snap/pkg-descr
+++ b/sysutils/snap/pkg-descr
@@ -8,4 +8,4 @@ The major advantage over sysutils/freebsd-snapshot is that
it uses hardlink to save diskspace, mark each snapshot with
its creation time and calculates redundancy in a smart way.
-WWW: http://www.cs.nctu.edu.tw/~wchunhao/ports/snap/
+WWW: http://www.cs.nctu.edu.tw/~wchunhao/ports/snap/