[Midnightbsd-cvs] mports: mports/editors: Add jedit-devel
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Thu Dec 27 22:50:04 EST 2007
Log Message:
-----------
Add jedit-devel
Modified Files:
--------------
mports/editors:
Makefile (r1.20 -> r1.21)
Added Files:
-----------
mports/editors/jedit-devel:
Makefile (r1.1)
distinfo (r1.1)
pkg-descr (r1.1)
mports/editors/jedit-devel/files:
instscript (r1.1)
jedit.sh.in (r1.1)
-------------- next part --------------
--- /dev/null
+++ 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/
--- /dev/null
+++ editors/jedit-devel/Makefile
@@ -0,0 +1,53 @@
+# New ports collection makefile for: jedit-devel
+# Date created: 02 Feb 2004
+# Whom: Linh Pham <question+fbsdports at closedsrc.org>
+#
+# $MidnightBSD: mports/editors/jedit-devel/Makefile,v 1.1 2007/12/28 03:50:02 laffer1 Exp $
+# $FreeBSD: ports/editors/jedit-devel/Makefile,v 1.21 2007/10/05 21:54:51 miwi Exp $
+#
+
+PORTNAME= jedit
+DISTVERSION= 4.3.p11
+CATEGORIES= editors java
+MASTER_SITES= SF
+DISTNAME= ${PORTNAME}${PORTVERSION:S/.p/pre/}install
+EXTRACT_SUFX= .jar
+EXTRACT_ONLY=
+
+MAINTAINER= ports at MidnightBSD.org
+COMMENT= Powerful programmer\'s text editor written in Java
+LICENSE= gpl2
+
+BUILD_DEPENDS= java:${PORTSDIR}/java/javavmwrapper
+RUN_DEPENDS= java:${PORTSDIR}/java/javavmwrapper
+
+USE_JAVA= yes
+JAVA_VERSION= 1.5+
+
+CONFLICTS= jedit-4.2*
+NO_LATEST_LINK= yes
+
+USE_XLIB= yes
+NO_BUILD= yes
+
+DATADIR= ${JAVASHAREDIR}/${PORTNAME}
+
+SUB_FILES= jedit.sh
+
+MAN1= jedit.1
+# The complete PLIST is generated in post-install
+PLIST_FILES= bin/jedit
+
+do-install:
+ @${SED} "s|%%PREFIX%%|${PREFIX}| ; s|%%DATADIR%%|${DATADIR}| ; s|%%WRKDIR%%|${WRKDIR}|" ${FILESDIR}/instscript | \
+ ${SETENV} CLASSPATH=${DISTDIR}/${DISTNAME}.jar \
+ ${JAVA} installer.Install text
+ @${INSTALL_SCRIPT} ${WRKDIR}/jedit.sh ${PREFIX}/bin/jedit
+
+post-install:
+ @${FIND} ${DATADIR} ! -type d | \
+ ${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST}
+ @${FIND} ${DATADIR} -type d | ${SORT} -r | \
+ ${SED} 's,^${PREFIX}/, at dirrm ,' >> ${TMPPLIST}
+
+.include <bsd.port.mk>
--- /dev/null
+++ editors/jedit-devel/distinfo
@@ -0,0 +1,3 @@
+MD5 (jedit4.3pre11install.jar) = 9443fa169c4f35ccec5f94240e378d7e
+SHA256 (jedit4.3pre11install.jar) = d9f407bb3833a21e16855f6fa59542d96762bc38620c86a85c4330e7dcd2e040
+SIZE (jedit4.3pre11install.jar) = 2290191
Index: Makefile
===================================================================
RCS file: /home/cvs/mports/editors/Makefile,v
retrieving revision 1.20
retrieving revision 1.21
diff -L editors/Makefile -L editors/Makefile -u -r1.20 -r1.21
--- editors/Makefile
+++ editors/Makefile
@@ -12,6 +12,7 @@
SUBDIR += gedit-plugins
SUBDIR += impress
SUBDIR += jedit
+ SUBDIR += jedit-devel
SUBDIR += joe
SUBDIR += joe2
SUBDIR += koffice-kde3
--- /dev/null
+++ editors/jedit-devel/files/jedit.sh.in
@@ -0,0 +1,8 @@
+#!/bin/sh
+# $MidnightBSD: mports/editors/jedit-devel/files/jedit.sh.in,v 1.1 2007/12/28 03:50:02 laffer1 Exp $
+# $FreeBSD: ports/editors/jedit-devel/files/jedit.sh.in,v 1.1 2005/02/21 23:28:42 hq Exp $
+
+# Java heap size, in megabytes
+JAVA_HEAP_SIZE=32
+
+JAVA_VERSION="1.4+" "%%LOCALBASE%%/bin/java" -mx${JAVA_HEAP_SIZE}m ${JEDIT} -jar "%%DATADIR%%/jedit.jar" "$@"
--- /dev/null
+++ editors/jedit-devel/files/instscript
@@ -0,0 +1,7 @@
+%%DATADIR%%
+%%WRKDIR%%
+%%PREFIX%%/man/man1
+Y
+Y
+Y
+
More information about the Midnightbsd-cvs
mailing list