2011-09-16 08:47:50 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.10 2011/09/16 12:47:50 jasper Exp $
|
2010-12-08 16:21:14 -05:00
|
|
|
|
|
|
|
COMMENT = Lisp-1 dialect for the Java Virtual Machine
|
|
|
|
|
2011-06-23 03:40:25 -04:00
|
|
|
V = 1.2.1
|
2010-12-08 16:21:14 -05:00
|
|
|
DISTNAME = clojure-${V}
|
2011-09-16 08:47:50 -04:00
|
|
|
REVISION = 5
|
2010-12-08 16:21:14 -05:00
|
|
|
EXTRACT_SUFX = .zip
|
|
|
|
PKG_ARCH = *
|
|
|
|
|
2011-08-30 13:16:35 -04:00
|
|
|
CATEGORIES = lang
|
2010-12-08 16:21:14 -05:00
|
|
|
|
|
|
|
HOMEPAGE = http://www.clojure.org/
|
|
|
|
|
2011-08-30 15:52:22 -04:00
|
|
|
MAINTAINER= Jasper Lievisse Adriaanse <jasper@openbsd.org>
|
2010-12-08 16:21:14 -05:00
|
|
|
|
|
|
|
# Eclipse Public License EPL 1.0
|
|
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
|
|
PERMIT_PACKAGE_FTP = Yes
|
|
|
|
PERMIT_DISTFILES_CDROM = Yes
|
|
|
|
PERMIT_DISTFILES_FTP = Yes
|
|
|
|
|
|
|
|
MASTER_SITES = http://github.com/downloads/clojure/clojure/
|
|
|
|
|
|
|
|
MODULES = java
|
2010-12-12 12:28:16 -05:00
|
|
|
MODJAVA_VER = 1.6+
|
2010-12-08 16:21:14 -05:00
|
|
|
MODJAVA_JRERUN = Yes
|
|
|
|
|
2011-08-24 03:50:40 -04:00
|
|
|
RUN_DEPENDS = java/javaPathHelper \
|
|
|
|
misc/rlwrap
|
2010-12-08 16:21:14 -05:00
|
|
|
|
|
|
|
NO_BUILD = Yes
|
|
|
|
NO_REGRESS = Yes
|
|
|
|
|
|
|
|
CLOJURE_HOME = ${PREFIX}/clojure
|
|
|
|
|
|
|
|
do-install:
|
2010-12-13 11:04:28 -05:00
|
|
|
${INSTALL_DATA_DIR} ${CLOJURE_HOME}
|
|
|
|
${INSTALL_DATA} ${WRKDIST}/clojure.jar ${CLOJURE_HOME}
|
|
|
|
@${SUBST_CMD} -o ${BINOWN} -g ${BINGRP} -c \
|
|
|
|
${FILESDIR}/clojure \
|
|
|
|
${PREFIX}/bin/clojure
|
2011-06-23 03:40:25 -04:00
|
|
|
cd ${WRKDIST} && tar -cf - src | tar -C ${CLOJURE_HOME} -xf -
|
2010-12-13 11:04:28 -05:00
|
|
|
${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${CLOJURE_HOME}/src
|
2010-12-08 16:21:14 -05:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|