diff options
author | mat <mat@FreeBSD.org> | 2003-10-27 15:04:42 +0000 |
---|---|---|
committer | mat <mat@FreeBSD.org> | 2003-10-27 15:04:42 +0000 |
commit | 5b835f55010525ace617fc3835c151803945cfc4 (patch) | |
tree | 7a4cf12603d0852b1d86f28463640e684f85b8fc /sysutils/flexbackup | |
parent | 8a2a45387af34a7a0b351f71376accd174756fba (diff) | |
download | FreeBSD-ports-5b835f55010525ace617fc3835c151803945cfc4.zip FreeBSD-ports-5b835f55010525ace617fc3835c151803945cfc4.tar.gz |
Update to 1.2.1
Add a way of having the conf into $PREFIX
Add man pages
PR: 57957
Submitted by: maintainer
Diffstat (limited to 'sysutils/flexbackup')
-rw-r--r-- | sysutils/flexbackup/Makefile | 25 | ||||
-rw-r--r-- | sysutils/flexbackup/distinfo | 2 | ||||
-rw-r--r-- | sysutils/flexbackup/pkg-message | 6 |
3 files changed, 24 insertions, 9 deletions
diff --git a/sysutils/flexbackup/Makefile b/sysutils/flexbackup/Makefile index c56e330..b95dc29 100644 --- a/sysutils/flexbackup/Makefile +++ b/sysutils/flexbackup/Makefile @@ -6,8 +6,7 @@ # PORTNAME= flexbackup -PORTVERSION= 1.2.0 -PORTREVISION?= 2 +PORTVERSION= 1.2.1 CATEGORIES= sysutils MASTER_SITES= http://www.edwinh.org/flexbackup/tarball/ \ http://www.reynoldsnet.org/flexbackup/tarball/ @@ -15,10 +14,17 @@ MASTER_SITES= http://www.edwinh.org/flexbackup/tarball/ \ MAINTAINER= johnjen@reynoldsnet.org COMMENT= Perl-based flexible backup system that can use dump/afio/cpio/tar/star +PKGMESSAGE= ${WRKDIR}/pkg-message + MAKE_ARGS= PERLPATH=${PERL} USE_PERL5= yes +.if defined(WITH_PREFIX_CONF) +MAKE_ARGS+= CONFFILE=${PREFIX}/etc/flexbackup.conf +CONFDIR= ${PREFIX} +.endif + .if defined(WITH_AFIO) RUN_DEPENDS+= afio:${PORTSDIR}/sysutils/afio .endif @@ -57,9 +63,17 @@ pre-fetch: @${ECHO} "flexbackup.conf file to point to 'gtar'" @${ECHO} +MAN1= flexbackup.1 +MAN5= flexbackup.conf.5 + do-install: - ${INSTALL_SCRIPT} ${WRKSRC}/fb.install ${LOCALBASE}/bin/flexbackup - ${INSTALL_DATA} ${WRKSRC}/flexbackup.conf ${LOCALBASE}/etc/flexbackup.conf.sample + ${INSTALL_SCRIPT} ${WRKSRC}/fb.install ${PREFIX}/bin/flexbackup + ${INSTALL_DATA} ${WRKSRC}/flexbackup.conf ${PREFIX}/etc/flexbackup.conf.sample + ${INSTALL_MAN} ${WRKSRC}/flexbackup.1 ${MAN1PREFIX}/man/man1 + ${INSTALL_MAN} ${WRKSRC}/flexbackup.conf.5 ${MAN5PREFIX}/man/man5 + +post-configure: + @${SED} -e "s:%%PREFIX%%:${PREFIX}:g" -e "s:%%CONFDIR%%:${CONFDIR}:g" ${.CURDIR}/pkg-message > ${PKGMESSAGE} post-install: .if !defined(NOPORTDOCS) @@ -68,5 +82,6 @@ post-install: ${INSTALL_DATA} ${WRKSRC}/${docfile} ${DOCSDIR} .endfor .endif - @${CAT} ${PKGMESSAGE} | ${SED} -e 's:%%PREFIX%%:${PREFIX}:g' + @${CAT} ${PKGMESSAGE} + .include <bsd.port.mk> diff --git a/sysutils/flexbackup/distinfo b/sysutils/flexbackup/distinfo index 75085bb..a5c60cf 100644 --- a/sysutils/flexbackup/distinfo +++ b/sysutils/flexbackup/distinfo @@ -1 +1 @@ -MD5 (flexbackup-1.2.0.tar.gz) = a5e57e7070ad3da1b5a9e0aed2aeda83 +MD5 (flexbackup-1.2.1.tar.gz) = 4955c89dbee354248f354a9bf0a480dd diff --git a/sysutils/flexbackup/pkg-message b/sysutils/flexbackup/pkg-message index 46f06f4..429d056 100644 --- a/sysutils/flexbackup/pkg-message +++ b/sysutils/flexbackup/pkg-message @@ -7,7 +7,7 @@ copy of this configuration file has been installed into Please copy this file as - /etc/flexbackup.conf + %%CONFDIR%%/etc/flexbackup.conf (on all machines where you will run flexbackup) and edit appropriately for your site configuration. @@ -17,7 +17,7 @@ site configuration. **************************************************************************** Also see %%PREFIX%%/share/doc/flexbackup/README -for more information on how to use flexbackup (until the man -pages are written :). +for more information on how to use flexbackup. Man pages have also been written +and included in this version of the port! ------------------------------------------------------------------------------- |