aboutsummaryrefslogtreecommitdiff
path: root/editors/jedit-devel
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2004-06-03 02:35:30 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2004-06-03 02:35:30 +0000
commit31a02aa7ddc90e0a35ab6bca01b0003ab72856ff (patch)
treee2db1ad44f01437193f6dc43b44c0e3068bce027 /editors/jedit-devel
parent6731665740417f7b4a740848f58d3dcdec987a6f (diff)
downloadports-31a02aa7ddc90e0a35ab6bca01b0003ab72856ff.tar.gz
ports-31a02aa7ddc90e0a35ab6bca01b0003ab72856ff.zip
Notes
Diffstat (limited to 'editors/jedit-devel')
-rw-r--r--editors/jedit-devel/Makefile56
-rw-r--r--editors/jedit-devel/distinfo2
-rw-r--r--editors/jedit-devel/files/instscript7
-rw-r--r--editors/jedit-devel/files/jedit.sh8
-rw-r--r--editors/jedit-devel/pkg-descr24
5 files changed, 97 insertions, 0 deletions
diff --git a/editors/jedit-devel/Makefile b/editors/jedit-devel/Makefile
new file mode 100644
index 000000000000..d72a16aef579
--- /dev/null
+++ b/editors/jedit-devel/Makefile
@@ -0,0 +1,56 @@
+# New ports collection makefile for: jedit-devel
+# Date created: 02 Feb 2004
+# Whom: Linh Pham <question+fbsdports@closedsrc.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= jedit
+PORTVERSION= 4.2.0pre8
+CATEGORIES= editors java
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= ${PORTNAME}
+_DISTNAME= ${PORTNAME}${PORTVERSION:S/.//g}install
+DISTNAME= ${_DISTNAME:S/0pre/pre/}
+EXTRACT_SUFX= .jar
+EXTRACT_ONLY=
+
+MAINTAINER= ports@FreeBSD.org
+COMMENT= Powerful programmer's text editor written in Java
+
+USE_JAVA= 1.3+
+
+USE_XLIB= yes
+NO_BUILD= yes
+
+MAN1= jedit.1
+PLIST_FILES= bin/jedit
+
+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
+
+post-install:
+ @${FIND} ${JAVASHAREDIR} ! -type d | \
+ ${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST}
+ @${FIND} ${JAVASHAREDIR} -type d | ${SORT} -r | \
+ ${SED} 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST}
+ @${ECHO_CMD} "******************************************************"
+ @${ECHO_CMD} ""
+ @${ECHO_CMD} "In order to use the optional SFTP plug-in for jEdit,"
+ @${ECHO_CMD} "you will need to have Java JDK version 1.4 or newer"
+ @${ECHO_CMD} "installed."
+ @${ECHO_CMD} ""
+ @${ECHO_CMD} "******************************************************"
+
+.include <bsd.port.mk>
diff --git a/editors/jedit-devel/distinfo b/editors/jedit-devel/distinfo
new file mode 100644
index 000000000000..230a1b411d91
--- /dev/null
+++ b/editors/jedit-devel/distinfo
@@ -0,0 +1,2 @@
+MD5 (jedit42pre8install.jar) = 0bb715ebd354cdbf8c1391a28649aa8c
+SIZE (jedit42pre8install.jar) = 2113925
diff --git a/editors/jedit-devel/files/instscript b/editors/jedit-devel/files/instscript
new file mode 100644
index 000000000000..52a51decbbb5
--- /dev/null
+++ b/editors/jedit-devel/files/instscript
@@ -0,0 +1,7 @@
+%%PREFIX%%/share/java/jedit
+%%WRKDIR%%
+%%PREFIX%%/man/man1
+Y
+Y
+Y
+
diff --git a/editors/jedit-devel/files/jedit.sh b/editors/jedit-devel/files/jedit.sh
new file mode 100644
index 000000000000..997759ad6294
--- /dev/null
+++ b/editors/jedit-devel/files/jedit.sh
@@ -0,0 +1,8 @@
+#!/bin/sh
+# $FreeBSD: /tmp/pcvs/ports/editors/jedit-devel/files/Attic/jedit.sh,v 1.1 2004-06-03 02:35:30 ijliao Exp $
+
+# Java heap size, in megabytes
+JAVA_HEAP_SIZE=32
+
+exec %%LOCALBASE%%/bin/javavm -mx${JAVA_HEAP_SIZE}m ${JEDIT} -jar \
+ "%%PREFIX%%/share/java/jedit/jedit.jar" "$@"
diff --git a/editors/jedit-devel/pkg-descr b/editors/jedit-devel/pkg-descr
new file mode 100644
index 000000000000..153fbb89a533
--- /dev/null
+++ b/editors/jedit-devel/pkg-descr
@@ -0,0 +1,24 @@
+jEdit is an Open Source programmer's text editor written in Java. It is
+released under the GNU General Public License. jEdit was written for Java 1.1
+with Swing 1.1, and also runs under Java 2.
+
+As far as text editors written in Java go, jEdit is one of the best. It has an
+easy to use, intuitive interface, and enough features and flexibility to please
+even the most hard-core programmer. A very incomplete list of jEdit's features
+follows.
+
+o Syntax highlighting for 30+ file types (including C, C++, Java, Perl, etc)
+o Semi-intelligent auto indent in C, C++ and Java modes
+o Bracket highlighting and matching
+o Powerful macro system
+o Auto-expanding abbreviations for the frequiently used strings
+o Powerful search and replace - supports regular expressions and multiple file
+ search/replace; Search and replace operations can be recorded in macros
+o Any number of strings and caret positions can be stored for later use in
+ so-called registers
+o Rectangular selections for working with column-based files
+o Any number of editor windows can be opened, and each view can be split into
+ multiple panes for side-by-side viewing of multiple files
+o Unlimited undo/redo
+
+WWW: http://jedit.sourceforge.net/