Date: Thu, 7 Sep 2006 17:10:24 GMT From: Marcus von Appen <mva@sysfault.org> To: freebsd-ports-bugs@FreeBSD.org Subject: Re: ports/102971: [Maintiner-update]: sysutils/flexbackup PREFIX fix and OPTIONization Message-ID: <200609071710.k87HAOKl048859@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/102971; it has been noted by GNATS. From: Marcus von Appen <mva@sysfault.org> To: bug-followup@FreeBSD.org Cc: Subject: Re: ports/102971: [Maintiner-update]: sysutils/flexbackup PREFIX fix and OPTIONization Date: Thu, 7 Sep 2006 19:12:41 +0200 --A6N2fC+uXW/VQSAv Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Unfortunately the OPTIONS knobs won't work, because I placed them behind <bsd.port.pre.mk>. A revised patch which fixes this is attached. Regards Marcus --A6N2fC+uXW/VQSAv Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="flex_rev.diff" diff -Nur flexbackup/Makefile flexbackup.new/Makefile --- flexbackup/Makefile Tue Sep 5 06:57:08 2006 +++ flexbackup.new/Makefile Thu Sep 7 19:06:07 2006 @@ -7,23 +7,28 @@ PORTNAME= flexbackup PORTVERSION= 1.2.1 +PORTREVISION= 1 CATEGORIES= sysutils MASTER_SITES= http://www.edwinh.org/flexbackup/tarball/ \ http://www.reynoldsnet.org/flexbackup/tarball/ -MAINTAINER= ports@FreeBSD.org +MAINTAINER= mva@sysfault.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 + +OPTIONS= AFIO "Enable afio support" Off \ + BUFFER "Enable buffer support" Off \ + GTAR "Enable gtar support" Off \ + STAR "Enable star support" Off \ + ZIP "Eanble zip support" Off + +.include <bsd.port.pre.mk> .if defined(WITH_AFIO) RUN_DEPENDS+= afio:${PORTSDIR}/sysutils/afio @@ -46,22 +51,12 @@ .endif pre-fetch: - @${ECHO} "----------------------------------------------------------" - @${ECHO} "This port can utilize afio, star, zip, and buffer." - @${ECHO} "You may use the following build options to make:" - @${ECHO} - @${ECHO} " WITH_AFIO=yes enable the use of afio" - @${ECHO} " WITH_STAR=yes enable the use of star" - @${ECHO} " WITH_ZIP=yes enable the use of zip" - @${ECHO} " WITH_BUFFER=yes enable the use of buffer" - @${ECHO} - @${ECHO} "----------------------------------------------------------" - @${ECHO} + @${ECHO} "------------------------------------------------------------------------" @${ECHO} "If you are using and older version of FreeBSD that does not have GNU Tar" @${ECHO} "imported as the system 'tar,' configure this port using WITH_GTAR=yes" @${ECHO} "to enable the port dependency and use the 'path' variable in the" @${ECHO} "flexbackup.conf file to point to 'gtar'" - @${ECHO} + @${ECHO} "------------------------------------------------------------------------" MAN1= flexbackup.1 MAN5= flexbackup.conf.5 @@ -84,4 +79,4 @@ .endif @${CAT} ${PKGMESSAGE} -.include <bsd.port.mk> +.include <bsd.port.post.mk> --A6N2fC+uXW/VQSAv--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200609071710.k87HAOKl048859>