diff options
Diffstat (limited to 'sysutils/amanda/Makefile')
-rw-r--r-- | sysutils/amanda/Makefile | 41 |
1 files changed, 24 insertions, 17 deletions
diff --git a/sysutils/amanda/Makefile b/sysutils/amanda/Makefile index 7e3445c2890..72fb62f02b6 100644 --- a/sysutils/amanda/Makefile +++ b/sysutils/amanda/Makefile @@ -1,27 +1,34 @@ -# $NetBSD: Makefile,v 1.7 1998/04/20 11:56:26 frueauf Exp $ +# $NetBSD: Makefile,v 1.8 1998/05/07 17:04:05 agc Exp $ # FreeBSD Id: Makefile,v 1.9 1997/03/08 05:00:11 gpalmer Exp # -DISTNAME= amanda-2.3.0 -CATEGORIES= misc -MASTER_SITES= ftp://ftp.cs.umd.edu/pub/amanda/ +DISTNAME= amanda-2.4.0 +CATEGORIES= misc +MASTER_SITES= ftp://ftp.cs.umd.edu/pub/amanda/ -MAINTAINER= packages@netbsd.org +MAINTAINER= packages@netbsd.org -PATCH_STRIP= -SCRIPTS_ENV+= CFLAGS="${CFLAGS}" -MAN8= amanda.8 amadmin.8 amcheck.8 amcleanup.8 amdump.8 \ - amflush.8 amlabel.8 amrestore.8 amtape.8 +USE_PERL5= yes +DEPENDS+= readline-2.2:../../devel/readline +RUN_DEPENDS+= gnuplot:../../graphics/gnuplot +RUN_DEPENDS+= gtar:../../archivers/gtar -pre-configure: - find ${WRKDIR} -type f -print|xargs ${GREP} -l '/usr/local' > ${WRKDIR}/prefix-list - for f in `cat ${WRKDIR}/prefix-list`; do \ - ${SED} -e 's:/usr/local:'${PREFIX}':g' < $$f > $$f.pdone && ${MV} $$f.pdone $$f; \ - done - ${RM} ${WRKDIR}/prefix-list +AMANDA_USER?= backup + +GNU_CONFIGURE= yes +CONFIGURE_ARGS+= --with-user=${AMANDA_USER} --with-group=${AMANDA_USER} +MAKE_ENV+= INSTALL_SCRIPT="${INSTALL_SCRIPT}" +CONFIGURE_ENV+= INSTALL_SCRIPT="${INSTALL_SCRIPT}" + +MAN8+= amadmin.8 amcheck.8 amdump.8 amflush.8 amlabel.8 +MAN8+= amrestore.8 amtape.8 amanda.8 amcleanup.8 amtoc.8 +MAN8+= amcheckdb.8 amoverview.8 amplot.8 amrecover.8 +MAN8+= amrmtape.8 amverify.8 + +pre-install: + @${SETENV} ${MAKE_ENV} perl ${SCRIPTDIR}/createuser ${AMANDA_USER} post-install: - ${MKDIR} ${PREFIX}/share/examples/amanda - ${CP} -R ${WRKSRC}/example/* ${PREFIX}/share/examples/amanda + ${LDCONFIG} || ${TRUE} .include "../../mk/bsd.pkg.mk" |