freebsd-ports/editors/jedit/Makefile

43 lines
1.1 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
2002-04-18 12:57:19 -04:00
PORTVERSION= 4.0.0
CATEGORIES= editors java
2002-04-18 12:57:19 -04:00
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
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=
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
RUN_DEPENDS= javavm:${PORTSDIR}/java/javavmwrapper \
2002-04-18 12:57:19 -04:00
${LOCALBASE}/etc/javavms:${PORTSDIR}/java/jdk13
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
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
.if defined(PARALLEL_PACKAGE_BUILD)
FORBIDDEN= hang
.endif
.include <bsd.port.mk>