mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-13 03:03:15 +00:00
7556974c99
Exception in thread "main" java.lang.UnsupportedClassVersionError: org/apache/tools/ant/launch/Launcher : Unsupported major.minor version 52.0 Reported by: pkg-fallout
62 lines
1.5 KiB
Makefile
62 lines
1.5 KiB
Makefile
# Created by: Marcin Cieslak <saper@SYSTEM.PL>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= tn5250j
|
|
PORTVERSION= 0.6.0
|
|
PORTREVISION= 3
|
|
CATEGORIES= net java
|
|
MASTER_SITES= SF
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION}-src
|
|
|
|
MAINTAINER= saper@saper.info
|
|
COMMENT= 5250 terminal emulator for the AS/400 written in Java
|
|
|
|
BROKEN= fails to build
|
|
|
|
BUILD_DEPENDS= ${JAVALIBDIR}/mail.jar:java/javamail \
|
|
${JYTHON_JAR}:lang/jython \
|
|
${JAVALIBDIR}/jt400.jar:sysutils/jtopen \
|
|
${JAVALIBDIR}/itext.jar:devel/itext \
|
|
${JAVALIBDIR}/log4j.jar:devel/log4j
|
|
RUN_DEPENDS= ${JAVALIBDIR}/mail.jar:java/javamail \
|
|
${JYTHON_JAR}:lang/jython \
|
|
${JAVALIBDIR}/jt400.jar:sysutils/jtopen \
|
|
${JAVALIBDIR}/itext.jar:devel/itext \
|
|
${JAVALIBDIR}/log4j.jar:devel/log4j
|
|
|
|
USES= dos2unix zip
|
|
USE_ANT= yes
|
|
USE_JAVA= yes
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
|
DOS2UNIX_FILES= build.xml
|
|
JAVA_VERSION= 1.6 1.7
|
|
|
|
ALL_TARGET= package
|
|
MAKE_ENV+= CLASSPATH=${JYTHON_PREFIX}
|
|
MAKE_ARGS+= -Dlib.dir=${JAVALIBDIR}
|
|
|
|
JYTHON_PREFIX= ${LOCALBASE}/lib/jython
|
|
JYTHON_JAR= ${JYTHON_PREFIX}/jython.jar
|
|
|
|
DOC_FILES= CHANGELOG.txt applet.txt filetransfers.txt readme.txt antbuild.txt\
|
|
e-mail.txt macros.txt scripting.txt
|
|
|
|
SUB_FILES= tn5250j
|
|
SUB_LIST= JYTHON_JAR=${JYTHON_JAR}
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
do-install:
|
|
${INSTALL_SCRIPT} ${WRKDIR}/tn5250j ${STAGEDIR}${PREFIX}/bin
|
|
${INSTALL_DATA} ${WRKSRC}/build/tn5250j.jar ${STAGEDIR}${JAVAJARDIR}
|
|
|
|
post-install-DOCS-on:
|
|
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
.for d in ${DOC_FILES}
|
|
${INSTALL_DATA} ${WRKSRC}/src/${d} ${STAGEDIR}${DOCSDIR}
|
|
.endfor
|
|
|
|
.include <bsd.port.post.mk>
|