Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Feb 2014 09:49:52 +0000 (UTC)
From:      Emanuel Haupt <ehaupt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r346311 - head/sysutils/snap
Message-ID:  <201402270949.s1R9nqap066976@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402270949.s1R9nqap066976>