Makefile 659 B

123456789101112131415161718192021222324252627282930313233
  1. # $OpenBSD: Makefile,v 1.28 2017/04/24 13:26:16 sthen Exp $
  2. COMMENT= high performance embedded database library
  3. DISTNAME= qdbm-1.8.78
  4. CATEGORIES= databases
  5. SHARED_LIBS= qdbm 14.14
  6. REVISION= 1
  7. HOMEPAGE= http://fallabs.com/qdbm/
  8. # LGPLv2.1+
  9. PERMIT_PACKAGE_CDROM= Yes
  10. MASTER_SITES= ${HOMEPAGE}/
  11. WANTLIB= c iconv z
  12. LIB_DEPENDS= converters/libiconv
  13. CONFIGURE_STYLE= gnu
  14. CONFIGURE_ARGS= --enable-zlib \
  15. --enable-iconv
  16. MAKE_FLAGS= LIBVER=${LIBqdbm_VERSION:R} \
  17. LIBREV=${LIBqdbm_VERSION:E} \
  18. CC="${CC}" \
  19. CFLAGS="-Wall -pedantic -fPIC -fsigned-char ${CFLAGS}"
  20. pre-configure:
  21. ${SUBST_CMD} ${WRKSRC}/Makefile.in
  22. .include <bsd.port.mk>