Lines 1-36
Link Here
|
1 |
PORTNAME= rsyncrypto |
1 |
PORTNAME= rsyncrypto |
2 |
PORTVERSION= 1.14 |
2 |
DISTVERSION= 1.14 |
3 |
PORTREVISION= 2 |
3 |
PORTREVISION= 3 |
4 |
CATEGORIES= sysutils net |
4 |
CATEGORIES= sysutils net |
5 |
MASTER_SITES= SF |
5 |
MASTER_SITES= SF |
6 |
|
6 |
|
7 |
MAINTAINER= ports@FreeBSD.org |
7 |
MAINTAINER= alster@vinterdalen.se |
8 |
COMMENT= Rsync Friendly File Encryption |
8 |
COMMENT= Rsync Friendly File Encryption |
9 |
WWW= https://rsyncrypto.lingnu.com/ |
9 |
WWW= https://rsyncrypto.lingnu.com/ \ |
|
|
10 |
https://sourceforge.net/projects/rsyncrypto/ |
10 |
|
11 |
|
11 |
LICENSE= GPLv2+ |
12 |
LICENSE= GPLv2+ |
|
|
13 |
LICENSE_FILE= ${WRKSRC}/COPYING |
12 |
|
14 |
|
|
|
15 |
BUILD_DEPENDS= ${GZIP_DEPENDS} |
13 |
LIB_DEPENDS= libargtable2.so:devel/argtable |
16 |
LIB_DEPENDS= libargtable2.so:devel/argtable |
14 |
RUN_DEPENDS= rsync:net/rsync |
17 |
RUN_DEPENDS= ${GZIP_DEPENDS} \ |
|
|
18 |
rsync:net/rsync |
19 |
TEST_DEPENDS= ${GZIP_DEPENDS} \ |
20 |
bash:shells/bash |
21 |
|
22 |
USES= compiler:c++11-lang gmake localbase shebangfix ssl tar:bzip2 |
23 |
|
24 |
SHEBANG_FILES= tests/regtest |
15 |
|
25 |
|
16 |
USES= compiler:c++11-lang gmake localbase ssl tar:bzip2 |
|
|
17 |
GNU_CONFIGURE= yes |
26 |
GNU_CONFIGURE= yes |
18 |
GNU_CONFIGURE_MANPREFIX=${PREFIX}/share |
|
|
19 |
|
27 |
|
20 |
PLIST_FILES= bin/rsyncrypto \ |
28 |
TEST_TARGET= test |
21 |
bin/rsyncrypto_recover \ |
29 |
|
22 |
share/man/man1/rsyncrypto.1.gz \ |
30 |
# Just to make configure phase runtime checks happy |
23 |
share/man/man1/rsyncrypto_recover.1.gz |
31 |
BINARY_ALIAS= gzip ${LOCALBASE}/bin/gzip |
|
|
32 |
|
24 |
PORTDOCS= AUTHORS ChangeLog NEWS README |
33 |
PORTDOCS= AUTHORS ChangeLog NEWS README |
25 |
|
34 |
|
26 |
OPTIONS_DEFINE= DOCS |
35 |
OPTIONS_DEFINE= DOCS |
27 |
|
36 |
|
|
|
37 |
GZIP_DEPENDS= ${LOCALBASE}/bin/gzip:archivers/gzip |
38 |
|
39 |
# Use gzip from localbase, as gzip from base lacks support of needed --rsyncable option |
28 |
post-patch: |
40 |
post-patch: |
29 |
# Inhibit the check for RSA_get0_factors() to support older OpenSSL versions |
41 |
@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' ${WRKSRC}/rsyncrypto.h |
30 |
@${REINPLACE_CMD} -e '/RSA_get0_factors/,+49d' ${WRKSRC}/configure |
|
|
31 |
|
42 |
|
32 |
post-install-DOCS-on: |
43 |
post-install-DOCS-on: |
33 |
@${MKDIR} ${STAGEDIR}${DOCSDIR} |
44 |
${MKDIR} ${STAGEDIR}${DOCSDIR} |
34 |
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} |
45 |
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} |
35 |
|
46 |
|
36 |
.include <bsd.port.mk> |
47 |
.include <bsd.port.mk> |