Makefile 686 B

12345678910111213141516171819202122232425262728293031
  1. # $OpenBSD: Makefile,v 1.8 2017/04/21 13:27:46 kurt Exp $
  2. COMMENT= Java port of GNU getopt family functions
  3. DISTNAME= java-getopt-1.0.14
  4. CATEGORIES= devel
  5. REVISION= 0
  6. HOMEPAGE= http://www.urbanophile.com/arenn/hacking/download.html
  7. # LGPLv2+
  8. PERMIT_PACKAGE_CDROM= Yes
  9. MASTER_SITES= ${HOMEPAGE:=/../getopt/}
  10. WRKDIST= ${WRKDIR}
  11. MODULES= java
  12. MODJAVA_VER= 1.6+
  13. MODJAVA_BUILD= ant
  14. post-extract:
  15. cp ${WRKSRC}/gnu/getopt/buildx.xml ${WRKSRC}/build.xml
  16. do-install:
  17. ${INSTALL_DATA_DIR} ${MODJAVA_JAR_DIR} ${MODJAVA_DOC_DIR}/getopt/
  18. ${INSTALL_DATA} ${WRKSRC}/build/lib/gnu.getopt.jar ${MODJAVA_JAR_DIR}
  19. cp -r ${WRKSRC}/build/api/* ${MODJAVA_DOC_DIR}/getopt/
  20. .include <bsd.port.mk>