freebsd-ports/editors/jedit/Makefile

39 lines
1.2 KiB
Makefile
Raw Normal View History

# New ports collection makefile for: jedit
# Date created: 22 June 2000
# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= jedit
2000-11-06 09:41:40 +01:00
PORTVERSION= 2.6.0
CATEGORIES= editors java
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
http://members.xoom.com/romainguy/
MASTER_SITE_SUBDIR= ${PORTNAME}
2000-11-06 09:41:40 +01:00
DISTFILES= ${PORTNAME}-${PORTVERSION:S/.0$/final/}.jar swingall.jar
2000-07-12 16:34:14 +02:00
EXTRACT_ONLY=
MAINTAINER= sobomax@FreeBSD.org
2000-07-12 16:34:14 +02:00
BUILD_DEPENDS= javavm:${PORTSDIR}/java/javavmwrapper \
${LOCALBASE}/etc/javavms:${PORTSDIR}/java/jre
RUN_DEPENDS= javavm:${PORTSDIR}/java/javavmwrapper \
${LOCALBASE}/etc/javavms:${PORTSDIR}/java/jre
USE_XLIB= yes
NO_BUILD= yes
do-configure:
@${SED} "s|%%PREFIX%%|${PREFIX}|g ; s|%%LOCALBASE%%|${LOCALBASE}|g" \
2000-07-12 16:34:14 +02:00
${FILESDIR}/jedit.sh > ${WRKDIR}/jedit.sh
do-install:
2000-07-12 16:34:14 +02:00
@${SED} "s|%%PREFIX%%|${PREFIX}| ; s|%%WRKDIR%%|${WRKDIR}|" ${FILESDIR}/instscript | \
2000-11-06 09:41:40 +01:00
${SETENV} CLASSPATH=${DISTDIR}/${PORTNAME}-${PORTVERSION:S/.0$/final/}.jar:${DISTDIR}/swingall.jar \
${LOCALBASE}/bin/javavm Install text
@${INSTALL_DATA} ${DISTDIR}/swingall.jar ${PREFIX}/share/java/jedit
2000-07-12 16:34:14 +02:00
@${INSTALL_SCRIPT} ${WRKDIR}/jedit.sh ${PREFIX}/bin/jedit
.include <bsd.port.mk>