2000-06-22 15:18:19 +02:00
|
|
|
# New ports collection makefile for: jedit
|
2000-11-01 16:51:11 +01:00
|
|
|
# Date created: 22 June 2000
|
|
|
|
# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
|
2000-06-22 15:18:19 +02:00
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= jedit
|
2004-09-02 17:18:51 +02:00
|
|
|
PORTVERSION= 4.2
|
2007-05-19 22:36:56 +02:00
|
|
|
PORTREVISION= 1
|
2000-06-22 15:18:19 +02:00
|
|
|
CATEGORIES= editors java
|
2002-04-18 18:57:19 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
2000-06-22 15:18:19 +02:00
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
2004-09-02 17:18:51 +02:00
|
|
|
DISTNAME= ${PORTNAME}${PORTVERSION:S/.//g}install
|
2002-04-18 18:57:19 +02:00
|
|
|
EXTRACT_SUFX= .jar
|
2004-04-10 19:26:55 +02:00
|
|
|
EXTRACT_ONLY=
|
2000-06-22 15:18:19 +02:00
|
|
|
|
2005-02-25 15:59:06 +01:00
|
|
|
MAINTAINER= question+fbsdports@closedsrc.org
|
2005-01-29 01:01:49 +01:00
|
|
|
COMMENT= Powerful programmer\'s text editor written in Java
|
2000-06-22 15:18:19 +02:00
|
|
|
|
2005-01-29 01:01:49 +01:00
|
|
|
RUN_DEPENDS= java:${PORTSDIR}/java/javavmwrapper
|
|
|
|
|
2005-02-22 00:32:03 +01:00
|
|
|
CONFLICTS= jedit-4.3*
|
|
|
|
|
2005-01-29 01:01:49 +01:00
|
|
|
USE_JAVA= yes
|
|
|
|
JAVA_VERSION= 1.3+
|
2000-06-22 15:18:19 +02:00
|
|
|
|
|
|
|
USE_XLIB= yes
|
|
|
|
NO_BUILD= yes
|
|
|
|
|
2005-01-29 01:01:49 +01:00
|
|
|
DATADIR= ${JAVASHAREDIR}/${PORTNAME}
|
|
|
|
|
|
|
|
SUB_FILES= jedit.sh
|
|
|
|
|
2003-03-23 10:48:01 +01:00
|
|
|
MAN1= jedit.1
|
2004-09-02 17:18:51 +02:00
|
|
|
# The complete PLIST is generated in post-install
|
|
|
|
PLIST_FILES= bin/jedit
|
2003-03-23 10:48:01 +01:00
|
|
|
|
2000-06-22 15:18:19 +02:00
|
|
|
do-install:
|
2005-01-29 01:01:49 +01:00
|
|
|
@${SED} "s|%%PREFIX%%|${PREFIX}| ; s|%%DATADIR%%|${DATADIR}| ; s|%%WRKDIR%%|${WRKDIR}|" ${FILESDIR}/instscript | \
|
2002-04-18 18:57:19 +02:00
|
|
|
${SETENV} CLASSPATH=${DISTDIR}/${DISTNAME}.jar \
|
2005-01-29 01:01:49 +01:00
|
|
|
${JAVA} installer.Install text
|
2000-07-12 16:34:14 +02:00
|
|
|
@${INSTALL_SCRIPT} ${WRKDIR}/jedit.sh ${PREFIX}/bin/jedit
|
2000-06-22 15:18:19 +02:00
|
|
|
|
2004-09-02 17:18:51 +02:00
|
|
|
post-install:
|
2005-01-29 01:01:49 +01:00
|
|
|
@${FIND} ${DATADIR} ! -type d | \
|
2004-09-02 17:18:51 +02:00
|
|
|
${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST}
|
2005-01-29 01:01:49 +01:00
|
|
|
@${FIND} ${DATADIR} -type d | ${SORT} -r | \
|
2004-09-02 17:18:51 +02:00
|
|
|
${SED} 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST}
|
2005-01-29 01:01:49 +01:00
|
|
|
@${CAT} ${PKGMESSAGE}
|
2004-09-02 17:18:51 +02:00
|
|
|
|
2000-06-22 15:18:19 +02:00
|
|
|
.include <bsd.port.mk>
|