Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Jan 2014 02:53:37 +0000 (UTC)
From:      Colin Percival <cperciva@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r339197 - head/sysutils/tarsnap
Message-ID:  <201401090253.s092rbee000655@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: cperciva
Date: Thu Jan  9 02:53:37 2014
New Revision: 339197
URL: http://svnweb.freebsd.org/changeset/ports/339197

Log:
  STAGEify.
  
  Submitted by:	jgh

Modified:
  head/sysutils/tarsnap/Makefile
  head/sysutils/tarsnap/pkg-plist

Modified: head/sysutils/tarsnap/Makefile
==============================================================================
--- head/sysutils/tarsnap/Makefile	Thu Jan  9 01:57:20 2014	(r339196)
+++ head/sysutils/tarsnap/Makefile	Thu Jan  9 02:53:37 2014	(r339197)
@@ -3,7 +3,7 @@
 
 PORTNAME=	tarsnap
 PORTVERSION=	1.0.35
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	sysutils
 MASTER_SITES=	http://www.tarsnap.com/download-http/
 DISTNAME=	${PORTNAME}-autoconf-${PORTVERSION}
@@ -15,18 +15,12 @@ COMMENT=	Online encrypted backup service
 GNU_CONFIGURE=	yes
 USES=		gmake
 
-MAN1=		tarsnap.1 tarsnap-keygen.1 tarsnap-keymgmt.1	\
-		tarsnap-keyregen.1 tarsnap-recrypt.1
-MAN5=		tarsnap.conf.5
-
 OPTIONS_DEFINE=	SSE2
 SSE2_DESC=	Use SSE2-optimized code
 
 SSE2_CONFIGURE_ENABLE=	sse2
 SSE2_CFLAGS=	-msse2
 
-NO_STAGE=	yes
-
 .include <bsd.port.pre.mk>
 
 # safety check to ensure that we don't violate the license
@@ -34,10 +28,4 @@ NO_STAGE=	yes
 RESTRICTED=     license only allows redistribution and use of unmodified source and binaries
 .endif
 
-post-install:
-	@if [ ! -f ${PREFIX}/etc/tarsnap.conf ]; then \
-	    ${CP} -p ${PREFIX}/etc/tarsnap.conf.sample ${PREFIX}/etc/tarsnap.conf ; \
-	fi
-	@${CAT} ${PKGDIR}/pkg-message
-
 .include <bsd.port.post.mk>

Modified: head/sysutils/tarsnap/pkg-plist
==============================================================================
--- head/sysutils/tarsnap/pkg-plist	Thu Jan  9 01:57:20 2014	(r339196)
+++ head/sysutils/tarsnap/pkg-plist	Thu Jan  9 02:53:37 2014	(r339197)
@@ -3,6 +3,12 @@ bin/tarsnap-keygen
 bin/tarsnap-keymgmt
 bin/tarsnap-keyregen
 bin/tarsnap-recrypt
+man/man1/tarsnap-keygen.1.gz
+man/man1/tarsnap-keymgmt.1.gz
+man/man1/tarsnap-keyregen.1.gz
+man/man1/tarsnap-recrypt.1.gz
+man/man1/tarsnap.1.gz
+man/man5/tarsnap.conf.5.gz
 @unexec if cmp -s %D/etc/tarsnap.conf.sample %D/etc/tarsnap.conf; then rm -f %D/etc/tarsnap.conf; fi
 etc/tarsnap.conf.sample
 @exec if [ ! -f %D/etc/tarsnap.conf ] ; then cp -p %D/%F %B/tarsnap.conf; fi



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