diff options
Diffstat (limited to 'editors/scite')
-rw-r--r-- | editors/scite/DESCR | 4 | ||||
-rw-r--r-- | editors/scite/Makefile | 32 | ||||
-rw-r--r-- | editors/scite/PLIST | 91 | ||||
-rw-r--r-- | editors/scite/distinfo | 6 | ||||
-rw-r--r-- | editors/scite/patches/patch-aa | 31 |
5 files changed, 164 insertions, 0 deletions
diff --git a/editors/scite/DESCR b/editors/scite/DESCR new file mode 100644 index 00000000000..b296769a7f1 --- /dev/null +++ b/editors/scite/DESCR @@ -0,0 +1,4 @@ +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. diff --git a/editors/scite/Makefile b/editors/scite/Makefile new file mode 100644 index 00000000000..6f1060bf808 --- /dev/null +++ b/editors/scite/Makefile @@ -0,0 +1,32 @@ +# $NetBSD: Makefile,v 1.1.1.1 2011/03/11 14:42:46 drochner Exp $ +# + +DISTNAME= scite224 +PKGNAME= scite-2.24 +CATEGORIES= editors +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=scintilla/} +EXTRACT_SUFX= .tgz + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= http://scintilla.sourceforge.net/ +COMMENT= Source code editor +#LICENSE= # TODO: (see mk/license.mk) + +PKG_DESTDIR_SUPPORT= user-destdir + +WRKSRC= ${WRKDIR}/scite +USE_LANGUAGES= c c++ +BUILD_DIRS+= gtk +USE_TOOLS+= gmake +MAKE_FILE= makefile +INSTALLATION_DIRS= share/applications share/pixmaps + +post-extract: + ${RM} -r ${WRKDIR}/scintilla + ${RM} ${WRKSRC}/gtk/deps.mak + ${TOUCH} ${WRKSRC}/gtk/deps.mak + +.include "../../x11/gtk2/buildlink3.mk" +.include "../../devel/scintilla/buildlink3.mk" +.include "../../sysutils/desktop-file-utils/desktopdb.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/editors/scite/PLIST b/editors/scite/PLIST new file mode 100644 index 00000000000..6d6fcddc283 --- /dev/null +++ b/editors/scite/PLIST @@ -0,0 +1,91 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2011/03/11 14:42:46 drochner Exp $ +bin/SciTE +share/applications/SciTE.desktop +share/pixmaps/Sci48M.png +share/scite/CommandValues.html +share/scite/Embedded.properties +share/scite/PrintHi.png +share/scite/SciTE.html +share/scite/SciTE.properties +share/scite/SciTEDirector.html +share/scite/SciTEDoc.html +share/scite/SciTEDownload.html +share/scite/SciTEExtension.html +share/scite/SciTEExternalLexer.html +share/scite/SciTEExtras.html +share/scite/SciTEFAQ.html +share/scite/SciTEGlobal.properties +share/scite/SciTEIco.png +share/scite/SciTEImage.html +share/scite/SciTELexer.html +share/scite/SciTELua.html +share/scite/SciTERegEx.html +share/scite/ScriptLexer.html +share/scite/abaqus.properties +share/scite/abbrev.properties +share/scite/ada.properties +share/scite/asm.properties +share/scite/asn1.properties +share/scite/au3.properties +share/scite/ave.properties +share/scite/baan.properties +share/scite/blitzbasic.properties +share/scite/bullant.properties +share/scite/caml.properties +share/scite/cmake.properties +share/scite/cobol.properties +share/scite/conf.properties +share/scite/cpp.properties +share/scite/csound.properties +share/scite/css.properties +share/scite/d.properties +share/scite/eiffel.properties +share/scite/erlang.properties +share/scite/escript.properties +share/scite/flagship.properties +share/scite/forth.properties +share/scite/fortran.properties +share/scite/freebasic.properties +share/scite/gap.properties +share/scite/html.properties +share/scite/inno.properties +share/scite/kix.properties +share/scite/latex.properties +share/scite/lisp.properties +share/scite/lot.properties +share/scite/lout.properties +share/scite/lua.properties +share/scite/matlab.properties +share/scite/metapost.properties +share/scite/mmixal.properties +share/scite/nimrod.properties +share/scite/nncrontab.properties +share/scite/nsis.properties +share/scite/opal.properties +share/scite/others.properties +share/scite/pascal.properties +share/scite/perl.properties +share/scite/pov.properties +share/scite/powerpro.properties +share/scite/powershell.properties +share/scite/ps.properties +share/scite/purebasic.properties +share/scite/python.properties +share/scite/r.properties +share/scite/rebol.properties +share/scite/ruby.properties +share/scite/scriptol.properties +share/scite/smalltalk.properties +share/scite/sorcins.properties +share/scite/specman.properties +share/scite/spice.properties +share/scite/sql.properties +share/scite/tacl.properties +share/scite/tal.properties +share/scite/tcl.properties +share/scite/tex.properties +share/scite/txt2tags.properties +share/scite/vb.properties +share/scite/verilog.properties +share/scite/vhdl.properties +share/scite/yaml.properties diff --git a/editors/scite/distinfo b/editors/scite/distinfo new file mode 100644 index 00000000000..87f80df8de8 --- /dev/null +++ b/editors/scite/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1.1.1 2011/03/11 14:42:46 drochner Exp $ + +SHA1 (scite224.tgz) = 4e624655c28481507d44126a3c6dbf5bf9a7a244 +RMD160 (scite224.tgz) = a11dfc9251d804cd5f699bf1fe15688b65106544 +Size (scite224.tgz) = 1829813 bytes +SHA1 (patch-aa) = 72bea1ac6869236e9a9608ea64d58d514d9181a6 diff --git a/editors/scite/patches/patch-aa b/editors/scite/patches/patch-aa new file mode 100644 index 00000000000..2b560b4af07 --- /dev/null +++ b/editors/scite/patches/patch-aa @@ -0,0 +1,31 @@ +$NetBSD: patch-aa,v 1.1.1.1 2011/03/11 14:42:46 drochner Exp $ + +--- gtk/makefile.orig 2010-10-27 21:16:07.000000000 +0000 ++++ gtk/makefile +@@ -84,13 +84,13 @@ deps: + $(CC) -MM $(CONFIGFLAGS) $(CXXFLAGS) *.cxx ../src/*.cxx | sed -e 's/\/usr.* //' | grep [a-zA-Z] >deps.mak + + # make should be run in ../../scintilla/gtk to compile all the lexers. +-COMPLIB=../../scintilla/bin/scintilla.a ++COMPLIB=$(prefix)/lib/scintilla.a + + $(PROG): SciTEGTK.o GUIGTK.o Widget.o \ + FilePath.o SciTEBase.o SciTEBuffers.o SciTEIO.o StringList.o Exporters.o StringHelpers.o \ + PropSetFile.o MultiplexExtension.o DirectorExtension.o SciTEProps.o StyleWriter.o Utf8_16.o \ + JobQueue.o GTKMutex.o IFaceTable.o $(COMPLIB) $(LUA_OBJS) +- $(CC) `$(CONFIGTHREADS)` -rdynamic -Wl,--as-needed -Wl,--version-script lua.vers -DGTK $^ -o $@ $(CONFIGLIB) -ldl -lstdc++ ++ $(CC) `$(CONFIGTHREADS)` -rdynamic -Wl,--as-needed -Wl,--version-script lua.vers -DGTK $^ -o $@ $(CONFIGLIB) -lstdc++ + + # Automatically generate header dependencies with "make deps" + include deps.mak +@@ -109,8 +109,8 @@ install: + done + + ifdef gnomeprefix +- $(INSTALL) -m 755 -D SciTE.desktop $(DESTDIR)$(datadir)/applications/SciTE.desktop +- $(INSTALL) -m 644 -D Sci48M.png $(DESTDIR)$(pixmapdir)/Sci48M.png ++ $(INSTALL) -m 755 SciTE.desktop $(DESTDIR)$(datadir)/applications/SciTE.desktop ++ $(INSTALL) -m 644 Sci48M.png $(DESTDIR)$(pixmapdir)/Sci48M.png + endif + + uninstall: |