aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/tarsnap/Makefile
blob: 4e94c1ec21fff4b9e2a9aec4260f7f8ba939eb4c (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
PORTNAME=	tarsnap
PORTVERSION=	1.0.41
CATEGORIES=	sysutils
MASTER_SITES=	http://www.tarsnap.com/download-http/
DISTNAME=	${PORTNAME}-autoconf-${PORTVERSION}

MAINTAINER=	cperciva@tarsnap.com
COMMENT=	Online encrypted backup service (client)
WWW=		https://www.tarsnap.com/

LICENSE=	tarsnap
LICENSE_NAME=	tarsnap

GNU_CONFIGURE=	yes
GNU_CONFIGURE_MANPREFIX=	${PREFIX}/share
CONFIGURE_ENV=	CFLAGS="-I${OPENSSLINC} ${CFLAGS}" \
		LDFLAGS="-L${OPENSSLLIB} ${LDFLAGS}"
CONFIGURE_ARGS=	--with-bash-completion-dir=${PREFIX}/etc/bash_completion.d/	\
		--with-zsh-completion-dir=${PREFIX}/share/zsh/site-functions

USES=		gmake tar:tgz ssl

.include <bsd.port.pre.mk>

# safety check to ensure that we don't violate the license
.if exists(${PATCHDIR})
# Converted from RESTRICTED
LICENSE_TEXT=	license only allows redistribution and use of unmodified source and binaries
LICENSE_PERMS=	auto-accept
.else
# Converted from LEGAL_TEXT
LICENSE_TEXT=	license restricts redistribution of source and binaries
LICENSE_PERMS=	dist-mirror pkg-mirror auto-accept
.endif

.include <bsd.port.post.mk>