summaryrefslogtreecommitdiff
path: root/devel/scintilla
diff options
context:
space:
mode:
authordrochner <drochner>2011-03-11 14:38:22 +0000
committerdrochner <drochner>2011-03-11 14:38:22 +0000
commit376bd23ecdb1bd70f41ce4efe030852de0f67459 (patch)
tree5b2814df3709e553d44eaa03a83b46d1ab66374e /devel/scintilla
parent6c7e4d19639ebff82016cc3745d21c589f7c23fc (diff)
downloadpkgsrc-376bd23ecdb1bd70f41ce4efe030852de0f67459.tar.gz
add scintilla-2.24, a source code editing component for gtk2
Diffstat (limited to 'devel/scintilla')
-rw-r--r--devel/scintilla/DESCR10
-rw-r--r--devel/scintilla/Makefile32
-rw-r--r--devel/scintilla/PLIST5
-rw-r--r--devel/scintilla/buildlink3.mk16
-rw-r--r--devel/scintilla/distinfo5
5 files changed, 68 insertions, 0 deletions
diff --git a/devel/scintilla/DESCR b/devel/scintilla/DESCR
new file mode 100644
index 00000000000..041e54b3049
--- /dev/null
+++ b/devel/scintilla/DESCR
@@ -0,0 +1,10 @@
+Scintilla is a free source code editing component. It comes with complete
+source code and a license that permits use in any free project or
+commercial product.
+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.
diff --git a/devel/scintilla/Makefile b/devel/scintilla/Makefile
new file mode 100644
index 00000000000..a4bbb0a6dff
--- /dev/null
+++ b/devel/scintilla/Makefile
@@ -0,0 +1,32 @@
+# $NetBSD: Makefile,v 1.1.1.1 2011/03/11 14:38:22 drochner Exp $
+#
+
+DISTNAME= scintilla224
+PKGNAME= scintilla-2.24
+CATEGORIES= devel
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=scintilla/}
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://scintilla.sourceforge.net/
+COMMENT= Source code editing component
+#LICENSE= # TODO: (see mk/license.mk)
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+WRKSRC= ${WRKDIR}/scintilla
+USE_LANGUAGES= c c++
+USE_TOOLS+= gmake
+BUILD_DIRS= gtk
+MAKE_FILE= makefile
+
+INSTALLATION_DIRS= include lib
+do-install:
+ ${INSTALL_DATA} ${WRKSRC}/include/Scintilla.h \
+ ${WRKSRC}/include/ScintillaWidget.h \
+ ${WRKSRC}/include/SciLexer.h \
+ ${DESTDIR}${PREFIX}/include
+ ${INSTALL_LIB} ${WRKSRC}/bin/scintilla.a ${DESTDIR}${PREFIX}/lib
+
+.include "../../x11/gtk2/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/scintilla/PLIST b/devel/scintilla/PLIST
new file mode 100644
index 00000000000..e36a862a161
--- /dev/null
+++ b/devel/scintilla/PLIST
@@ -0,0 +1,5 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2011/03/11 14:38:22 drochner Exp $
+include/SciLexer.h
+include/Scintilla.h
+include/ScintillaWidget.h
+lib/scintilla.a
diff --git a/devel/scintilla/buildlink3.mk b/devel/scintilla/buildlink3.mk
new file mode 100644
index 00000000000..370abb82229
--- /dev/null
+++ b/devel/scintilla/buildlink3.mk
@@ -0,0 +1,16 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2011/03/11 14:38:22 drochner Exp $
+
+BUILDLINK_DEPMETHOD.scintilla?= build
+
+BUILDLINK_TREE+= scintilla
+
+.if !defined(SCINTILLA_BUILDLINK3_MK)
+SCINTILLA_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.scintilla+= scintilla>=2.23
+BUILDLINK_PKGSRCDIR.scintilla?= ../../devel/scintilla
+
+#.include "../../x11/gtk2/buildlink3.mk"
+.endif # SCINTILLA_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -scintilla
diff --git a/devel/scintilla/distinfo b/devel/scintilla/distinfo
new file mode 100644
index 00000000000..829c84987f2
--- /dev/null
+++ b/devel/scintilla/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2011/03/11 14:38:22 drochner Exp $
+
+SHA1 (scintilla224.tgz) = 1edfe5ccff43a664ba22c0c012d8135984048d1c
+RMD160 (scintilla224.tgz) = cfd5cfa8dbbf872cd782ef3731d230fadbf778f4
+Size (scintilla224.tgz) = 1021546 bytes