Makefile 737 B

123456789101112131415161718192021222324252627282930313233
  1. # $OpenBSD: Makefile,v 1.19 2013/03/11 11:41:28 espie Exp $
  2. COMMENT = Python implementation of the Rijndael encryption algorithm
  3. MODPY_EGG_VERSION = 1.4
  4. DISTNAME = pyrijndael-v${MODPY_EGG_VERSION:S/./_/}
  5. PKGNAME = py-Rijndael-${MODPY_EGG_VERSION}
  6. REVISION= 2
  7. CATEGORIES = security devel
  8. HOMEPAGE = http://jclement.ca/software/pyrijndael/
  9. # BSD
  10. PERMIT_PACKAGE_CDROM = Yes
  11. MASTER_SITES = ${HOMEPAGE}
  12. MODULES = lang/python
  13. WRKSRC = ${WRKDIR}/pyrijndael
  14. do-build:
  15. ${MODPY_BIN} ${MODPY_LIBDIR}/compileall.py ${WRKSRC}
  16. do-install:
  17. ${INSTALL_DATA_DIR} ${WRKINST}${MODPY_SITEPKG}
  18. ${INSTALL_DATA} ${WRKSRC}/pyRijndael.* ${WRKINST}${MODPY_SITEPKG}
  19. do-test:
  20. @cd ${WRKSRC} && ${MODPY_BIN} ./pyRijndael.py
  21. .include <bsd.port.mk>