| Server IP : 82.208.35.60 / Your IP : 216.73.216.89 Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31 System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64 User : studiokobylisy_cz ( 1008) PHP Version : 7.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/ports/sysutils/cpdup/ |
Upload File : |
PORTNAME= cpdup
PORTVERSION= 1.22
CATEGORIES= sysutils
MAINTAINER= gmarco@giovannelli.it
COMMENT= Comprehensive filesystem mirroring and backup program
WWW= https://github.com/DragonFlyBSD/cpdup
LICENSE= BSD2CLAUSE # clarified by Matthew Dillon himself
USES= gmake ssl tar:xz
USE_GITHUB= yes
GH_TUPLE= DragonFlyBSD:${PORTNAME}:v${PORTVERSION}
MAKEFILE= GNUmakefile
MAKE_ARGS+= LIBS="-L${OPENSSLLIB} -lcrypto"
PLIST_FILES= bin/cpdup man/man1/cpdup.1.gz
post-patch:
${REINPLACE_CMD} \
-e 's}^CFLAGS=\(.*\)}& ${CFLAGS}}' \
-e '/^CFLAGS+=.*pkg-config.*openssl/s}^CFLAGS.*}CFLAGS+=-I${OPENSSLINC}}' \
-e '/^LIBS+=.*pkg-config.*openssl/s}^LIBS.*}LIBS+=-L${OPENSSLLIB} -Wl,--as-needed -lssl -lcrypto}' \
${WRKSRC}/GNUmakefile
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/cpdup ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/cpdup.1 ${STAGEDIR}${MANPREFIX}/man/man1
.include <bsd.port.mk>