openbsd-ports/devel/leiningen/Makefile
2011-11-29 17:42:17 +00:00

43 lines
795 B
Makefile

# $OpenBSD: Makefile,v 1.3 2011/11/29 17:42:17 jasper Exp $
COMMENT= tool for building of code, written in Clojure
# lein-pkg script from github
DISTNAME= leiningen-1.6.2
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_JAR_DIR
do-configure:
${SUBST_CMD} ${WRKSRC}/lein-pkg
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/lein-pkg ${PREFIX}/bin/lein
${INSTALL_DATA_DIR} ${MODJAVA_JAR_DIR}/lein/
.include <bsd.port.mk>