Makefile 752 B

1234567891011121314151617181920212223242526272829303132
  1. # $OpenBSD: Makefile,v 1.5 2016/03/12 22:25:48 naddy Exp $
  2. COMMENT = creating and reading constant databases
  3. DISTNAME = tinycdb-0.78
  4. CATEGORIES = databases
  5. SHARED_LIBS = cdb 0.0
  6. HOMEPAGE = http://www.corpit.ru/mjt/tinycdb.html
  7. MASTER_SITES = http://www.corpit.ru/mjt/tinycdb/
  8. MAINTAINER = Christian Rueger <cr+openbsd@rueger-net.de>
  9. # Public domain
  10. PERMIT_PACKAGE_CDROM = Yes
  11. WANTLIB = c
  12. MAKE_FLAGS = CC="${CC}" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" \
  13. SHAREDLIB="libcdb.so.${LIBcdb_VERSION}" \
  14. prefix="${PREFIX}" sysconfdir="${SYSCONFDIR}" \
  15. INSTALLPROG="cdb-shared"
  16. ALL_TARGET = all shared
  17. INSTALL_TARGET = install install-sharedlib
  18. TEST_TARGET = tests-shared
  19. post-install:
  20. rm -f "${PREFIX}/lib/libcdb.so"
  21. .include <bsd.port.mk>