Index: head/sysutils/flexbackup/Makefile =================================================================== --- head/sysutils/flexbackup/Makefile (revision 88582) +++ head/sysutils/flexbackup/Makefile (revision 88583) @@ -1,35 +1,72 @@ # New ports collection makefile for: flexbackup # Date created: Wed Nov 3 17:58:26 MST 1999 # Whom: John Reynolds # # $FreeBSD$ # PORTNAME= flexbackup PORTVERSION= 1.2.0 -PORTREVISION?= 1 +PORTREVISION?= 2 CATEGORIES= sysutils MASTER_SITES= http://www.edwinh.org/flexbackup/tarball/ \ http://www.reynoldsnet.org/flexbackup/tarball/ MAINTAINER= johnjen@reynoldsnet.org -COMMENT= A flexible backup tool (Perl) +COMMENT= Perl-based flexible backup system that can use dump/afio/cpio/tar/star -MAKE_ARGS= CONFFILE=${LOCALBASE}/etc/flexbackup.conf \ - PERLPATH=${PERL} +MAKE_ARGS= PERLPATH=${PERL} USE_PERL5= yes +.if defined(WITH_AFIO) +RUN_DEPENDS+= afio:${PORTSDIR}/sysutils/afio +.endif + +.if defined(WITH_BUFFER) +RUN_DEPENDS+= buffer:${PORTSDIR}/misc/buffer +.endif + +.if defined(WITH_STAR) +RUN_DEPENDS+= star:${PORTSDIR}/archivers/star +.endif + +.if defined(WITH_ZIP) +RUN_DEPENDS+= zip:${PORTSDIR}/archivers/zip +.endif + +.if defined(WITH_GTAR) +RUN_DEPENDS+= gtar:${PORTSDIR}/archivers/gtar +.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} "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} + do-install: ${INSTALL_SCRIPT} ${WRKSRC}/fb.install ${LOCALBASE}/bin/flexbackup ${INSTALL_DATA} ${WRKSRC}/flexbackup.conf ${LOCALBASE}/etc/flexbackup.conf.sample post-install: .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} -.for docfile in CHANGES COPYING CREDITS README TODO faq.html +.for docfile in CHANGES CREDITS README TODO faq.html ${INSTALL_DATA} ${WRKSRC}/${docfile} ${DOCSDIR} .endfor .endif - @${CAT} ${PKGMESSAGE} + @${CAT} ${PKGMESSAGE} | ${SED} -e 's:%%PREFIX%%:${PREFIX}:g' .include Property changes on: head/sysutils/flexbackup/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.18 \ No newline at end of property +1.19 \ No newline at end of property Index: head/sysutils/flexbackup/pkg-message =================================================================== --- head/sysutils/flexbackup/pkg-message (revision 88582) +++ head/sysutils/flexbackup/pkg-message (revision 88583) @@ -1,9 +1,23 @@ -------------------------------------------------------------------------------- -Flexbackup supports utilities from the following ports (all optional): +--------------------- Flexbackup Configuration Information -------------------- -archivers/afio -archivers/star -archivers/zip -misc/buffer +Flexbackup needs to have its configuration file placed in /etc. A template +copy of this configuration file has been installed into + + %%PREFIX%%/etc/flexbackup.conf.sample + +Please copy this file as + + /etc/flexbackup.conf + +(on all machines where you will run flexbackup) and edit appropriately for your +site configuration. + + **************************************************************************** + ** Changes have occurred in this file up to and including version 1.2.0! ** + **************************************************************************** + +Also see %%PREFIX%%/share/doc/flexbackup/README +for more information on how to use flexbackup (until the man +pages are written :). ------------------------------------------------------------------------------- Property changes on: head/sysutils/flexbackup/pkg-message ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.5 \ No newline at end of property +1.6 \ No newline at end of property Index: head/sysutils/flexbackup/pkg-plist =================================================================== --- head/sysutils/flexbackup/pkg-plist (revision 88582) +++ head/sysutils/flexbackup/pkg-plist (revision 88583) @@ -1,9 +1,8 @@ bin/flexbackup etc/flexbackup.conf.sample %%PORTDOCS%%%%DOCSDIR%%/CHANGES -%%PORTDOCS%%%%DOCSDIR%%/COPYING %%PORTDOCS%%%%DOCSDIR%%/CREDITS %%PORTDOCS%%%%DOCSDIR%%/README %%PORTDOCS%%%%DOCSDIR%%/TODO %%PORTDOCS%%%%DOCSDIR%%/faq.html %%PORTDOCS%%@dirrm %%DOCSDIR%% Property changes on: head/sysutils/flexbackup/pkg-plist ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.5 \ No newline at end of property +1.6 \ No newline at end of property