Makefile 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. # $OpenBSD: Makefile,v 1.30 2017/04/21 13:27:46 kurt Exp $
  2. COMMENT= regression testing utility for use with the Java language
  3. VERSION= 4.9
  4. DISTNAME= junit${VERSION}
  5. REVISION= 2
  6. PKGNAME= junit-${VERSION}
  7. CATEGORIES= devel
  8. HOMEPAGE= http://www.junit.org/
  9. MAINTAINER= Ian Darwin <ian@openbsd.org>
  10. # Common Public License - v1.0
  11. # Commercial distribution defend and indemnify clauses
  12. PERMIT_PACKAGE_CDROM= No
  13. PERMIT_PACKAGE_FTP= Yes
  14. # github is bad for getting reliable distfiles from.
  15. MASTER_SITES= https://distfiles.nl/
  16. EXTRACT_SUFX= .zip
  17. MODULES= java
  18. MODJAVA_VER= 1.6+
  19. MODJAVA_JRERUN= yes
  20. NO_BUILD= Yes
  21. NO_TEST= Yes
  22. JAR_DIR= ${PREFIX}/share/java/classes/junit/
  23. DOC_DIR= ${PREFIX}/share/java/junit/
  24. do-install:
  25. ${INSTALL_DATA_DIR} ${JAR_DIR} ${DOC_DIR}
  26. ${INSTALL_DATA} ${WRKSRC}/README.html ${DOC_DIR}
  27. ${INSTALL_DATA} ${WRKSRC}/cpl-v10.html ${DOC_DIR}
  28. cp ${WRKSRC}/junit-${VERSION}.jar ${JAR_DIR}/junit.jar
  29. cp ${WRKSRC}/junit-${VERSION}-src.jar ${JAR_DIR}/junit-src.jar
  30. cp -R ${WRKSRC}/doc ${DOC_DIR}
  31. cp -R ${WRKSRC}/javadoc ${DOC_DIR}
  32. .include <bsd.port.mk>