blob: 3f6d0400d04ed32eaceeabfa6f74b1cabb51c71f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
# $NetBSD: Makefile,v 1.49 2012/07/30 06:57:22 sbd Exp $
PKGNAME= amanda-server-${AMANDA_VERSION}
PKGREVISION= 2
SVR4_PKGNAME= amase
COMMENT= Server part of Amanda, a network backup system
PKG_DESTDIR_SUPPORT= destdir
USE_TOOLS+= awk:run perl:run mail:run
DEPENDS+= p5-Perl4-CoreLibs-[0-9]*:../../devel/p5-Perl4-CoreLibs
.include "../../mk/bsd.prefs.mk"
.include "../../sysutils/amanda-common/Makefile.common"
CONFIGURE_ARGS+= --without-client
# Prevent configure script from finding unnecessary libraries.
#
CONFIGURE_ENV+= ac_cv_lib_intl_main=no
CONFIGURE_ENV+= ac_cv_lib_termcap_tgetent=no
CONFIGURE_ENV+= ac_cv_lib_curses_tgetent=no
CONFIGURE_ENV+= ac_cv_lib_ncurses_tgetent=no
CONFIGURE_ENV+= ac_cv_lib_readline_readline=no
CONFIGURE_ENV+= MAILER=${TOOLS_PATH.mail}
# post-install:
# ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/amanda
# ${INSTALL_DATA_DIR} ${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
PLIST_VARS+= scsi
.if ${OPSYS} != "SunOS"
PLIST.scsi= yes
.endif
.include "../../sysutils/amanda-common/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|