b8e1e7ef86
either IGNORE or BROKEN. Since there seems to be some confusion, for the record: BROKEN is reserved for ports that don't work. This will prevent users from installing the port, but please note that ports marked as BROKEN will still be built by bento IGNORE is reserved for ports that should not be built for one reason or another (including bento). Users and bento will not build ports marked as IGNORE. FORBIDDEN is reserved for security breakages only!!! Only mark a port as FORBIDDEN if there is a security issue with the port at the time. Reviewed by: kris (portmgr)
43 lines
1.1 KiB
Makefile
43 lines
1.1 KiB
Makefile
# New ports collection makefile for: jedit
|
|
# Date created: 22 June 2000
|
|
# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= jedit
|
|
PORTVERSION= 4.0.0
|
|
CATEGORIES= editors java
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
_DISTNAME= ${PORTNAME}${PORTVERSION:S/.//g}install
|
|
DISTNAME= ${_DISTNAME:S/0install$/install/}
|
|
EXTRACT_SUFX= .jar
|
|
EXTRACT_ONLY=
|
|
|
|
MAINTAINER= sobomax@FreeBSD.org
|
|
|
|
BUILD_DEPENDS= javavm:${PORTSDIR}/java/javavmwrapper \
|
|
${LOCALBASE}/etc/javavms:${PORTSDIR}/java/jdk13
|
|
RUN_DEPENDS= javavm:${PORTSDIR}/java/javavmwrapper \
|
|
${LOCALBASE}/etc/javavms:${PORTSDIR}/java/jdk13
|
|
|
|
USE_XLIB= yes
|
|
NO_BUILD= yes
|
|
|
|
do-configure:
|
|
@${SED} "s|%%PREFIX%%|${PREFIX}|g ; s|%%LOCALBASE%%|${LOCALBASE}|g" \
|
|
${FILESDIR}/jedit.sh > ${WRKDIR}/jedit.sh
|
|
|
|
do-install:
|
|
@${SED} "s|%%PREFIX%%|${PREFIX}| ; s|%%WRKDIR%%|${WRKDIR}|" ${FILESDIR}/instscript | \
|
|
${SETENV} CLASSPATH=${DISTDIR}/${DISTNAME}.jar \
|
|
${LOCALBASE}/bin/javavm installer.Install text
|
|
@${INSTALL_SCRIPT} ${WRKDIR}/jedit.sh ${PREFIX}/bin/jedit
|
|
|
|
.if defined(PARALLEL_PACKAGE_BUILD)
|
|
IGNORE= hang
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|