summaryrefslogtreecommitdiff
path: root/sysutils/rsyncrypto/Makefile
blob: 2f346d36834e6285ab1e8fec8a116136d1ebac6b (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
# Created by: Jin-Sih Lin <linpct@gmail.com>
# $FreeBSD$

PORTNAME=	rsyncrypto
PORTVERSION=	1.12
CATEGORIES=	sysutils net
MASTER_SITES=	SF

MAINTAINER=	linpct@gmail.com
COMMENT=	Rsync Friendly File Encryption

LICENSE=	GPLv2

BUILD_DEPENDS=	${LOCALBASE}/lib/libargtable2.so:${PORTSDIR}/devel/argtable
RUN_DEPENDS=	rsync:${PORTSDIR}/net/rsync \
	gzip:${PORTSDIR}/archivers/gzip

LDFLAGS+=	-L${LOCALBASE}/lib/
CPPFLAGS+=	-I${LOCALBASE}/include/

GNU_CONFIGURE=	yes
USE_GMAKE=	yes

PLIST_FILES=	bin/rsyncrypto \
	bin/rsyncrypto_recover

MAN1=	rsyncrypto.1 rsyncrypto_recover.1

post-install:
	@${ECHO_MSG}
	@${ECHO_MSG} ${PORTNAME} requires archivers/gzip be built
	@${ECHO_MSG} with the RSYNCABLE flag to run properly
	@${ECHO_MSG}

.include <bsd.port.mk>