aboutsummaryrefslogtreecommitdiffstats
path: root/editors/jext/Makefile
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>2000-05-07 23:35:53 +0800
committersteve <steve@FreeBSD.org>2000-05-07 23:35:53 +0800
commit89bf23ac886fbda187b5808b6972ad0321caccbc (patch)
tree009f70d1c5b957e4324191bcbbd81d1fd64fc0f0 /editors/jext/Makefile
parentf8af6bb937b2788d59ec3ab86dc414c5bcbf8fa6 (diff)
downloadfreebsd-ports-graphics-89bf23ac886fbda187b5808b6972ad0321caccbc.tar.gz
freebsd-ports-graphics-89bf23ac886fbda187b5808b6972ad0321caccbc.tar.zst
freebsd-ports-graphics-89bf23ac886fbda187b5808b6972ad0321caccbc.zip
Update to version 2.8.0.2. Also use a runtime only version of the JFC.
PR: 18408 Submitted by: maintainer
Diffstat (limited to 'editors/jext/Makefile')
-rw-r--r--editors/jext/Makefile15
1 files changed, 7 insertions, 8 deletions
diff --git a/editors/jext/Makefile b/editors/jext/Makefile
index 106095e263c..e75bf200e1f 100644
--- a/editors/jext/Makefile
+++ b/editors/jext/Makefile
@@ -6,27 +6,25 @@
#
PORTNAME= jext
-PORTVERSION= 2.7.0.6
+PORTVERSION= 2.8.0.2
CATEGORIES= editors java
MASTER_SITES= http://members.xoom.com/romainguy/
-DISTNAME= ${PORTNAME}
+DISTFILES= ${PORTNAME}${EXTRACT_SUFX} swingall.jar
MAINTAINER= sobomax@altavista.net
-RUN_DEPENDS= ${JAVAVM}:${PORTSDIR}/java/jdk \
- ${JFC}:${PORTSDIR}/java/jfc
+RUN_DEPENDS= ${JAVAVM}:${PORTSDIR}/java/jdk
FETCH_BEFORE_ARGS= -b
+EXTRACT_ONLY= ${PORTNAME}${EXTRACT_SUFX}
WRKSRC= ${WRKDIR}
USE_ZIP= yes
USE_XLIB= yes
NO_BUILD= yes
JDK_VERSION= 1.1.8
-JFC_VERSION= 1.1.1
JAVAVM= ${LOCALBASE}/jdk${JDK_VERSION}/bin/java
-JFC= ${LOCALBASE}/share/java/classes/jfc-${JFC_VERSION}/swing.jar
.if defined(USE_JIT)
RUN_DEPENDS+= ${LOCALBASE}/jdk${JDK_VERSION}/lib/${ARCH}/green_threads/libshujit.so:${PORTSDIR}/java/shujit
@@ -41,17 +39,18 @@ DATATARG= jext.jar icons plugins scripts xtools
post-extract:
@${PERL} -pi -e "s.\x0D.." ${WRKSRC}/jext
-pre-install:
+do-configure:
@${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
- @${PERL} -pi -e "s|%JFC%|${JFC}|g" ${WRKSRC}/jext
+ @${PERL} -pi -e "s|%JFC%|${INSTSBDR}/swingall.jar|g" ${WRKSRC}/jext
do-install:
@${MKDIR} ${INSTSBDR}
@${INSTALL_SCRIPT} ${WRKSRC}/jext ${PREFIX}/bin
@(cd ${WRKSRC} && ${TAR} -c -f - ${DATATARG}) \
| (cd ${INSTSBDR} && ${TAR} --unlink -x -f -)
+ @${INSTALL_DATA} ${DISTDIR}/swingall.jar ${INSTSBDR}
.if !defined(NOPORTDOCS)
@${MKDIR} ${PREFIX}/share/doc/java/jext
@(cd ${WRKSRC}/doc && ${TAR} -c -f - * ) \