aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2014-02-27 09:49:51 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2014-02-27 09:49:51 +0000
commit8a85f4a23109bd8a7b2ca8b47a17b853bc45598a (patch)
treeff34aea709d36675eb7bd163b5c88925c9640fb6
parent0e600434302ced047747fe318ca85f7022c5ceb8 (diff)
downloadports-8a85f4a23109bd8a7b2ca8b47a17b853bc45598a.tar.gz
ports-8a85f4a23109bd8a7b2ca8b47a17b853bc45598a.zip
Notes
-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/