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

PORTNAME=   rsyncrypto
PORTVERSION=    1.12
PORTREVISION=   1
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
USES=       gmake

PLIST_FILES=    bin/rsyncrypto \
        bin/rsyncrypto_recover \
        man/man1/rsyncrypto.1.gz \
        man/man1/rsyncrypto_recover.1.gz

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>