2000-06-22 09:18:19 -04:00
|
|
|
# New ports collection makefile for: jedit
|
2000-11-01 10:51:11 -05:00
|
|
|
# Date created: 22 June 2000
|
|
|
|
# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
|
2000-06-22 09:18:19 -04:00
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= jedit
|
2002-04-18 12:57:19 -04:00
|
|
|
PORTVERSION= 4.0.0
|
2000-06-22 09:18:19 -04:00
|
|
|
CATEGORIES= editors java
|
2002-04-18 12:57:19 -04:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
2000-06-22 09:18:19 -04:00
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
2001-04-23 06:39:43 -04:00
|
|
|
_DISTNAME= ${PORTNAME}${PORTVERSION:S/.//g}install
|
|
|
|
DISTNAME= ${_DISTNAME:S/0install$/install/}
|
2002-04-18 12:57:19 -04:00
|
|
|
EXTRACT_SUFX= .jar
|
2000-07-12 10:34:14 -04:00
|
|
|
EXTRACT_ONLY=
|
2000-06-22 09:18:19 -04:00
|
|
|
|
|
|
|
MAINTAINER= sobomax@FreeBSD.org
|
|
|
|
|
2000-07-12 10:34:14 -04:00
|
|
|
BUILD_DEPENDS= javavm:${PORTSDIR}/java/javavmwrapper \
|
2002-04-18 12:57:19 -04:00
|
|
|
${LOCALBASE}/etc/javavms:${PORTSDIR}/java/jdk13
|
2000-06-22 09:18:19 -04:00
|
|
|
RUN_DEPENDS= javavm:${PORTSDIR}/java/javavmwrapper \
|
2002-04-18 12:57:19 -04:00
|
|
|
${LOCALBASE}/etc/javavms:${PORTSDIR}/java/jdk13
|
2000-06-22 09:18:19 -04:00
|
|
|
|
|
|
|
USE_XLIB= yes
|
|
|
|
NO_BUILD= yes
|
|
|
|
|
|
|
|
do-configure:
|
|
|
|
@${SED} "s|%%PREFIX%%|${PREFIX}|g ; s|%%LOCALBASE%%|${LOCALBASE}|g" \
|
2000-07-12 10:34:14 -04:00
|
|
|
${FILESDIR}/jedit.sh > ${WRKDIR}/jedit.sh
|
2000-06-22 09:18:19 -04:00
|
|
|
|
|
|
|
do-install:
|
2000-07-12 10:34:14 -04:00
|
|
|
@${SED} "s|%%PREFIX%%|${PREFIX}| ; s|%%WRKDIR%%|${WRKDIR}|" ${FILESDIR}/instscript | \
|
2002-04-18 12:57:19 -04:00
|
|
|
${SETENV} CLASSPATH=${DISTDIR}/${DISTNAME}.jar \
|
2000-12-25 08:09:23 -05:00
|
|
|
${LOCALBASE}/bin/javavm installer.Install text
|
2000-07-12 10:34:14 -04:00
|
|
|
@${INSTALL_SCRIPT} ${WRKDIR}/jedit.sh ${PREFIX}/bin/jedit
|
2000-06-22 09:18:19 -04:00
|
|
|
|
2001-08-29 01:18:08 -04:00
|
|
|
.if defined(PARALLEL_PACKAGE_BUILD)
|
|
|
|
FORBIDDEN= hang
|
|
|
|
.endif
|
|
|
|
|
2000-06-22 09:18:19 -04:00
|
|
|
.include <bsd.port.mk>
|