openbsd-ports/lang/clojure/Makefile

47 lines
1.0 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.10 2011/09/16 12:47:50 jasper Exp $
COMMENT = Lisp-1 dialect for the Java Virtual Machine
2011-06-23 03:40:25 -04:00
V = 1.2.1
DISTNAME = clojure-${V}
REVISION = 5
EXTRACT_SUFX = .zip
PKG_ARCH = *
CATEGORIES = lang
HOMEPAGE = http://www.clojure.org/
MAINTAINER= Jasper Lievisse Adriaanse <jasper@openbsd.org>
# 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
MODJAVA_VER = 1.6+
MODJAVA_JRERUN = Yes
RUN_DEPENDS = java/javaPathHelper \
misc/rlwrap
NO_BUILD = Yes
NO_REGRESS = Yes
CLOJURE_HOME = ${PREFIX}/clojure
do-install:
${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 -
${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${CLOJURE_HOME}/src
.include <bsd.port.mk>