12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- # $OpenBSD: Makefile,v 1.10 2017/04/21 13:27:46 kurt Exp $
- COMMENT = Common Lisp dialect for the Java Virtual Machine
- V = 1.4.0
- DISTNAME = abcl-src-${V}
- PKGNAME = abcl-${V}
- PKG_ARCH = *
- REVISION = 0
- CATEGORIES = lang
- HOMEPAGE = http://common-lisp.net/project/armedbear/
- MAINTAINER = Timo Myyra <timo.myyra@wickedbsd.net>
- # GPLv2
- PERMIT_PACKAGE_CDROM = Yes
- MASTER_SITES = ${HOMEPAGE}/releases/$V/
- MODULES = java
- MODJAVA_VER = 1.6+
- MODJAVA_BUILD = ant
- MODJAVA_BUILD_TARGET_NAME = abcl.jar
- MODJAVA_JRERUN = Yes
- RUN_DEPENDS = java/javaPathHelper \
- misc/rlwrap
- TEST_TARGET = abcl.test
- ABCL_HOME = ${PREFIX}/abcl
- do-install:
- ${INSTALL_DATA_DIR} ${ABCL_HOME}
- ${INSTALL_DATA} ${WRKSRC}/dist/abcl.jar ${ABCL_HOME}
- ${INSTALL_DATA} ${WRKSRC}/dist/abcl-contrib.jar ${ABCL_HOME}
- ${SUBST_PROGRAM} ${FILESDIR}/abcl ${PREFIX}/bin/abcl
- cd ${WRKDIST} && tar -cf - src | tar -C ${ABCL_HOME} -xf -
- chown -R ${SHAREOWN}:${SHAREGRP} ${ABCL_HOME}/src
- ${INSTALL_DATA} ${FILESDIR}/abcl_completions ${ABCL_HOME}
- do-test:
- cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${LOCALBASE}/bin/ant ${TEST_TARGET}
- # maintainer target to generate completions file
- completions: install
- ${LOCALBASE}/bin/abcl --noinit --load ${FILESDIR}/gen-completions.lisp
- .include <bsd.port.mk>
|