blob: cd8e25b7f80a0ccced694dbf6232cdd8e80c182d (
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
|
# $NetBSD: Makefile,v 1.51 2012/07/30 07:00:12 sbd Exp $
PKGNAME= amanda-common-${AMANDA_VERSION}
SVR4_PKGNAME= amaco
PKGREVISION= 2
COMMENT= Common libraries and binaries for Amanda
PKG_DESTDIR_SUPPORT= user-destdir
.include "../../sysutils/amanda-common/Makefile.common"
.if ${OPSYS} == "SunOS"
CPPFLAGS+= -D_LARGEFILE64_SOURCE
.endif
CONFIGURE_ARGS+= --without-server --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
PKG_GROUPS= ${AMANDA_GROUP}
PKG_USERS= ${AMANDA_USER}:${AMANDA_GROUP}
PKG_GECOS.${AMANDA_USER}= Amanda pseudo-user
PKG_SHELL.${AMANDA_USER}= ${SH}
OWN_DIRS_PERMS= ${AMANDA_VAR} ${AMANDA_USER} ${AMANDA_GROUP} 0700
OWN_DIRS_PERMS+= ${AMANDA_VAR}/gnutar-lists ${AMANDA_USER} ${AMANDA_GROUP} 0700
INSTALL_MAKE_FLAGS+= SETUID_GROUP=${ROOT_GROUP}
.include "../../mk/bsd.pkg.mk"
|