pkgsrc/databases/lbdb/Makefile
sbd 0fea84f4dc Convert packages with add --libdir=* to CONFIGURE_ARGS to use
GNU_CONFIGURE_LIBDIR or GNU_CONFIGURE_LIBSUBDIR.
2012-01-17 21:43:18 +00:00

45 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.22 2012/01/17 21:43:18 sbd Exp $
DISTNAME= lbdb_0.35.1
PKGNAME= ${DISTNAME:S/_/-/}
CATEGORIES= databases
MASTER_SITES= http://www.spinnaker.de/debian/
MAINTAINER= tonio@NetBSD.org
HOMEPAGE= http://www.spinnaker.de/lbdb/
COMMENT= The little brother's database
PKG_DESTDIR_SUPPORT= user-destdir
DEPENDS+= p5-perl-ldap>=0.20:../../databases/p5-perl-ldap
GNU_CONFIGURE= yes
USE_TOOLS+= gmake perl:run
GNU_CONFIGURE_LIBDIR= ${PREFIX}/libexec/lbdb
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q}
CONFIGURE_ARGS+= --enable-lbdb_dotlock
CONFIGURE_ARGS+= --without-getent
CONFIGURE_ARGS+= --without-evolution-addressbook-export
CONFIGURE_ARGS+= --without-pgp
CONFIGURE_ARGS+= --without-pgpk
CONFIGURE_ENV+= SH=${TOOLS_SH:Q}
CONFIGURE_ENV+= AWK=${TOOLS_AWK:Q}
.include "options.mk"
WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
EGDIR= ${PREFIX}/share/examples/lbdb
CONF_FILES+= ${EGDIR}/lbdb.rc ${PKG_SYSCONFDIR}/lbdb.rc
CONF_FILES+= ${EGDIR}/lbdb_ldap.rc ${PKG_SYSCONFDIR}/lbdb_ldap.rc
PLIST_VARS+= yp
.if ${OPSYS} != "Interix"
PLIST.yp= yes
.endif
INSTALL_MAKE_FLAGS+= install_prefix=${DESTDIR}
.include "../../mk/bsd.pkg.mk"