1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-14 03:10:47 +00:00
freebsd-ports/editors/jext/Makefile
Ade Lovett 7e52725f2a Clear moonlight beckons.
Requiem mors pacem pkg-comment,
And be calm ports tree.

E Nomini Patri, E Fili, E Spiritu Sancti.
2003-03-07 06:14:21 +00:00

49 lines
1.4 KiB
Makefile

# New ports collection makefile for: jext
# Date created: 17 Febrary 2000
# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= jext
PORTVERSION= 3.0.2
PORTREVISION= 1
CATEGORIES= editors java
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= jext
MAINTAINER= sobomax@FreeBSD.org
COMMENT= Powerful 100% pure Java text editor
RUN_DEPENDS= ${JAVAVM}:${PORTSDIR}/java/javavmwrapper \
${LOCALBASE}/etc/javavms:${PORTSDIR}/java/jdk13
WRKSRC= ${WRKDIR}
USE_XLIB= yes
NO_BUILD= yes
JAVAVM?= ${LOCALBASE}/bin/javavm
INSTSBDR= ${PREFIX}/share/java/jext
do-configure:
@${PERL} -pi -e 's|%%JAVAVM%%|${JAVAVM}|g ; \
s|%%JEXT_HOME%%|${INSTSBDR}|g' ${WRKSRC}/bin/jext
do-install:
@${MKDIR} ${INSTSBDR}
@${INSTALL_SCRIPT} ${WRKSRC}/bin/jext ${PREFIX}/bin/jext
@(cd ${WRKSRC} && ${TAR} -c -f - Jython-LICENSE LICENSE README \
History.txt Names.txt bin lib) | \
(cd ${INSTSBDR} && ${TAR} --unlink -x -f -)
@CLASSPATH=${INSTSBDR}/lib/jython.jar javavm org.python.util.jython \
${INSTSBDR}/lib/Lib/compileall.py ${INSTSBDR}
post-install:
@${ECHO_MSG} "-------------------------------------------------------------------------------"
@${ECHO_MSG} " Please note that Java2 platform (jdk/jre-1.2.x or later) is required to run"
@${ECHO_MSG} " this program."
@${ECHO_MSG} "-------------------------------------------------------------------------------"
.include <bsd.port.mk>