summaryrefslogtreecommitdiff
path: root/databases/lbdb/Makefile
blob: 745f52820888c401244a8e5a299e6e9acb3ace12 (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
39
40
41
42
# $NetBSD: Makefile,v 1.19 2007/06/10 21:12:51 tonio 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

DEPENDS+=		p5-perl-ldap>=0.20:../../databases/p5-perl-ldap

GNU_CONFIGURE=		yes
USE_TOOLS+=		gmake perl:run

CONFIGURE_ARGS+=	--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

.if ${OPSYS} == "Interix"
PLIST_SUBST+=		WITHYP='@comment '
.else
PLIST_SUBST+=		WITHYP=''
.endif

.include "../../mk/bsd.pkg.mk"