| @@ -1,39 +1,40 @@ | | | @@ -1,39 +1,40 @@ |
1 | # $NetBSD: Makefile,v 1.47 2012/01/22 21:10:18 hauke Exp $ | | 1 | # $NetBSD: Makefile,v 1.48 2012/05/20 11:21:34 sbd Exp $ |
2 | | | 2 | |
3 | PKGNAME= amanda-server-${VERS} | | 3 | PKGNAME= amanda-server-${VERS} |
4 | PKGREVISION= 2 | | 4 | PKGREVISION= 2 |
5 | SVR4_PKGNAME= amase | | 5 | SVR4_PKGNAME= amase |
6 | | | 6 | |
7 | COMMENT= Server part of Amanda, a network backup system | | 7 | COMMENT= Server part of Amanda, a network backup system |
8 | | | 8 | |
9 | PKG_DESTDIR_SUPPORT= destdir | | 9 | PKG_DESTDIR_SUPPORT= destdir |
10 | | | 10 | |
11 | USE_TOOLS+= awk:run perl:run | | 11 | USE_TOOLS+= awk:run perl:run mail:run |
12 | | | 12 | |
13 | DEPENDS+= p5-Perl4-CoreLibs-[0-9]*:../../devel/p5-Perl4-CoreLibs | | 13 | DEPENDS+= p5-Perl4-CoreLibs-[0-9]*:../../devel/p5-Perl4-CoreLibs |
14 | | | 14 | |
15 | .include "../../mk/bsd.prefs.mk" | | 15 | .include "../../mk/bsd.prefs.mk" |
16 | .include "../../sysutils/amanda-common/Makefile.common" | | 16 | .include "../../sysutils/amanda-common/Makefile.common" |
17 | | | 17 | |
18 | CONFIGURE_ARGS+= --without-client | | 18 | CONFIGURE_ARGS+= --without-client |
19 | | | 19 | |
20 | # Prevent configure script from finding unnecessary libraries. | | 20 | # Prevent configure script from finding unnecessary libraries. |
21 | # | | 21 | # |
22 | CONFIGURE_ENV+= ac_cv_lib_intl_main=no | | 22 | CONFIGURE_ENV+= ac_cv_lib_intl_main=no |
23 | CONFIGURE_ENV+= ac_cv_lib_termcap_tgetent=no | | 23 | CONFIGURE_ENV+= ac_cv_lib_termcap_tgetent=no |
24 | CONFIGURE_ENV+= ac_cv_lib_curses_tgetent=no | | 24 | CONFIGURE_ENV+= ac_cv_lib_curses_tgetent=no |
25 | CONFIGURE_ENV+= ac_cv_lib_ncurses_tgetent=no | | 25 | CONFIGURE_ENV+= ac_cv_lib_ncurses_tgetent=no |
26 | CONFIGURE_ENV+= ac_cv_lib_readline_readline=no | | 26 | CONFIGURE_ENV+= ac_cv_lib_readline_readline=no |
| | | 27 | CONFIGURE_ENV+= MAILER=${TOOLS_PATH.mail} |
27 | | | 28 | |
28 | # post-install: | | 29 | # post-install: |
29 | # ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/amanda | | 30 | # ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/amanda |
30 | # ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/amanda | | 31 | # ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/amanda |
31 | # for i in ${WRKDIR}/${DISTNAME}/docs/* ; do \ | | 32 | # for i in ${WRKDIR}/${DISTNAME}/docs/* ; do \ |
32 | # ${INSTALL_DATA} $$i ${PREFIX}/share/doc/amanda; \ | | 33 | # ${INSTALL_DATA} $$i ${PREFIX}/share/doc/amanda; \ |
33 | # done | | 34 | # done |
34 | # for i in ${WRKDIR}/${DISTNAME}/example/8.5x11.ps \ | | 35 | # for i in ${WRKDIR}/${DISTNAME}/example/8.5x11.ps \ |
35 | # ${WRKDIR}/${DISTNAME}/example/DIN-A4.ps \ | | 36 | # ${WRKDIR}/${DISTNAME}/example/DIN-A4.ps \ |
36 | # ${WRKDIR}/${DISTNAME}/example/DLT.ps \ | | 37 | # ${WRKDIR}/${DISTNAME}/example/DLT.ps \ |
37 | # ${WRKDIR}/${DISTNAME}/example/EXB-8500.ps \ | | 38 | # ${WRKDIR}/${DISTNAME}/example/EXB-8500.ps \ |
38 | # ${WRKDIR}/${DISTNAME}/example/HP-DAT.ps \ | | 39 | # ${WRKDIR}/${DISTNAME}/example/HP-DAT.ps \ |
39 | # ${WRKDIR}/${DISTNAME}/example/amanda.conf \ | | 40 | # ${WRKDIR}/${DISTNAME}/example/amanda.conf \ |