Makefile 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. # $OpenBSD: Makefile,v 1.10 2017/04/21 13:27:46 kurt Exp $
  2. COMMENT = Common Lisp dialect for the Java Virtual Machine
  3. V = 1.4.0
  4. DISTNAME = abcl-src-${V}
  5. PKGNAME = abcl-${V}
  6. PKG_ARCH = *
  7. REVISION = 0
  8. CATEGORIES = lang
  9. HOMEPAGE = http://common-lisp.net/project/armedbear/
  10. MAINTAINER = Timo Myyra <timo.myyra@wickedbsd.net>
  11. # GPLv2
  12. PERMIT_PACKAGE_CDROM = Yes
  13. MASTER_SITES = ${HOMEPAGE}/releases/$V/
  14. MODULES = java
  15. MODJAVA_VER = 1.6+
  16. MODJAVA_BUILD = ant
  17. MODJAVA_BUILD_TARGET_NAME = abcl.jar
  18. MODJAVA_JRERUN = Yes
  19. RUN_DEPENDS = java/javaPathHelper \
  20. misc/rlwrap
  21. TEST_TARGET = abcl.test
  22. ABCL_HOME = ${PREFIX}/abcl
  23. do-install:
  24. ${INSTALL_DATA_DIR} ${ABCL_HOME}
  25. ${INSTALL_DATA} ${WRKSRC}/dist/abcl.jar ${ABCL_HOME}
  26. ${INSTALL_DATA} ${WRKSRC}/dist/abcl-contrib.jar ${ABCL_HOME}
  27. ${SUBST_PROGRAM} ${FILESDIR}/abcl ${PREFIX}/bin/abcl
  28. cd ${WRKDIST} && tar -cf - src | tar -C ${ABCL_HOME} -xf -
  29. chown -R ${SHAREOWN}:${SHAREGRP} ${ABCL_HOME}/src
  30. ${INSTALL_DATA} ${FILESDIR}/abcl_completions ${ABCL_HOME}
  31. do-test:
  32. cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${LOCALBASE}/bin/ant ${TEST_TARGET}
  33. # maintainer target to generate completions file
  34. completions: install
  35. ${LOCALBASE}/bin/abcl --noinit --load ${FILESDIR}/gen-completions.lisp
  36. .include <bsd.port.mk>