Makefile 699 B

12345678910111213141516171819202122232425262728293031323334
  1. # $OpenBSD: Makefile,v 1.13 2015/04/21 18:40:20 sthen Exp $
  2. COMMENT= Python extension module for accessing cdb databases
  3. DISTNAME= python-cdb-0.32
  4. PKGNAME= ${DISTNAME:S/python/py/}
  5. REVISION = 9
  6. CATEGORIES= databases
  7. HOMEPAGE= http://pilcrow.madison.wi.us/
  8. # GPL
  9. PERMIT_PACKAGE_CDROM= Yes
  10. WANTLIB += ${MODPY_WANTLIB}
  11. WANTLIB += pthread
  12. MASTER_SITES= ${HOMEPAGE}/python-cdb/
  13. MODULES= lang/python
  14. NO_TEST= Yes
  15. DOCSDIR= ${PREFIX}/share/doc/py-cdb
  16. EXAMPLESDIR= ${PREFIX}/share/examples/py-cdb
  17. post-install:
  18. ${INSTALL_DATA_DIR} ${DOCSDIR}
  19. ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
  20. ${INSTALL_DATA_DIR} ${EXAMPLESDIR}
  21. ${INSTALL_DATA} ${WRKSRC}/Example ${EXAMPLESDIR}
  22. .include <bsd.port.mk>