19b36ff80e
Leiningen, is a build automation tool for the Clojure programming language. ok aja@
47 lines
967 B
Makefile
47 lines
967 B
Makefile
# $OpenBSD: Makefile,v 1.1.1.1 2011/09/21 13:40:16 jasper Exp $
|
|
|
|
COMMENT= tool for building of code, written in Clojure
|
|
|
|
# Full tarball with the script and the leiningen jar taken from github
|
|
V= 1.6.1.1
|
|
DISTNAME= leiningen-$V
|
|
|
|
CATEGORIES= devel java
|
|
|
|
HOMEPAGE= https://github.com/technomancy/leiningen
|
|
|
|
# EPLv1.0
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
MASTER_SITES= http://distfiles.nl/
|
|
|
|
NO_BUILD= Yes
|
|
NO_REGRESS= Yes
|
|
PKG_ARCH= *
|
|
|
|
MODULES= java
|
|
MODJAVA_VER= 1.6+
|
|
|
|
RUN_DEPENDS= devel/apache-ant \
|
|
lang/clojure \
|
|
java/asm \
|
|
java/javaPathHelper \
|
|
shells/bash
|
|
|
|
SUBST_VARS+= MODJAVA_SHARE_DIR \
|
|
MODJAVA_JAR_DIR
|
|
|
|
do-configure:
|
|
${SUBST_CMD} ${WRKSRC}/lein
|
|
|
|
do-install:
|
|
${INSTALL_SCRIPT} ${WRKSRC}/lein ${PREFIX}/bin/
|
|
${INSTALL_DATA_DIR} ${MODJAVA_JAR_DIR}/lein/
|
|
${INSTALL_DATA} ${WRKSRC}/leiningen-$V-standalone.jar \
|
|
${MODJAVA_JAR_DIR}/lein/leiningen-standalone.jar
|
|
|
|
.include <bsd.port.mk>
|