Makefile 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. # $OpenBSD: Makefile,v 1.19 2016/04/29 11:03:43 naddy Exp $
  2. COMMENT-main = "little brother's database", email address query tools
  3. COMMENT-ldap = LDAP support for lbdb
  4. VERSION = 0.40
  5. DISTNAME = lbdb_${VERSION}
  6. PKGNAME-main = lbdb-${VERSION}
  7. PKGNAME-ldap = lbdb-ldap-${VERSION}
  8. CATEGORIES = databases mail
  9. HOMEPAGE = http://www.spinnaker.de/lbdb/
  10. MULTI_PACKAGES = -main -ldap
  11. # GPLv2+
  12. PERMIT_PACKAGE_CDROM = Yes
  13. RUN_DEPENDS-ldap = databases/p5-ldap \
  14. databases/lbdb
  15. LIB_DEPENDS-main = converters/libiconv
  16. WANTLIB-main = c iconv
  17. LIB_DEPENDS-ldap =
  18. WANTLIB-ldap =
  19. MASTER_SITES = http://www.spinnaker.de/debian/
  20. MAKE_ENV = install_prefix=${WRKINST}
  21. NO_TEST = Yes
  22. USE_GMAKE = Yes
  23. CONFIGURE_STYLE = gnu
  24. CONFIGURE_ARGS += --libdir=${PREFIX}/lib/lbdb \
  25. --with-libiconv-prefix=${LOCALBASE} \
  26. --without-abook \
  27. --without-addr-email \
  28. --without-niscat \
  29. --without-gpg \
  30. --without-pgpk \
  31. --without-pgp \
  32. --without-evolution-addressbook-export \
  33. --enable-lbdb-dotlock
  34. CONFIGURE_ENV = ac_cv_path_BASH=NONE \
  35. ac_cv_path_GAWK=NONE \
  36. CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \
  37. LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib"
  38. WRKDIST = ${WRKDIR}/${DISTNAME:S/_/-/}
  39. post-install:
  40. ${INSTALL_DATA_DIR} ${WRKINST}/${TRUEPREFIX}/share/examples/lbdb
  41. mv ${WRKINST}/etc/lbdb.rc ${WRKINST}/etc/lbdb_ldap.rc \
  42. ${WRKINST}/${TRUEPREFIX}/share/examples/lbdb
  43. .include <bsd.port.mk>