summaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2000-11-27 13:54:39 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2000-11-27 13:54:39 +0000
commita2014e7a8b7c7f2ca60b20b1467241814dbdcb4b (patch)
treefd8b1aa7a1c8e86cb672b5ab3efa85d71015650c /editors
parentAdd scintilla - a full-featured free source code editing component for GTK+. (diff)
Add SciTE - a full-featured SCIntilla based Text Editor for GTK/GNOME.
Notes
Notes: svn path=/head/; revision=35467
Diffstat (limited to 'editors')
-rw-r--r--editors/Makefile1
-rw-r--r--editors/scite/Makefile29
-rw-r--r--editors/scite/distinfo1
-rw-r--r--editors/scite/files/patch-aa70
-rw-r--r--editors/scite/pkg-comment1
-rw-r--r--editors/scite/pkg-descr7
-rw-r--r--editors/scite/pkg-plist17
7 files changed, 126 insertions, 0 deletions
diff --git a/editors/Makefile b/editors/Makefile
index c1e01fbbdc94..a076d4530fcd 100644
--- a/editors/Makefile
+++ b/editors/Makefile
@@ -75,6 +75,7 @@
SUBDIR += psgml-mule
SUBDIR += psgml-xemacs21-mule
SUBDIR += sam
+ SUBDIR += scite
SUBDIR += semi-emacs
SUBDIR += semi-emacs-current
SUBDIR += semi-emacs20
diff --git a/editors/scite/Makefile b/editors/scite/Makefile
new file mode 100644
index 000000000000..206e29546052
--- /dev/null
+++ b/editors/scite/Makefile
@@ -0,0 +1,29 @@
+# New ports collection makefile for: skite
+# Date created: 27 November 2000
+# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= scite
+PORTVERSION= 1.33
+CATEGORIES= editors gnome
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
+ http://www.scintilla.org/
+MASTER_SITE_SUBDIR= scintilla
+DISTNAME= ${PORTNAME}${PORTVERSION:S/.//g}
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= sobomax@FreeBSD.org
+
+LIB_DEPENDS= scintilla.1:${PORTSDIR}/x11-toolkits/scintilla
+
+WRKSRC= ${WRKDIR}/${PORTNAME}/gtk
+
+USE_X_PREFIX= yes
+USE_GMAKE= yes
+USE_GNOME= yes
+MAKEFILE= makefile
+MAKE_ENV= MKDIR="${MKDIR}"
+
+.include <bsd.port.mk>
diff --git a/editors/scite/distinfo b/editors/scite/distinfo
new file mode 100644
index 000000000000..57ef6b3924ca
--- /dev/null
+++ b/editors/scite/distinfo
@@ -0,0 +1 @@
+MD5 (scite133.tgz) = 16b979dc58ab5d23aea51cd32a0ce428
diff --git a/editors/scite/files/patch-aa b/editors/scite/files/patch-aa
new file mode 100644
index 000000000000..819eb6ffb9a2
--- /dev/null
+++ b/editors/scite/files/patch-aa
@@ -0,0 +1,70 @@
+--- makefile 2000/11/27 12:56:18 1.1
++++ makefile 2000/11/27 13:21:13
+@@ -10,24 +10,24 @@
+
+ # For the Gnome desktop stuff to work, prefix must point to where Gnome thinks it is.
+ # "h@h@" is printed here when gnome-config unavailable. Seems harmless.
+-gnomeprefix:=$(shell gnome-config --prefix 2>/dev/null)
++gnomeprefix=$(PREFIX)
+ ifdef gnomeprefix
+ prefix=$(gnomeprefix)
+- datadir=$(gnomeprefix)/share
++ datadir=$(gnomeprefix)/share/gnome
+ pixmapdir=$(datadir)/pixmaps
+ else
+ prefix=/usr/local
+ endif
+ bindir=$(prefix)/bin
+-SYSCONF_PATH=$(prefix)/share/scite
++SYSCONF_PATH=$(prefix)/share/gnome/scite
+
+ PROG = ../bin/SciTE
+
+-vpath %.h ../src ../../scintilla/include
++vpath %.h ../src $(X11BASE)/include/scintilla
+ vpath %.cxx ../src
+
+ #CXXFLAGS= -g -DGTK -DSCI_LEXER -DSYSCONF_PATH=\"$(SYSCONF_PATH)\" -Wwrite-strings
+-INCLUDEDIRS=-I ../../scintilla/include -I ../src
++INCLUDEDIRS=-I $(X11BASE)/include/scintilla -I ../src
+ CXXBASEFLAGS= -DGTK -DSCI_LEXER -DSYSCONF_PATH=\"$(SYSCONF_PATH)\" -W -Wall
+
+ ifdef DEBUG
+@@ -37,7 +37,7 @@
+ endif
+
+ .cxx.o:
+- $(CC) `gtk-config --cflags` $(INCLUDEDIRS) $(CXXFLAGS) -c $< -o $@
++ $(CC) `$(GTK_CONFIG) --cflags` $(INCLUDEDIRS) $(CXXFLAGS) -c $< -o $@
+
+ all: $(PROG)
+
+@@ -52,8 +52,8 @@
+ ../../scintilla/gtk/LexConf.o \
+ ../../scintilla/gtk/LexPerl.o
+
+-$(PROG): SciTEGTK.o SciTEBase.o SciTEBuffers.o SciTEIO.o SciTEProps.o ../../scintilla/bin/scintilla.a $(LEXEROBJS)
+- $(CC) `gtk-config --libs` -DGTK $^ -o $@
++$(PROG): SciTEGTK.o SciTEBase.o SciTEBuffers.o SciTEIO.o SciTEProps.o # ../../scintilla/bin/scintilla.a $(LEXEROBJS)
++ $(CC) `$(GTK_CONFIG) --libs` -DGTK $^ -o $@ -L${X11BASE}/lib -lscintilla -lscintilla_lexers
+
+ # SciTE-static no longer builds. Kept here in case of later need.
+ SciTE-static: SciTEGTK.o SciTEBase.o SciTEBuffers.o SciTEIO.o SciTEProps.o \
+@@ -78,12 +78,12 @@
+ # This is OK - just means no SciTE in the Gnome Applications menu
+ # Dead: install -D SciTEGTK.properties $(SYSCONF_PATH)/SciTEGlobal.properties
+ install:
+- install -s $(PROG) $(bindir)
+- install -d $(SYSCONF_PATH)
+- install -D ../src/*.properties $(SYSCONF_PATH)
++ $(BSD_INSTALL_PROGRAM) $(PROG) $(bindir)
++ $(MKDIR) $(SYSCONF_PATH)
++ $(BSD_INSTALL_DATA) ../src/*.properties $(SYSCONF_PATH)
+ ifdef gnomeprefix
+- install SciTE.desktop $(datadir)/gnome/apps/Applications
+- install Sci48M.png $(pixmapdir)
++ $(BSD_INSTALL_DATA) SciTE.desktop $(datadir)/apps/Applications
++ $(BSD_INSTALL_DATA) Sci48M.png $(pixmapdir)
+ endif
+
+ uninstall:
diff --git a/editors/scite/pkg-comment b/editors/scite/pkg-comment
new file mode 100644
index 000000000000..3ad1e2da60b6
--- /dev/null
+++ b/editors/scite/pkg-comment
@@ -0,0 +1 @@
+A full-featured SCIntilla based Text Editor for GTK/GNOME
diff --git a/editors/scite/pkg-descr b/editors/scite/pkg-descr
new file mode 100644
index 000000000000..b2f561bc178e
--- /dev/null
+++ b/editors/scite/pkg-descr
@@ -0,0 +1,7 @@
+SciTE is a SCIntilla based Text Editor. Originally built to demonstrate
+Scintilla, it has grown to be a generally useful editor with facilities for
+building and running programs. It is best used for jobs with simple
+configurations - I use it for building test and demonstration programs as well
+as SciTE and Scintilla, themselves.
+
+WWW: http://www.scintilla.org/SciTE.html
diff --git a/editors/scite/pkg-plist b/editors/scite/pkg-plist
new file mode 100644
index 000000000000..f87a67f6aa7e
--- /dev/null
+++ b/editors/scite/pkg-plist
@@ -0,0 +1,17 @@
+bin/SciTE
+share/gnome/apps/Applications/SciTE.desktop
+share/gnome/pixmaps/Sci48M.png
+share/gnome/scite/Embedded.properties
+share/gnome/scite/SciTE.properties
+share/gnome/scite/SciTEGlobal.properties
+share/gnome/scite/conf.properties
+share/gnome/scite/cpp.properties
+share/gnome/scite/html.properties
+share/gnome/scite/latex.properties
+share/gnome/scite/lua.properties
+share/gnome/scite/others.properties
+share/gnome/scite/perl.properties
+share/gnome/scite/python.properties
+share/gnome/scite/sql.properties
+share/gnome/scite/vb.properties
+@dirrm share/gnome/scite