diff options
Diffstat (limited to 'sysutils/rsnapshot')
-rw-r--r-- | sysutils/rsnapshot/Makefile | 17 | ||||
-rw-r--r-- | sysutils/rsnapshot/distinfo | 6 | ||||
-rw-r--r-- | sysutils/rsnapshot/pkg-plist | 6 |
3 files changed, 17 insertions, 12 deletions
diff --git a/sysutils/rsnapshot/Makefile b/sysutils/rsnapshot/Makefile index fc8b9a97ce06..c1db803ebb24 100644 --- a/sysutils/rsnapshot/Makefile +++ b/sysutils/rsnapshot/Makefile @@ -6,7 +6,7 @@ # PORTNAME= rsnapshot -PORTVERSION= 1.2.1 +PORTVERSION= 1.2.9 CATEGORIES= sysutils MASTER_SITES= http://www.rsnapshot.org/downloads/ @@ -21,12 +21,21 @@ GNU_CONFIGURE= yes CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} MAN1= rsnapshot.1 -DOCS= AUTHORS ChangeLog README TODO +PORTDOCS= AUTHORS ChangeLog README TODO .if !defined(NOPORTDOCS) post-install: @${MKDIR} ${DOCSDIR} - cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR} + cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR} .endif -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +post-patch: + ${REINPLACE_CMD} -e 's,/usr/bin/pod2man,pod2man,' ${WRKSRC}/Makefile.in + ${REINPLACE_CMD} -Ee 's,/(etc/rsnapshot.conf),${PREFIX}/\1,g' ${WRKSRC}/rsnapshot-program.pl +.if ${PERL_LEVEL} < 500800 + ${REINPLACE_CMD} -e "s, -n 'rsnapshot',," ${WRKSRC}/Makefile.in +.endif + +.include <bsd.port.post.mk> diff --git a/sysutils/rsnapshot/distinfo b/sysutils/rsnapshot/distinfo index 043ad20abe23..3feda85e8573 100644 --- a/sysutils/rsnapshot/distinfo +++ b/sysutils/rsnapshot/distinfo @@ -1,3 +1,3 @@ -MD5 (rsnapshot-1.2.1.tar.gz) = b126ae490889e5514f4a5d14a1128897 -SHA256 (rsnapshot-1.2.1.tar.gz) = ac47653bf2ddc6893269fc9950c169eb2d3e6427344cc160de22ec3f9fce7389 -SIZE (rsnapshot-1.2.1.tar.gz) = 137194 +MD5 (rsnapshot-1.2.9.tar.gz) = 68632bc6cdd9c149e0fdeb9e246622d3 +SHA256 (rsnapshot-1.2.9.tar.gz) = 367b18159d95470b5bd0e7f00987af895eb4480fa146a6f609c7587ba8c030f2 +SIZE (rsnapshot-1.2.9.tar.gz) = 177971 diff --git a/sysutils/rsnapshot/pkg-plist b/sysutils/rsnapshot/pkg-plist index 8600d4dfcde0..8283c91e6b5f 100644 --- a/sysutils/rsnapshot/pkg-plist +++ b/sysutils/rsnapshot/pkg-plist @@ -1,8 +1,4 @@ @comment $FreeBSD$ bin/rsnapshot +bin/rsnapshot-diff etc/rsnapshot.conf.default -%%PORTDOCS%%%%DOCSDIR%%/AUTHORS -%%PORTDOCS%%%%DOCSDIR%%/ChangeLog -%%PORTDOCS%%%%DOCSDIR%%/README -%%PORTDOCS%%%%DOCSDIR%%/TODO -%%PORTDOCS%%@dirrm %%DOCSDIR%% |