2000-05-01 03:12:29 +00:00
|
|
|
# New ports collection makefile for: jext
|
2000-11-01 15:51:11 +00:00
|
|
|
# Date created: 17 Febrary 2000
|
|
|
|
# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
|
2000-05-01 03:12:29 +00:00
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= jext
|
2000-09-11 16:48:58 +00:00
|
|
|
PORTVERSION= 2.8.1.2
|
2000-05-01 03:12:29 +00:00
|
|
|
CATEGORIES= editors java
|
2000-07-27 10:19:44 +00:00
|
|
|
MASTER_SITES= http://www.jext.org/ \
|
|
|
|
http://members.xoom.com/romainguy/
|
2000-08-22 06:55:37 +00:00
|
|
|
DISTFILES= ${PORTNAME}-${PORTVERSION}${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
|
|
|
|
2000-08-22 06:55:37 +00:00
|
|
|
EXTRACT_ONLY= ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX}
|
2000-05-01 03:12:29 +00:00
|
|
|
WRKSRC= ${WRKDIR}
|
|
|
|
USE_XLIB= yes
|
|
|
|
NO_BUILD= yes
|
|
|
|
|
2000-06-12 13:41:18 +00:00
|
|
|
JAVAVM?= ${LOCALBASE}/bin/javavm
|
2000-05-01 03:12:29 +00:00
|
|
|
|
|
|
|
INSTSBDR= ${PREFIX}/share/java/jext
|
|
|
|
|
2000-08-22 06:55:37 +00:00
|
|
|
pre-patch:
|
|
|
|
@${PERL} -pi -e 's.\x0D..' ${WRKSRC}/bin/jext.sh
|
2000-05-01 03:12:29 +00:00
|
|
|
|
2000-05-07 15:35:53 +00:00
|
|
|
do-configure:
|
2000-08-22 06:55:37 +00:00
|
|
|
@${PERL} -pi -e 's|%%JAVAVM%%|${JAVAVM}|g ; \
|
|
|
|
s|%%JEXT_HOME%%|${INSTSBDR}|g ; \
|
|
|
|
s|%%JFC%%|${INSTSBDR}/lib/swingall.jar|g' \
|
|
|
|
${WRKSRC}/bin/jext.sh
|
2000-05-01 03:12:29 +00:00
|
|
|
|
|
|
|
do-install:
|
2000-08-22 06:55:37 +00:00
|
|
|
@${MKDIR} ${INSTSBDR}
|
|
|
|
@${INSTALL_SCRIPT} ${WRKSRC}/bin/jext.sh ${PREFIX}/bin/jext
|
|
|
|
@(cd ${WRKSRC} && ${TAR} -c -f - LICENSE README bin lib) \
|
|
|
|
| (cd ${INSTSBDR} && ${TAR} --unlink -x -f -)
|
|
|
|
@${INSTALL_DATA} ${DISTDIR}/swingall.jar ${INSTSBDR}/lib
|
2000-05-01 03:12:29 +00:00
|
|
|
.if !defined(NOPORTDOCS)
|
2000-08-22 06:55:37 +00:00
|
|
|
@${MKDIR} ${PREFIX}/share/doc/java/jext
|
|
|
|
@(cd ${WRKSRC}/docs && ${TAR} -c -f - * ) \
|
|
|
|
| (cd ${PREFIX}/share/doc/java/jext && ${TAR} --unlink -x -f -)
|
2000-05-01 03:12:29 +00:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|