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>
|