aboutsummaryrefslogtreecommitdiff
path: root/sysutils/tarsnap
diff options
context:
space:
mode:
authorBernhard Froehlich <decke@FreeBSD.org>2014-01-03 13:51:50 +0000
committerBernhard Froehlich <decke@FreeBSD.org>2014-01-03 13:51:50 +0000
commit45195584136ad49901eb66bfed78457f96cfc756 (patch)
tree17be549d2edf0034c0e12680ba61670aac1cc69b /sysutils/tarsnap
parentfe9f2237681171bc8d29f0b91f07b38a624677c9 (diff)
downloadports-45195584136ad49901eb66bfed78457f96cfc756.tar.gz
ports-45195584136ad49901eb66bfed78457f96cfc756.zip
Notes
Diffstat (limited to 'sysutils/tarsnap')
-rw-r--r--sysutils/tarsnap/Makefile13
1 files changed, 10 insertions, 3 deletions
diff --git a/sysutils/tarsnap/Makefile b/sysutils/tarsnap/Makefile
index 18c4eda19779..bfddec05fa4f 100644
--- a/sysutils/tarsnap/Makefile
+++ b/sysutils/tarsnap/Makefile
@@ -3,6 +3,7 @@
PORTNAME= tarsnap
PORTVERSION= 1.0.35
+PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= http://www.tarsnap.com/download-http/
DISTNAME= ${PORTNAME}-autoconf-${PORTVERSION}
@@ -11,8 +12,6 @@ EXTRACT_SUFX= .tgz
MAINTAINER= cperciva@tarsnap.com
COMMENT= Online encrypted backup service (client)
-RESTRICTED= license restricts redistribution of source and binaries
-
GNU_CONFIGURE= yes
USES= gmake
@@ -27,10 +26,18 @@ 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
+.if exists(${PATCHDIR})
+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.mk>
+.include <bsd.port.post.mk>