7dc406a7a1
COMMENT typos and surrounding whitespace fixes. A few Makefiles where not included as they contain Latin-1 characters that break the Phabricator workflow. Category N. CR: D307 Approved by: portmgr (bapt)
56 lines
1.6 KiB
Makefile
56 lines
1.6 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
|
|
|
|
BUILD_DEPENDS= ${JAVAJARDIR}/mail.jar:${PORTSDIR}/java/javamail \
|
|
${JYTHON_JAR}:${PORTSDIR}/lang/jython \
|
|
${JAVAJARDIR}/jt400.jar:${PORTSDIR}/sysutils/jtopen \
|
|
${JAVAJARDIR}/itext.jar:${PORTSDIR}/devel/itext \
|
|
${JAVAJARDIR}/log4j.jar:${PORTSDIR}/devel/log4j
|
|
RUN_DEPENDS= ${JAVAJARDIR}/mail.jar:${PORTSDIR}/java/javamail \
|
|
${JYTHON_JAR}:${PORTSDIR}/lang/jython \
|
|
${JAVAJARDIR}/jt400.jar:${PORTSDIR}/sysutils/jtopen \
|
|
${JAVAJARDIR}/itext.jar:${PORTSDIR}/devel/itext \
|
|
${JAVAJARDIR}/log4j.jar:${PORTSDIR}/devel/log4j
|
|
|
|
USES= dos2unix zip
|
|
USE_ANT= yes
|
|
USE_JAVA= 1.3+
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
|
DOS2UNIX_FILES= build.xml
|
|
|
|
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
|
|
|
|
do-install:
|
|
${INSTALL_SCRIPT} ${WRKDIR}/tn5250j ${STAGEDIR}${PREFIX}/bin
|
|
${INSTALL_DATA} ${WRKSRC}/build/tn5250j.jar ${STAGEDIR}${JAVAJARDIR}
|
|
|
|
post-install:
|
|
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
.for d in ${DOC_FILES}
|
|
${INSTALL_MAN} ${WRKSRC}/src/${d} ${STAGEDIR}${DOCSDIR}
|
|
.endfor
|
|
|
|
.include <bsd.port.mk>
|