pkgsrc/sysutils/amanda-common/Makefile

39 lines
1.1 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.53 2012/07/30 07:01:32 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"
1999-04-21 16:14:32 +02:00
2012-07-30 09:00:12 +02:00
.if ${OPSYS} == "SunOS"
CPPFLAGS+= -D_LARGEFILE64_SOURCE
1999-04-21 16:14:32 +02:00
.endif
CONFIGURE_ARGS+= --without-server --without-client --without-gnuplot
# 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}
2009-12-11 18:36:36 +01:00
PKG_GECOS.${AMANDA_USER}= Amanda pseudo-user
PKG_SHELL.${AMANDA_USER}= ${SH}
OWN_DIRS_PERMS= ${AMANDA_VAR} ${AMANDA_USER} ${AMANDA_GROUP} 0750
OWN_DIRS_PERMS+= ${AMANDA_VAR}/gnutar-lists ${AMANDA_USER} ${AMANDA_GROUP} 0750
2009-12-22 21:58:54 +01:00
INSTALL_MAKE_FLAGS+= SETUID_GROUP=${ROOT_GROUP}
.include "../../mk/bsd.pkg.mk"