summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2000-11-27 13:38:24 +0000
committersobomax <sobomax@FreeBSD.org>2000-11-27 13:38:24 +0000
commit3b1a4ebb6103d47b26a3ffea44b3e92986e7bf91 (patch)
tree4dd86bdd12cf855fc109a2ff348bf662960b5325
parent8cf9614d8965609eb7728e88cbaaad2e93c31c06 (diff)
downloadFreeBSD-ports-3b1a4ebb6103d47b26a3ffea44b3e92986e7bf91.zip
FreeBSD-ports-3b1a4ebb6103d47b26a3ffea44b3e92986e7bf91.tar.gz
Add scintilla - a full-featured free source code editing component for GTK+.
-rw-r--r--x11-toolkits/Makefile1
-rw-r--r--x11-toolkits/scintilla/Makefile35
-rw-r--r--x11-toolkits/scintilla/distinfo1
-rw-r--r--x11-toolkits/scintilla/files/patch-aa43
-rw-r--r--x11-toolkits/scintilla/pkg-comment1
-rw-r--r--x11-toolkits/scintilla/pkg-descr11
-rw-r--r--x11-toolkits/scintilla/pkg-plist16
7 files changed, 108 insertions, 0 deletions
diff --git a/x11-toolkits/Makefile b/x11-toolkits/Makefile
index 1a29cd5..1ba7264 100644
--- a/x11-toolkits/Makefile
+++ b/x11-toolkits/Makefile
@@ -77,6 +77,7 @@
SUBDIR += ruby-qt
SUBDIR += ruby-tk
SUBDIR += ruby14-tk
+ SUBDIR += scintilla
SUBDIR += slingshot
SUBDIR += thinice
SUBDIR += tix
diff --git a/x11-toolkits/scintilla/Makefile b/x11-toolkits/scintilla/Makefile
new file mode 100644
index 0000000..60956ba
--- /dev/null
+++ b/x11-toolkits/scintilla/Makefile
@@ -0,0 +1,35 @@
+# New ports collection makefile for: scintilla
+# Date created: 27 November 2000
+# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= scintilla
+PORTVERSION= 1.33
+CATEGORIES= x11-toolkits
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
+ http://www.scintilla.org/
+MASTER_SITE_SUBDIR= ${PORTNAME}
+DISTNAME= ${PORTNAME}${PORTVERSION:S/.//g}
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= sobomax@FreeBSD.org
+
+WRKSRC= ${WRKDIR}/${PORTNAME}/gtk
+
+USE_X_PREFIX= yes
+USE_GMAKE= yes
+USE_GTK= yes
+INSTALLS_SHLIB= yes
+MAKEFILE= makefile
+
+do-install:
+ ${MKDIR} ${PREFIX}/include/scintilla
+ ${INSTALL_DATA} ${WRKSRC}/../include/*.h ${PREFIX}/include/scintilla
+ ${INSTALL_PROGRAM} ${WRKSRC}/../bin/libscintilla.so.1 ${PREFIX}/lib
+ ${LN} -sf ${PREFIX}/lib/libscintilla.so.1 ${PREFIX}/lib/libscintilla.so
+ ${INSTALL_PROGRAM} ${WRKSRC}/../bin/libscintilla_lexers.so.1 ${PREFIX}/lib
+ ${LN} -sf ${PREFIX}/lib/libscintilla_lexers.so.1 ${PREFIX}/lib/libscintilla_lexers.so
+
+.include <bsd.port.mk>
diff --git a/x11-toolkits/scintilla/distinfo b/x11-toolkits/scintilla/distinfo
new file mode 100644
index 0000000..5b36e65
--- /dev/null
+++ b/x11-toolkits/scintilla/distinfo
@@ -0,0 +1 @@
+MD5 (scintilla133.tgz) = 0968a486def05cb2fd0c3b04b8d7c84e
diff --git a/x11-toolkits/scintilla/files/patch-aa b/x11-toolkits/scintilla/files/patch-aa
new file mode 100644
index 0000000..e5ffa17
--- /dev/null
+++ b/x11-toolkits/scintilla/files/patch-aa
@@ -0,0 +1,43 @@
+--- makefile 2000/11/27 09:54:21 1.1
++++ makefile 2000/11/27 12:51:45
+@@ -5,10 +5,11 @@
+ # GNU make does not like \r\n line endings so should be saved to CVS in binary form.
+
+ .SUFFIXES: .cxx .o .h .a
+-CC = g++
+-AR = ar
++CC = c++
++AR = $(CC) -shared
+
+-COMPLIB=../bin/scintilla.a
++COMPLIB=../bin/libscintilla.so.1
++LEXRLIB=../bin/libscintilla_lexers.so.1
+
+ vpath %.h ../src ../include
+ vpath %.cxx ../src
+@@ -25,19 +26,22 @@
+ endif
+
+ .cxx.o:
+- $(CC) `gtk-config --cflags` $(INCLUDEDIRS) $(CXXFLAGS) -c $< -o $@
++ $(CC) -DPIC -fPIC -fpic `$(GTK_CONFIG) --cflags` $(INCLUDEDIRS) $(CXXFLAGS) -c $< -o $@
+
+ LEXOBJS = LexCPP.o LexHTML.o LexLua.o LexOthers.o LexPerl.o LexPython.o LexSQL.o LexVB.o LexConf.o
+
+ # The LEXOBJS have to be treated specially as the functions in them are not called from external code
+
+-all: $(COMPLIB) $(LEXOBJS)
++all: $(COMPLIB) $(LEXRLIB)
+
+ $(COMPLIB): DocumentAccessor.o WindowAccessor.o KeyWords.o Document.o CallTip.o \
+ ScintillaBase.o ContractionState.o Editor.o PropSet.o PlatGTK.o \
+ KeyMap.o LineMarker.o ScintillaGTK.o CellBuffer.o ViewStyle.o \
+ Style.o Indicator.o AutoComplete.o
+- $(AR) rc $@ $^
++ $(AR) -o $@ $^
++
++$(LEXRLIB): $(LEXOBJS)
++ $(AR) -o $@ $^
+
+ AutoComplete.o: AutoComplete.cxx Platform.h AutoComplete.h
+ CallTip.o: CallTip.cxx Platform.h CallTip.h
diff --git a/x11-toolkits/scintilla/pkg-comment b/x11-toolkits/scintilla/pkg-comment
new file mode 100644
index 0000000..aece146
--- /dev/null
+++ b/x11-toolkits/scintilla/pkg-comment
@@ -0,0 +1 @@
+A full-featured free source code editing component for GTK+
diff --git a/x11-toolkits/scintilla/pkg-descr b/x11-toolkits/scintilla/pkg-descr
new file mode 100644
index 0000000..51cca74
--- /dev/null
+++ b/x11-toolkits/scintilla/pkg-descr
@@ -0,0 +1,11 @@
+Scintilla is a free source code editing component. As well as features found in
+standard text editing components, Scintilla includes features especially useful
+when editing and debugging source code. These include support for syntax
+styling, error indicators, code completion and call tips. The selection margin
+can contain markers like those used in debuggers to indicate breakpoints and
+the current line. Styling choices are more open than with many editors,
+allowing the use of proportional fonts, bold and italics, multiple foreground
+and background colours and multiple fonts. It comes with complete source code
+and may be used in any free project or commercial product.
+
+WWW: http://www.scintilla.org/
diff --git a/x11-toolkits/scintilla/pkg-plist b/x11-toolkits/scintilla/pkg-plist
new file mode 100644
index 0000000..78f97b4
--- /dev/null
+++ b/x11-toolkits/scintilla/pkg-plist
@@ -0,0 +1,16 @@
+include/scintilla/Accessor.h
+include/scintilla/KeyWords.h
+include/scintilla/Platform.h
+include/scintilla/PosRegExp.h
+include/scintilla/PropSet.h
+include/scintilla/SciLexer.h
+include/scintilla/Scintilla.h
+include/scintilla/ScintillaWidget.h
+include/scintilla/WinDefs.h
+include/scintilla/WindowAccessor.h
+lib/libscintilla.so
+lib/libscintilla.so.1
+lib/libscintilla_lexers.so
+lib/libscintilla_lexers.so.1
+@dirrm include/scintilla
+
OpenPOWER on IntegriCloud