diff options
author | Boris Samorodov <bsam@FreeBSD.org> | 2013-05-27 19:01:46 +0000 |
---|---|---|
committer | Boris Samorodov <bsam@FreeBSD.org> | 2013-05-27 19:01:46 +0000 |
commit | 6fa20c4a8c00d12724b3b53a8f6cc56331ef9179 (patch) | |
tree | 4d873b8e4a203d13f28e9bd399a447dd9cacbabb /sysutils | |
parent | - Add patch to work correctly with ruby19 (diff) |
. add LICENSE=GPLv2;
. remove shlib ABI version number from LIB_DEPENDS;
. bump PORTREVISION;
. trim Makefile headers;
. define PORTDOCS at Makefile;
. remove PORTDOCS lines from pkg-plist;
. NOPORTDOCS -> PORT_OPTIONS:MDOCS;
. use plain install instead .for loops.
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/rdiff-backup/Makefile | 27 | ||||
-rw-r--r-- | sysutils/rdiff-backup/pkg-plist | 5 |
2 files changed, 13 insertions, 19 deletions
diff --git a/sysutils/rdiff-backup/Makefile b/sysutils/rdiff-backup/Makefile index 59ed642850b2..9acee9df0bf2 100644 --- a/sysutils/rdiff-backup/Makefile +++ b/sysutils/rdiff-backup/Makefile @@ -1,12 +1,9 @@ -# New ports collection makefile for: rdiff-backup -# Date created: Wed Jun 11 19:53:46 CEST 2003 -# Whom: Gerhard Häring <gh@ghaering.de> -# +# Created by: Gerhard Häring <gh@ghaering.de> # $FreeBSD$ -# PORTNAME= rdiff-backup PORTVERSION= 1.2.8 +PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= sysutils MASTER_SITES= ${MASTER_SITE_SAVANNAH:S/$/:savannah/} \ @@ -18,7 +15,9 @@ DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:savannah,local MAINTAINER= ports@FreeBSD.org COMMENT= Local/remote mirroring+incremental backup -LIB_DEPENDS= rsync.1:${PORTSDIR}/net/librsync +LICENSE= GPLv2 + +LIB_DEPENDS= rsync:${PORTSDIR}/net/librsync CONFLICTS= rdiff-backup-devel-[0-9]* rdiff-backup-1.0* @@ -27,17 +26,17 @@ USE_PYDISTUTILS=yes MAN1= rdiff-backup.1 rdiff-backup-statistics.1 -DOCFILES= CHANGELOG README COPYING FAQ.html +PORTDOCS= CHANGELOG README COPYING FAQ.html + +OPTIONS_DEFINE= DOCS + +.include <bsd.port.options.mk> post-install: -.for man in ${MAN1} - ${INSTALL_MAN} ${WRKSRC}/${man} ${PREFIX}/man/man1 -.endfor -.if !defined(NOPORTDOCS) + ${INSTALL_MAN} ${MAN1:S,^,${WRKSRC}/,} ${PREFIX}/man/man1 +.if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${DOCSDIR} -.for doc in ${DOCFILES} - ${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR} -.endfor + ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR} .endif .include <bsd.port.mk> diff --git a/sysutils/rdiff-backup/pkg-plist b/sysutils/rdiff-backup/pkg-plist index 7e16003dc242..23fa6a3cfc84 100644 --- a/sysutils/rdiff-backup/pkg-plist +++ b/sysutils/rdiff-backup/pkg-plist @@ -104,9 +104,4 @@ bin/rdiff-backup-statistics %%PYTHON_SITELIBDIR%%/rdiff_backup/win_acls.py %%PYTHON_SITELIBDIR%%/rdiff_backup/win_acls.pyc %%PYTHON_SITELIBDIR%%/rdiff_backup/win_acls.pyo -%%PORTDOCS%%%%DOCSDIR%%/CHANGELOG -%%PORTDOCS%%%%DOCSDIR%%/COPYING -%%PORTDOCS%%%%DOCSDIR%%/FAQ.html -%%PORTDOCS%%%%DOCSDIR%%/README -%%PORTDOCS%%@dirrm %%DOCSDIR%% @dirrm %%PYTHON_SITELIBDIR%%/rdiff_backup |