blob: bfddec05fa4fa4d4efaf7a9f2bedddd0d151f835 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
# Created by: Colin Percival
# $FreeBSD$
PORTNAME= tarsnap
PORTVERSION= 1.0.35
PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= http://www.tarsnap.com/download-http/
DISTNAME= ${PORTNAME}-autoconf-${PORTVERSION}
EXTRACT_SUFX= .tgz
MAINTAINER= cperciva@tarsnap.com
COMMENT= Online encrypted backup service (client)
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
.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.post.mk>
|