2001-01-16 22:59:29 +01:00
|
|
|
# $NetBSD: Makefile,v 1.15 2001/01/16 21:59:39 cjones Exp $
|
1999-02-23 18:03:41 +01:00
|
|
|
# FreeBSD Id: Makefile,v 1.9 1997/03/08 05:00:11 gpalmer Exp
|
|
|
|
#
|
|
|
|
|
2001-01-16 22:59:29 +01:00
|
|
|
DISTNAME= amanda-2.4.2
|
|
|
|
PKGNAME= amanda-server-2.4.2
|
1999-04-05 01:34:44 +02:00
|
|
|
CATEGORIES= sysutils
|
1999-02-23 18:03:41 +01:00
|
|
|
MASTER_SITES= ftp://ftp.cs.umd.edu/pub/amanda/
|
|
|
|
|
|
|
|
MAINTAINER= packages@netbsd.org
|
|
|
|
HOMEPAGE= http://www.amanda.org/
|
|
|
|
|
2000-07-20 17:26:18 +02:00
|
|
|
DEPENDS+= readline>=4.0:../../devel/readline
|
2001-01-16 22:59:29 +01:00
|
|
|
DEPENDS+= amanda-common-2.4.2:../../sysutils/amanda-common
|
1999-04-26 21:25:05 +02:00
|
|
|
|
|
|
|
USE_X11= yes
|
1999-02-23 18:03:41 +01:00
|
|
|
USE_PERL5= yes
|
2001-01-16 22:59:29 +01:00
|
|
|
USE_GMAKE= yes
|
1999-02-23 18:03:41 +01:00
|
|
|
|
1999-02-25 16:54:00 +01:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
1999-09-06 21:30:19 +02:00
|
|
|
.include "../../sysutils/amanda-common/Makefile.common"
|
1999-04-21 17:31:05 +02:00
|
|
|
|
1999-09-06 21:30:19 +02:00
|
|
|
CONFIGURE_ARGS+= --without-client
|
1999-02-23 18:03:41 +01:00
|
|
|
|
1999-08-18 10:28:09 +02:00
|
|
|
BUILD_DEFS+= AMANDA_USER AMANDA_SMB AMANDA_VAR
|
|
|
|
|
2001-01-16 22:59:29 +01:00
|
|
|
# post-install:
|
|
|
|
# ${MKDIR} ${PREFIX}/share/doc/amanda
|
|
|
|
# ${MKDIR} ${PREFIX}/share/examples/amanda
|
|
|
|
# for i in ${WRKDIR}/${DISTNAME}/docs/* ; do \
|
|
|
|
# ${INSTALL_DATA} $$i ${PREFIX}/share/doc/amanda; \
|
|
|
|
# done
|
|
|
|
# for i in ${WRKDIR}/${DISTNAME}/example/8.5x11.ps \
|
|
|
|
# ${WRKDIR}/${DISTNAME}/example/DIN-A4.ps \
|
|
|
|
# ${WRKDIR}/${DISTNAME}/example/DLT.ps \
|
|
|
|
# ${WRKDIR}/${DISTNAME}/example/EXB-8500.ps \
|
|
|
|
# ${WRKDIR}/${DISTNAME}/example/HP-DAT.ps \
|
|
|
|
# ${WRKDIR}/${DISTNAME}/example/amanda.conf \
|
|
|
|
# ${WRKDIR}/${DISTNAME}/example/chg-multi.conf \
|
|
|
|
# ${WRKDIR}/${DISTNAME}/example/chg-scsi.conf \
|
|
|
|
# ${WRKDIR}/${DISTNAME}/example/config.site \
|
|
|
|
# ${WRKDIR}/${DISTNAME}/example/disklist; do \
|
|
|
|
# ${INSTALL_DATA} $$i ${PREFIX}/share/examples/amanda; \
|
|
|
|
# done
|
1999-02-23 18:03:41 +01:00
|
|
|
|
1999-09-29 14:34:15 +02:00
|
|
|
.if ${OPSYS} == "SunOS"
|
|
|
|
PLIST_SRC= ${WRKDIR}/PLIST-src
|
|
|
|
|
|
|
|
pre-install:
|
|
|
|
${SED} -e 's|^libexec/chg-scsi$$|@comment libexec/chg-scsi needs headers...|' ${PKGDIR}/PLIST > ${PLIST_SRC}
|
|
|
|
.endif
|
|
|
|
|
1999-02-23 18:03:41 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|