2009-10-10 06:48:49 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.8 2009/10/10 10:48:49 sthen Exp $
|
2008-06-15 03:22:57 -04:00
|
|
|
|
|
|
|
COMMENT-main = little brother's database, email address query tools
|
|
|
|
COMMENT-ldap = LDAP support for little brother's database
|
|
|
|
|
2009-04-13 09:23:35 -04:00
|
|
|
VERSION = 0.36
|
2008-11-07 09:09:08 -05:00
|
|
|
DISTNAME = lbdb_${VERSION}
|
2008-06-15 03:22:57 -04:00
|
|
|
|
2009-06-25 18:45:56 -04:00
|
|
|
# bump all subpackages together
|
2009-10-10 06:48:49 -04:00
|
|
|
PKGNAME-main = lbdb-${VERSION}p4
|
|
|
|
PKGNAME-ldap = lbdb-ldap-${VERSION}p4
|
2008-06-15 03:22:57 -04:00
|
|
|
|
|
|
|
CATEGORIES = databases mail
|
|
|
|
|
|
|
|
HOMEPAGE = http://www.spinnaker.de/lbdb/
|
|
|
|
|
|
|
|
MULTI_PACKAGES = -main -ldap
|
|
|
|
|
2009-04-13 09:23:35 -04:00
|
|
|
# GPLv2+
|
2008-06-15 03:22:57 -04:00
|
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
|
|
PERMIT_PACKAGE_FTP = Yes
|
|
|
|
PERMIT_DISTFILES_CDROM =Yes
|
|
|
|
PERMIT_DISTFILES_FTP = Yes
|
|
|
|
|
|
|
|
RUN_DEPENDS-ldap = ::databases/p5-ldap \
|
|
|
|
:${FULLPKGNAME-main}:databases/lbdb
|
|
|
|
|
2009-04-18 05:02:05 -04:00
|
|
|
MODULES = converters/libiconv
|
|
|
|
WANTLIB-main = c
|
|
|
|
LIB_DEPENDS-ldap =
|
2008-06-15 03:22:57 -04:00
|
|
|
|
|
|
|
MASTER_SITES = http://www.spinnaker.de/debian/
|
|
|
|
|
|
|
|
MAKE_ENV = install_prefix=${WRKINST}
|
|
|
|
|
|
|
|
USE_GMAKE = Yes
|
|
|
|
CONFIGURE_STYLE = gnu
|
|
|
|
|
|
|
|
CONFIGURE_ARGS += --libdir=${PREFIX}/lib/lbdb \
|
2009-04-18 05:02:05 -04:00
|
|
|
--with-libiconv-prefix=${LOCALBASE} \
|
2008-06-15 03:22:57 -04:00
|
|
|
--without-abook \
|
|
|
|
--without-addr-email \
|
|
|
|
--without-niscat \
|
|
|
|
--without-gpg \
|
|
|
|
--without-pgpk \
|
|
|
|
--without-pgp \
|
|
|
|
--without-evolution-addressbook-export \
|
|
|
|
--enable-lbdb-dotlock
|
2009-06-08 13:13:49 -04:00
|
|
|
CONFIGURE_ENV = ac_cv_path_BASH=NONE \
|
|
|
|
ac_cv_path_GAWK=NONE \
|
2009-04-18 05:02:05 -04:00
|
|
|
CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \
|
|
|
|
LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib"
|
2008-06-15 03:22:57 -04:00
|
|
|
|
|
|
|
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>
|