svn commit: r346311 - head/sysutils/snap

Emanuel Haupt ehaupt at FreeBSD.org
Thu Feb 27 09:49:52 UTC 2014


Author: ehaupt
Date: Thu Feb 27 09:49:51 2014
New Revision: 346311
URL: http://svnweb.freebsd.org/changeset/ports/346311
QAT: https://qat.redports.org/buildarchive/r346311/

Log:
  - Support staging
  - Use shebangfix
  - Use WWW: with a single space

Modified:
  head/sysutils/snap/Makefile
  head/sysutils/snap/pkg-descr

Modified: head/sysutils/snap/Makefile
==============================================================================
--- head/sysutils/snap/Makefile	Thu Feb 27 09:49:50 2014	(r346310)
+++ head/sysutils/snap/Makefile	Thu Feb 27 09:49:51 2014	(r346311)
@@ -11,18 +11,15 @@ MAINTAINER=	wchunhao at 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>

Modified: head/sysutils/snap/pkg-descr
==============================================================================
--- head/sysutils/snap/pkg-descr	Thu Feb 27 09:49:50 2014	(r346310)
+++ head/sysutils/snap/pkg-descr	Thu Feb 27 09:49:51 2014	(r346311)
@@ -8,4 +8,4 @@ The major advantage over sysutils/freebs
 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/


More information about the svn-ports-all mailing list