2005-07-16 03:19:06 +02:00
|
|
|
# $NetBSD: Makefile,v 1.8 2005/07/16 01:19:20 jlam Exp $
|
2002-07-11 13:37:52 +02:00
|
|
|
|
|
|
|
DISTNAME= cdbkup-1.0
|
2005-07-16 01:02:08 +02:00
|
|
|
PKGREVISION= 3
|
2002-07-11 13:37:52 +02:00
|
|
|
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
|
|
|
|
|
2002-12-22 23:24:56 +01:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
2002-07-11 13:37:52 +02:00
|
|
|
DEPENDS+= cdrecord>=1.10:../../sysutils/cdrecord
|
|
|
|
|
|
|
|
GNU_CONFIGURE= YES
|
2005-07-16 03:19:06 +02:00
|
|
|
USE_TOOLS+= cat date gtar perl:run
|
2005-06-24 20:18:00 +02:00
|
|
|
CONFIGURE_ENV+= CAT="${TOOLS_CAT}"
|
|
|
|
CONFIGURE_ENV+= DATE="${TOOLS_DATE}"
|
2005-07-16 01:02:08 +02:00
|
|
|
CONFIGURE_ENV+= GNUTAR="${TOOLS_TAR}"
|
2002-07-11 13:37:52 +02:00
|
|
|
|
|
|
|
.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"
|