bc7412fbf0
Little Brother Database is a simple email address database, originally designed for Mutt, but working with other software. It can query multiple backends, including local files of many formats, and some network sources, including finger and YP/NIS. LDAP support is available in the lbdb-ldap package. requested by marco@
56 lines
1.2 KiB
Makefile
56 lines
1.2 KiB
Makefile
# $OpenBSD: Makefile,v 1.1.1.1 2008/06/15 07:22:57 sthen Exp $
|
|
|
|
COMMENT-main = little brother's database, email address query tools
|
|
COMMENT-ldap = LDAP support for little brother's database
|
|
|
|
DISTNAME = lbdb_0.35.1
|
|
|
|
PKGNAME = ${DISTNAME:S/_/-/}
|
|
FULLPKGNAME-main = ${PKGNAME}
|
|
|
|
CATEGORIES = databases mail
|
|
|
|
HOMEPAGE = http://www.spinnaker.de/lbdb/
|
|
|
|
MULTI_PACKAGES = -main -ldap
|
|
|
|
# GPL
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
PERMIT_PACKAGE_FTP = Yes
|
|
PERMIT_DISTFILES_CDROM =Yes
|
|
PERMIT_DISTFILES_FTP = Yes
|
|
|
|
RUN_DEPENDS-main = ::textproc/gsed \
|
|
::sysutils/ggrep
|
|
|
|
RUN_DEPENDS-ldap = ::databases/p5-ldap \
|
|
:${FULLPKGNAME-main}:databases/lbdb
|
|
|
|
WANTLIB = c
|
|
|
|
MASTER_SITES = http://www.spinnaker.de/debian/
|
|
|
|
MAKE_ENV = install_prefix=${WRKINST}
|
|
|
|
USE_GMAKE = Yes
|
|
CONFIGURE_STYLE = gnu
|
|
|
|
CONFIGURE_ARGS += --libdir=${PREFIX}/lib/lbdb \
|
|
--without-abook \
|
|
--without-addr-email \
|
|
--without-niscat \
|
|
--without-gpg \
|
|
--without-pgpk \
|
|
--without-pgp \
|
|
--without-evolution-addressbook-export \
|
|
--enable-lbdb-dotlock
|
|
|
|
WRKDIST = ${WRKDIR}/${DISTNAME:S/_/-/}
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${WRKINST}/${TRUEPREFIX}/share/examples/lbdb
|
|
mv ${WRKINST}/etc/lbdb.rc ${WRKINST}/etc/lbdb_ldap.rc \
|
|
${WRKINST}/${TRUEPREFIX}/share/examples/lbdb
|
|
|
|
.include <bsd.port.mk>
|