Makefile 850 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. # $OpenBSD: Makefile,v 1.10 2014/10/01 09:07:57 jasper Exp $
  2. COMMENT= yEnc encoding/decoding extension for Python
  3. DISTNAME= yenc-0.3
  4. PKGNAME= py-${DISTNAME}
  5. REVISION = 5
  6. CATEGORIES= news
  7. HOMEPAGE= http://www.hellanzb.com/
  8. MASTER_SITES= ${HOMEPAGE}hellanzb-content/
  9. MAINTAINER= Mikko Tolmunen <oskari@sefirosu.org>
  10. # GPLv2
  11. PERMIT_PACKAGE_CDROM= Yes
  12. MODULES= lang/python
  13. WANTLIB= pthread ${MODPY_WANTLIB}
  14. TEST_DEPENDS= news/py-yenc
  15. CFLAGS+= -g -O2
  16. post-install:
  17. ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/py-yenc
  18. ${INSTALL_DATA} ${WRKSRC}/{README,doc/yenc-draft.1.3.txt} \
  19. ${PREFIX}/share/doc/py-yenc
  20. ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/py-yenc
  21. cd ${WRKSRC}/examples; tar -cf - * | \
  22. (cd ${PREFIX}/share/examples/py-yenc; tar -xf -)
  23. do-test:
  24. cd ${WRKSRC}/test && ${MODPY_BIN} test.py
  25. .include <bsd.port.mk>