diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2004-04-02 07:21:51 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2004-04-02 07:21:51 +0000 |
commit | 783ff30c636b06af3170b25cc26e2edc6b112664 (patch) | |
tree | f9b135e4e54a4687b69e0112b0c5eb9ae7351b43 /sysutils/cdbkup | |
parent | 71ffddbe0df908e20789d632be8e901875e4fc74 (diff) | |
download | ports-783ff30c636b06af3170b25cc26e2edc6b112664.tar.gz ports-783ff30c636b06af3170b25cc26e2edc6b112664.zip |
Notes
Diffstat (limited to 'sysutils/cdbkup')
-rw-r--r-- | sysutils/cdbkup/Makefile | 34 | ||||
-rw-r--r-- | sysutils/cdbkup/distinfo | 2 | ||||
-rw-r--r-- | sysutils/cdbkup/files/patch-Makefile.in | 17 | ||||
-rw-r--r-- | sysutils/cdbkup/files/patch-src-cdcat.in | 19 | ||||
-rw-r--r-- | sysutils/cdbkup/pkg-descr | 1 | ||||
-rw-r--r-- | sysutils/cdbkup/pkg-plist | 5 |
6 files changed, 78 insertions, 0 deletions
diff --git a/sysutils/cdbkup/Makefile b/sysutils/cdbkup/Makefile new file mode 100644 index 000000000000..73722449fe4f --- /dev/null +++ b/sysutils/cdbkup/Makefile @@ -0,0 +1,34 @@ +# New ports collection makefile for: cdbkup +# Date created: 19 May 2003 +# Whom: Kay Lehmann +# +# $FreeBSD$ +# + +PORTNAME= cdbkup +PORTVERSION= 1.0 +CATEGORIES= sysutils +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= ${PORTNAME} +DISTNAME= ${PORTNAME}_${PORTVERSION}-1 + +MAINTAINER= kay_lehmann@web.de +COMMENT= Simple backup restore perl scripts (uses gnu tar) + +BUILD_DEPENDS= cdrecord:${PORTSDIR}/sysutils/cdrtools \ + mkisofs:${PORTSDIR}/sysutils/mkisofs \ + ${LOCALBASE}/sbin/eject:${PORTSDIR}/sysutils/eject +RUN_DEPENDS= cdrecord:${PORTSDIR}/sysutils/cdrtools \ + mkisofs:${PORTSDIR}/sysutils/mkisofs \ + ${LOCALBASE}/sbin/eject:${PORTSDIR}/sysutils/eject + +WRKSRC= ${WRKDIR}/${PORTNAME} + +GNU_CONFIGURE= yes +USE_PERL5= yes +CONFIGURE_ENV+= PATH=${PATH}:${LOCALBASE}/sbin + +MAN1= cdbkup.1 cdappend.1 cdcat.1 cdrstr.1 cdsplit.1 +PORTDOCS= README TODO COMPLIANCE + +.include <bsd.port.mk> diff --git a/sysutils/cdbkup/distinfo b/sysutils/cdbkup/distinfo new file mode 100644 index 000000000000..a0eb3c74f1d3 --- /dev/null +++ b/sysutils/cdbkup/distinfo @@ -0,0 +1,2 @@ +MD5 (cdbkup_1.0-1.tar.gz) = e2d3607c5327fc2204d3ecdb243bae23 +SIZE (cdbkup_1.0-1.tar.gz) = 41025 diff --git a/sysutils/cdbkup/files/patch-Makefile.in b/sysutils/cdbkup/files/patch-Makefile.in new file mode 100644 index 000000000000..a75f1e6c1c47 --- /dev/null +++ b/sysutils/cdbkup/files/patch-Makefile.in @@ -0,0 +1,17 @@ +--- Makefile.in.orig Wed Mar 24 10:40:13 2004 ++++ Makefile.in Wed Mar 24 10:41:02 2004 +@@ -19,12 +19,14 @@ + (echo "-> Entering $$x"; cd $$x ;\ + make $@ );\ + done ++.if !defined(NOPORTDOCS) + @echo "-> Creating dirs & installing misc documentation." + $(INSTALL) -d -o $(DUMPER) -g $(DUMPGRP) -m 700 $(SNARDIR) + $(INSTALL) -d -m 755 $(DOCDIR) + $(INSTALL) -m 644 README $(DOCDIR) + $(INSTALL) -m 644 TODO $(DOCDIR) + $(INSTALL) -m 644 COMPLIANCE $(DOCDIR) ++.endif + @echo "-> All done." + + uninstall: diff --git a/sysutils/cdbkup/files/patch-src-cdcat.in b/sysutils/cdbkup/files/patch-src-cdcat.in new file mode 100644 index 000000000000..9003522a1ad7 --- /dev/null +++ b/sysutils/cdbkup/files/patch-src-cdcat.in @@ -0,0 +1,19 @@ +*** src/cdcat.in Fri Jan 18 14:58:50 2002 +--- src/cdcat.in Fri Jan 18 17:28:48 2002 +*************** +*** 98,104 **** + + sub mount { + return if( $test); +! if( system("@MOUNT@ -t iso9660 ".esc_shell($device)." $mntpt") != 0) + { + die "Can't mount $device: $!\n"; + } +--- 98,104 ---- + + sub mount { + return if( $test); +! if( system("@MOUNT@ -t cd9660 ".esc_shell($device)." $mntpt") != 0) + { + die "Can't mount $device: $!\n"; + } diff --git a/sysutils/cdbkup/pkg-descr b/sysutils/cdbkup/pkg-descr new file mode 100644 index 000000000000..f5460633586d --- /dev/null +++ b/sysutils/cdbkup/pkg-descr @@ -0,0 +1 @@ +cdbkup is a small backuputil which uses gnu tar and is based on perl diff --git a/sysutils/cdbkup/pkg-plist b/sysutils/cdbkup/pkg-plist new file mode 100644 index 000000000000..653be8cda836 --- /dev/null +++ b/sysutils/cdbkup/pkg-plist @@ -0,0 +1,5 @@ +sbin/cdappend +sbin/cdbkup +sbin/cdcat +sbin/cdrstr +sbin/cdsplit |