summaryrefslogtreecommitdiff
path: root/sysutils/cdbkup/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/cdbkup/Makefile')
-rw-r--r--sysutils/cdbkup/Makefile34
1 files changed, 34 insertions, 0 deletions
diff --git a/sysutils/cdbkup/Makefile b/sysutils/cdbkup/Makefile
new file mode 100644
index 00000000000..032b21de81d
--- /dev/null
+++ b/sysutils/cdbkup/Makefile
@@ -0,0 +1,34 @@
+# $NetBSD: Makefile,v 1.1.1.1 2002/07/11 11:37:52 tron Exp $
+
+DISTNAME= cdbkup-1.0
+CATEGORIES= sysutils
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=cdbkup/} \
+ ftp://batraq.anything3d.com/pub/cdbkup/cdbkup-1/ \
+ http://mishka.terabyte.com.ua/cdbkup/
+
+MAINTAINER= mishka@terabyte.com.ua
+HOMEPAGE= http://sourceforge.net/projects/cdbkup/
+COMMENT= CD-R(W) backup/restore system
+
+DEPENDS+= cdrecord>=1.10:../../sysutils/cdrecord
+
+GNU_CONFIGURE= YES
+USE_PERL5= YES
+
+.include "../../mk/bsd.prefs.mk"
+
+.if (${OPSYS} == SunOS)
+CDBKUP_SNARDIR?= /var/${PKGBASE}
+CDBKUP_DUMPGRP?= sys
+.else
+CDBKUP_SNARDIR?= /var/db/${PKGBASE}
+CDBKUP_DUMPGRP?= operator
+.endif
+
+CONFIGURE_ARGS+= --with-snardir=${CDBKUP_SNARDIR} \
+ --with-dumpgrp=${CDBKUP_DUMPGRP}
+PLIST_SUBST+= CDBKUP_SNARDIR=${CDBKUP_SNARDIR} \
+ CDBKUP_DUMPGRP=${CDBKUP_DUMPGRP} \
+ INSTALL=${INSTALL} RMDIR=${RMDIR} TRUE=${TRUE}
+
+.include "../../mk/bsd.pkg.mk"