Makefile 781 B

123456789101112131415161718192021222324252627282930313233343536
  1. # $OpenBSD: Makefile,v 1.6 2017/04/21 13:27:46 kurt Exp $
  2. COMMENT= BCrypt library for Java
  3. DISTNAME= jBCrypt-0.4
  4. REVISION= 0
  5. CATEGORIES= security
  6. HOMEPAGE= http://www.mindrot.org/projects/jBCrypt/
  7. MAINTAINER= Stuart Henderson <sthen@openbsd.org>
  8. # ISC
  9. PERMIT_PACKAGE_CDROM= Yes
  10. MASTER_SITES= http://www.mindrot.org/files/jBCrypt/
  11. MODULES= java
  12. MODJAVA_VER= 1.6+
  13. MODJAVA_JRERUN= yes
  14. MODJAVA_BUILD= ant
  15. # JUnit tests exist but unsure how to handle non-ascii chars
  16. NO_TEST= Yes
  17. do-configure:
  18. cp ${FILESDIR}/build.xml ${WRKSRC}/
  19. do-install:
  20. ${INSTALL_DATA_DIR} ${MODJAVA_JAR_DIR} ${MODJAVA_DOC_DIR}/BCrypt
  21. ${INSTALL_DATA} ${WRKSRC}/build/lib/BCrypt.jar ${MODJAVA_JAR_DIR}
  22. ${INSTALL_DATA} ${WRKSRC}/{README,LICENSE} ${MODJAVA_DOC_DIR}/BCrypt
  23. .include <bsd.port.mk>