pkgsrc/sysutils/amanda-common/Makefile
rillig 7a95adad42 The real user name in PKG_USERS does not need to be escaped with double
backslashes anymore. A single backslash is enough. Changed the
definition in all affected packages. For those that are not caught, an
additional check is placed into bsd.pkginstall.mk.
2005-08-23 11:48:47 +00:00

36 lines
1 KiB
Makefile

# $NetBSD: Makefile,v 1.36 2005/08/23 11:48:51 rillig Exp $
PKGNAME= amanda-common-${VERS}
PKGREVISION= 2
SVR4_PKGNAME= amaco
COMMENT= Common libraries and binaries for Amanda
USE_PKGINSTALL= YES
.include "../../mk/bsd.prefs.mk"
.include "../../sysutils/amanda-common/Makefile.common"
.if ${OPSYS} == "NetBSD"
CPPFLAGS= # empty
.elif ${OPSYS} == "SunOS"
CPPFLAGS+= -D_LARGEFILE64_SOURCE
.endif
CONFIGURE_ARGS+= --without-server --without-restore --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}::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
.include "../../mk/bsd.pkg.mk"