2000-05-01 03:12:29 +00:00
|
|
|
# New ports collection makefile for: jext
|
|
|
|
# Date created: 17 Febrary 2000
|
2000-05-17 11:18:29 +00:00
|
|
|
# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
|
2000-05-01 03:12:29 +00:00
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= jext
|
2000-05-24 14:33:39 +00:00
|
|
|
PORTVERSION= 2.8.0.3
|
2000-05-01 03:12:29 +00:00
|
|
|
CATEGORIES= editors java
|
2000-05-02 01:51:30 +00:00
|
|
|
MASTER_SITES= http://members.xoom.com/romainguy/
|
2000-05-07 15:35:53 +00:00
|
|
|
DISTFILES= ${PORTNAME}${EXTRACT_SUFX} swingall.jar
|
2000-05-01 03:12:29 +00:00
|
|
|
|
2000-05-17 11:18:29 +00:00
|
|
|
MAINTAINER= sobomax@FreeBSD.org
|
2000-05-01 03:12:29 +00:00
|
|
|
|
2000-06-12 13:41:18 +00:00
|
|
|
RUN_DEPENDS= ${JAVAVM}:${PORTSDIR}/java/javavmwrapper \
|
|
|
|
${LOCALBASE}/etc/javavms:${PORTSDIR}/java/jre
|
2000-05-01 03:12:29 +00:00
|
|
|
|
|
|
|
FETCH_BEFORE_ARGS= -b
|
|
|
|
|
2000-05-07 15:35:53 +00:00
|
|
|
EXTRACT_ONLY= ${PORTNAME}${EXTRACT_SUFX}
|
2000-05-01 03:12:29 +00:00
|
|
|
WRKSRC= ${WRKDIR}
|
|
|
|
USE_ZIP= yes
|
|
|
|
USE_XLIB= yes
|
|
|
|
NO_BUILD= yes
|
|
|
|
|
|
|
|
JDK_VERSION= 1.1.8
|
2000-06-12 13:41:18 +00:00
|
|
|
JAVAVM?= ${LOCALBASE}/bin/javavm
|
2000-05-01 03:12:29 +00:00
|
|
|
|
|
|
|
.if defined(USE_JIT)
|
|
|
|
RUN_DEPENDS+= ${LOCALBASE}/jdk${JDK_VERSION}/lib/${ARCH}/green_threads/libshujit.so:${PORTSDIR}/java/shujit
|
|
|
|
JAVAJIT= shujit
|
|
|
|
.else
|
|
|
|
JAVAJIT=
|
|
|
|
.endif
|
|
|
|
|
|
|
|
INSTSBDR= ${PREFIX}/share/java/jext
|
|
|
|
DATATARG= jext.jar icons plugins scripts xtools
|
|
|
|
|
|
|
|
post-extract:
|
|
|
|
@${PERL} -pi -e "s.\x0D.." ${WRKSRC}/jext
|
|
|
|
|
2000-05-07 15:35:53 +00:00
|
|
|
do-configure:
|
2000-05-01 03:12:29 +00:00
|
|
|
@${PERL} -pi -e "s|%JAVAVM%|${JAVAVM}|g" ${WRKSRC}/jext
|
|
|
|
@${PERL} -pi -e "s|%JEXT_HOME%|${INSTSBDR}|g" ${WRKSRC}/jext
|
|
|
|
@${PERL} -pi -e "s|%JAVAJIT%|${JAVAJIT}|g" ${WRKSRC}/jext
|
2000-05-07 15:35:53 +00:00
|
|
|
@${PERL} -pi -e "s|%JFC%|${INSTSBDR}/swingall.jar|g" ${WRKSRC}/jext
|
2000-05-01 03:12:29 +00:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
@${MKDIR} ${INSTSBDR}
|
|
|
|
@${INSTALL_SCRIPT} ${WRKSRC}/jext ${PREFIX}/bin
|
|
|
|
@(cd ${WRKSRC} && ${TAR} -c -f - ${DATATARG}) \
|
|
|
|
| (cd ${INSTSBDR} && ${TAR} --unlink -x -f -)
|
2000-05-07 15:35:53 +00:00
|
|
|
@${INSTALL_DATA} ${DISTDIR}/swingall.jar ${INSTSBDR}
|
2000-05-01 03:12:29 +00:00
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@${MKDIR} ${PREFIX}/share/doc/java/jext
|
|
|
|
@(cd ${WRKSRC}/doc && ${TAR} -c -f - * ) \
|
|
|
|
| (cd ${PREFIX}/share/doc/java/jext && ${TAR} --unlink -x -f -)
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|