diff options
author | sobomax <sobomax@FreeBSD.org> | 2000-11-27 21:54:39 +0800 |
---|---|---|
committer | sobomax <sobomax@FreeBSD.org> | 2000-11-27 21:54:39 +0800 |
commit | 289d9b5508b99254600ce7ca2e7e9e241315a1c4 (patch) | |
tree | 3d515d459d93cdb66105ed115c7db6122c17339a /editors | |
parent | 3b1a4ebb6103d47b26a3ffea44b3e92986e7bf91 (diff) | |
download | freebsd-ports-graphics-289d9b5508b99254600ce7ca2e7e9e241315a1c4.tar.gz freebsd-ports-graphics-289d9b5508b99254600ce7ca2e7e9e241315a1c4.tar.zst freebsd-ports-graphics-289d9b5508b99254600ce7ca2e7e9e241315a1c4.zip |
Add SciTE - a full-featured SCIntilla based Text Editor for GTK/GNOME.
Diffstat (limited to 'editors')
-rw-r--r-- | editors/Makefile | 1 | ||||
-rw-r--r-- | editors/scite/Makefile | 29 | ||||
-rw-r--r-- | editors/scite/distinfo | 1 | ||||
-rw-r--r-- | editors/scite/files/patch-aa | 70 | ||||
-rw-r--r-- | editors/scite/pkg-comment | 1 | ||||
-rw-r--r-- | editors/scite/pkg-descr | 7 | ||||
-rw-r--r-- | editors/scite/pkg-plist | 17 |
7 files changed, 126 insertions, 0 deletions
diff --git a/editors/Makefile b/editors/Makefile index c1e01fbbdc9..a076d4530fc 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 00000000000..206e2954605 --- /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 00000000000..57ef6b3924c --- /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 00000000000..819eb6ffb9a --- /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 00000000000..3ad1e2da60b --- /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 00000000000..b2f561bc178 --- /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 00000000000..f87a67f6aa7 --- /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 |