aboutsummaryrefslogtreecommitdiff
path: root/sysutils/flexbackup/Makefile
diff options
context:
space:
mode:
authorSergey A. Osokin <osa@FreeBSD.org>2003-08-29 13:02:37 +0000
committerSergey A. Osokin <osa@FreeBSD.org>2003-08-29 13:02:37 +0000
commitda4d7c528d608bd083373278a09a07ef329c9acd (patch)
treed7e0eeb9719b961cb82df6239636cc942abff30a /sysutils/flexbackup/Makefile
parent805e2e0dac82ac6d95bf46d1f0ff5638df195259 (diff)
downloadports-da4d7c528d608bd083373278a09a07ef329c9acd.tar.gz
ports-da4d7c528d608bd083373278a09a07ef329c9acd.zip
Notes
Diffstat (limited to 'sysutils/flexbackup/Makefile')
-rw-r--r--sysutils/flexbackup/Makefile40
1 files changed, 12 insertions, 28 deletions
diff --git a/sysutils/flexbackup/Makefile b/sysutils/flexbackup/Makefile
index c82a4199133e..7a6b2133a03d 100644
--- a/sysutils/flexbackup/Makefile
+++ b/sysutils/flexbackup/Makefile
@@ -6,45 +6,29 @@
#
PORTNAME= flexbackup
-PORTVERSION= 1.0.3
+PORTVERSION= 1.2.0
CATEGORIES= sysutils
MASTER_SITES= http://www.edwinh.org/flexbackup/tarball/ \
http://www.reynoldsnet.org/flexbackup/tarball/
MAINTAINER= johnjen@reynoldsnet.org
-COMMENT= Perl-based flexible tape backup system that uses dump/afio/cpio/tar
+COMMENT= A flexible backup tool (Perl)
-RUN_DEPENDS= afio:${PORTSDIR}/sysutils/afio \
- buffer:${PORTSDIR}/misc/buffer
+MAKE_ARGS= CONFFILE=${LOCALBASE}/etc/flexbackup.conf \
+ PERLPATH=${PERL}
-.if defined(WITH_GTAR)
-RUN_DEPENDS+= gtar:${PORTSDIR}/archivers/gtar
-.endif
-
-NO_BUILD= yes
USE_PERL5= yes
-pre-fetch:
- @${ECHO_MSG} ""
- @${ECHO_MSG} "If you are using and older version of FreeBSD that does not have GNU Tar"
- @${ECHO_MSG} "imported as the system 'tar,' configure this port using WITH_GTAR=yes"
- @${ECHO_MSG} "to enable the port dependency and use the 'path' variable in the"
- @${ECHO_MSG} "flexbackup.conf file to point to 'gtar'"
- @${ECHO_MSG} ""
-
-post-configure:
- @${CP} ${WRKSRC}/flexbackup.conf ${WRKSRC}/flexbackup.conf.sample
- @${CP} ${WRKSRC}/README ${WRKSRC}/flexbackup.README
-
do-install:
- ${INSTALL_SCRIPT} ${WRKSRC}/flexbackup ${PREFIX}/bin
+ ${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}
- ${INSTALL_DATA} ${WRKSRC}/flexbackup.conf.sample ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/flexbackup.README ${DOCSDIR}
+.for docfile in CHANGES COPYING CREDITS README TODO faq.html
+ ${INSTALL_DATA} ${WRKSRC}/${docfile} ${DOCSDIR}
+.endfor
.endif
-
-post-install:
- @${CAT} ${PKGMESSAGE} | ${SED} -e 's:%%PREFIX%%:${PREFIX}:g'
-
+ @${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>