- fix indent of do-install
- add missing rcs id - reformat DESCR - protect $@ in the clojure script ok ian@ (MAINTAINER)
This commit is contained in:
parent
ad3333c06b
commit
f83eb1cb1d
@ -1,11 +1,11 @@
|
||||
# $OpenBSD: Makefile,v 1.2 2010/12/12 17:28:16 ian Exp $
|
||||
# $OpenBSD: Makefile,v 1.3 2010/12/13 16:04:28 jasper Exp $
|
||||
|
||||
COMMENT = Lisp-1 dialect for the Java Virtual Machine
|
||||
|
||||
V = 1.2.0
|
||||
DISTNAME = clojure-${V}
|
||||
EXTRACT_SUFX = .zip
|
||||
REVISION = 0
|
||||
REVISION = 1
|
||||
PKG_ARCH = *
|
||||
|
||||
CATEGORIES = lang java
|
||||
@ -35,13 +35,13 @@ 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
|
||||
cd ${WRKDIST} && tar -cf - src | \
|
||||
tar -C ${CLOJURE_HOME} -xf -
|
||||
${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${CLOJURE_HOME}/src
|
||||
${INSTALL_DATA_DIR} ${CLOJURE_HOME}
|
||||
${INSTALL_DATA} ${WRKDIST}/clojure.jar ${CLOJURE_HOME}
|
||||
@${SUBST_CMD} -o ${BINOWN} -g ${BINGRP} -c \
|
||||
${FILESDIR}/clojure \
|
||||
${PREFIX}/bin/clojure
|
||||
cd ${WRKDIST} && tar -cf - src | \
|
||||
tar -C ${CLOJURE_HOME} -xf -
|
||||
${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${CLOJURE_HOME}/src
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,5 +1,7 @@
|
||||
#!/bin/ksh
|
||||
#
|
||||
# $OpenBSD: clojure,v 1.3 2010/12/13 16:04:28 jasper Exp $
|
||||
|
||||
JAVA_CMD=$(javaPathHelper -c clojure)
|
||||
|
||||
${JAVA_CMD} -jar ${TRUEPREFIX}/clojure/clojure.jar $@
|
||||
${JAVA_CMD} -jar ${TRUEPREFIX}/clojure/clojure.jar "$@"
|
||||
|
@ -1,17 +1,16 @@
|
||||
"Clojure is a dynamic programming language that targets the Java
|
||||
Virtual Machine. It is designed to be a general-purpose language,
|
||||
combining the approachability and interactive development of a
|
||||
scripting language with an efficient and robust infrastructure for
|
||||
multithreaded programming. Clojure is a compiled language - it
|
||||
compiles directly to JVM bytecode, yet remains completely dynamic.
|
||||
Every feature supported by Clojure is supported at runtime. Clojure
|
||||
provides easy access to the Java frameworks, with optional type
|
||||
hints and type inference, to ensure that calls to Java can avoid
|
||||
reflection.
|
||||
"Clojure is a dynamic programming language that targets the Java Virtual
|
||||
Machine. It is designed to be a general-purpose language, combining the
|
||||
approachability and interactive development of a scripting language with
|
||||
an efficient and robust infrastructure for multithreaded programming.
|
||||
Clojure is a compiled language - it compiles directly to JVM bytecode,
|
||||
yet remains completely dynamic. Every feature supported by Clojure is
|
||||
supported at runtime. Clojure provides easy access to the Java
|
||||
frameworks, with optional type hints and type inference, to ensure that
|
||||
calls to Java can avoid reflection."
|
||||
|
||||
"Clojure is a dialect of Lisp, and shares with Lisp the code-as-data
|
||||
philosophy and a powerful macro system. Clojure is predominantly a
|
||||
functional programming language, and features a rich set of immutable,
|
||||
persistent data structures. When mutable state is needed, Clojure
|
||||
offers a software transactional memory system and reactive Agent
|
||||
system that ensure clean, correct, multithreaded designs."
|
||||
persistent data structures. When mutable state is needed, Clojure offers
|
||||
a software transactional memory system and reactive Agent system that
|
||||
ensure clean, correct, multithreaded designs."
|
||||
|
Loading…
Reference in New Issue
Block a user