2012-07-30 09:01:32 +02:00
|
|
|
# $NetBSD: Makefile,v 1.53 2012/07/30 07:01:32 sbd Exp $
|
1999-02-23 18:03:41 +01:00
|
|
|
|
2012-07-30 08:57:21 +02:00
|
|
|
PKGNAME= amanda-common-${AMANDA_VERSION}
|
2001-10-18 17:20:01 +02:00
|
|
|
SVR4_PKGNAME= amaco
|
2008-07-29 19:21:39 +02:00
|
|
|
PKGREVISION= 2
|
1999-02-23 18:03:41 +01:00
|
|
|
|
2003-06-07 16:47:16 +02:00
|
|
|
COMMENT= Common libraries and binaries for Amanda
|
1999-02-23 18:03:41 +01:00
|
|
|
|
2009-12-11 18:21:30 +01:00
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
2000-08-17 04:26:26 +02:00
|
|
|
|
1999-09-06 21:30:19 +02:00
|
|
|
.include "../../sysutils/amanda-common/Makefile.common"
|
1999-04-21 16:14:32 +02:00
|
|
|
|
2012-07-30 09:00:12 +02:00
|
|
|
.if ${OPSYS} == "SunOS"
|
2001-06-11 08:34:17 +02:00
|
|
|
CPPFLAGS+= -D_LARGEFILE64_SOURCE
|
1999-04-21 16:14:32 +02:00
|
|
|
.endif
|
1999-02-23 18:03:41 +01:00
|
|
|
|
2012-07-30 09:00:50 +02:00
|
|
|
CONFIGURE_ARGS+= --without-server --without-client --without-gnuplot
|
1999-02-23 18:03:41 +01:00
|
|
|
|
2001-05-29 18:01:57 +02:00
|
|
|
# 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
|
|
|
|
|
2001-11-26 21:38:31 +01:00
|
|
|
PKG_GROUPS= ${AMANDA_GROUP}
|
2006-04-23 02:12:35 +02:00
|
|
|
PKG_USERS= ${AMANDA_USER}:${AMANDA_GROUP}
|
|
|
|
|
2009-12-11 18:36:36 +01:00
|
|
|
PKG_GECOS.${AMANDA_USER}= Amanda pseudo-user
|
2006-04-23 02:12:35 +02:00
|
|
|
PKG_SHELL.${AMANDA_USER}= ${SH}
|
2001-06-14 23:54:35 +02:00
|
|
|
|
2012-07-30 09:01:32 +02:00
|
|
|
OWN_DIRS_PERMS= ${AMANDA_VAR} ${AMANDA_USER} ${AMANDA_GROUP} 0750
|
|
|
|
OWN_DIRS_PERMS+= ${AMANDA_VAR}/gnutar-lists ${AMANDA_USER} ${AMANDA_GROUP} 0750
|
1999-08-18 10:28:09 +02:00
|
|
|
|
2009-12-22 21:58:54 +01:00
|
|
|
INSTALL_MAKE_FLAGS+= SETUID_GROUP=${ROOT_GROUP}
|
|
|
|
|
1999-02-23 18:03:41 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|