pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/textproc Extract libhighlight (libtoolized for portabi...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/26151259fc48
branches:  trunk
changeset: 378456:26151259fc48
user:      schmonz <schmonz%pkgsrc.org@localhost>
date:      Sun Apr 08 19:40:29 2018 +0000

description:
Extract libhighlight (libtoolized for portability) to its own
package, which highlight and p5-highlight buildlink instead of making
their own static copies (so bump their PKGREVISIONS). While here, fix
build on SmartOS.

diffstat:

 textproc/highlight/Makefile                                |    9 +-
 textproc/highlight/Makefile.common                         |    3 +-
 textproc/highlight/PLIST                                   |  314 +------------
 textproc/highlight/distinfo                                |    9 +-
 textproc/highlight/patches/patch-examples_swig_makefile    |   12 +-
 textproc/highlight/patches/patch-makefile                  |   38 +-
 textproc/highlight/patches/patch-src_core_platform__fs.cpp |   22 +
 textproc/highlight/patches/patch-src_makefile              |   59 ++-
 textproc/libhighlight/Makefile                             |   22 +
 textproc/libhighlight/PLIST                                |  314 +++++++++++++
 textproc/libhighlight/buildlink3.mk                        |   12 +
 textproc/p5-highlight/Makefile                             |    6 +-
 12 files changed, 483 insertions(+), 337 deletions(-)

diffs (truncated from 955 to 300 lines):

diff -r ada2d2308160 -r 26151259fc48 textproc/highlight/Makefile
--- a/textproc/highlight/Makefile       Sun Apr 08 19:11:27 2018 +0000
+++ b/textproc/highlight/Makefile       Sun Apr 08 19:40:29 2018 +0000
@@ -1,14 +1,13 @@
-# $NetBSD: Makefile,v 1.9 2014/08/18 01:21:49 schmonz Exp $
+# $NetBSD: Makefile,v 1.10 2018/04/08 19:40:29 schmonz Exp $
 
+PKGREVISION=           1
 .include "../../textproc/highlight/Makefile.common"
 
 MANCOMPRESSED=         yes
 
 BUILD_TARGET=          cli
-
-EGDIR=                 ${PREFIX}/share/examples/highlight
-CONF_FILES=            ${EGDIR}/filetypes.conf                 \
-                       ${PKG_SYSCONFDIR}/filetypes.conf
+INSTALL_TARGET=                install-cli
 
 .include "../../devel/libgetopt/buildlink3.mk"
+.include "../../textproc/libhighlight/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r ada2d2308160 -r 26151259fc48 textproc/highlight/Makefile.common
--- a/textproc/highlight/Makefile.common        Sun Apr 08 19:11:27 2018 +0000
+++ b/textproc/highlight/Makefile.common        Sun Apr 08 19:40:29 2018 +0000
@@ -1,5 +1,6 @@
-# $NetBSD: Makefile.common,v 1.1 2014/08/18 01:21:49 schmonz Exp $
+# $NetBSD: Makefile.common,v 1.2 2018/04/08 19:40:29 schmonz Exp $
 # used by textproc/highlight/Makefile
+# used by textproc/libhighlight/Makefile
 # used by textproc/p5-highlight/Makefile
 
 DISTNAME=              highlight-${VERSION}
diff -r ada2d2308160 -r 26151259fc48 textproc/highlight/PLIST
--- a/textproc/highlight/PLIST  Sun Apr 08 19:11:27 2018 +0000
+++ b/textproc/highlight/PLIST  Sun Apr 08 19:40:29 2018 +0000
@@ -1,315 +1,3 @@
-@comment $NetBSD: PLIST,v 1.5 2014/08/09 16:55:03 schmonz Exp $
+@comment $NetBSD: PLIST,v 1.6 2018/04/08 19:40:29 schmonz Exp $
 bin/highlight
 man/man1/highlight.1
-share/doc/highlight/AUTHORS
-share/doc/highlight/COPYING
-share/doc/highlight/ChangeLog
-share/doc/highlight/INSTALL
-share/doc/highlight/README
-share/doc/highlight/README_DE
-share/doc/highlight/README_LANGLIST
-share/doc/highlight/README_REGEX
-share/doc/highlight/README_SWIG
-share/doc/highlight/examples/highlight_pipe.php
-share/doc/highlight/examples/highlight_pipe.pm
-share/doc/highlight/examples/highlight_pipe.py
-share/doc/highlight/examples/swig/highlight.i
-share/doc/highlight/examples/swig/makefile
-share/doc/highlight/examples/swig/testmod.pl
-share/doc/highlight/examples/swig/testmod.py
-share/doc/highlight/examples/web_plugins/dokuwiki/syntax.php
-share/doc/highlight/examples/web_plugins/movabletype/README
-share/doc/highlight/examples/web_plugins/movabletype/highlight.pl
-share/doc/highlight/examples/web_plugins/wordpress/README
-share/doc/highlight/examples/web_plugins/wordpress/highlight.php
-share/examples/highlight/filetypes.conf
-share/highlight/langDefs/abap4.lang
-share/highlight/langDefs/abc.lang
-share/highlight/langDefs/abnf.lang
-share/highlight/langDefs/actionscript.lang
-share/highlight/langDefs/ada.lang
-share/highlight/langDefs/agda.lang
-share/highlight/langDefs/algol.lang
-share/highlight/langDefs/ampl.lang
-share/highlight/langDefs/amtrix.lang
-share/highlight/langDefs/applescript.lang
-share/highlight/langDefs/arc.lang
-share/highlight/langDefs/arm.lang
-share/highlight/langDefs/as400cl.lang
-share/highlight/langDefs/ascend.lang
-share/highlight/langDefs/asp.lang
-share/highlight/langDefs/aspect.lang
-share/highlight/langDefs/assembler.lang
-share/highlight/langDefs/ats.lang
-share/highlight/langDefs/autohotkey.lang
-share/highlight/langDefs/autoit.lang
-share/highlight/langDefs/avenue.lang
-share/highlight/langDefs/awk.lang
-share/highlight/langDefs/bat.lang
-share/highlight/langDefs/bbcode.lang
-share/highlight/langDefs/bcpl.lang
-share/highlight/langDefs/bibtex.lang
-share/highlight/langDefs/biferno.lang
-share/highlight/langDefs/bison.lang
-share/highlight/langDefs/blitzbasic.lang
-share/highlight/langDefs/bms.lang
-share/highlight/langDefs/bnf.lang
-share/highlight/langDefs/boo.lang
-share/highlight/langDefs/c.lang
-share/highlight/langDefs/ceylon.lang
-share/highlight/langDefs/charmm.lang
-share/highlight/langDefs/chill.lang
-share/highlight/langDefs/clean.lang
-share/highlight/langDefs/clearbasic.lang
-share/highlight/langDefs/clipper.lang
-share/highlight/langDefs/clojure.lang
-share/highlight/langDefs/clp.lang
-share/highlight/langDefs/cobol.lang
-share/highlight/langDefs/coldfusion.lang
-share/highlight/langDefs/crk.lang
-share/highlight/langDefs/csharp.lang
-share/highlight/langDefs/css.lang
-share/highlight/langDefs/d.lang
-share/highlight/langDefs/dart.lang
-share/highlight/langDefs/diff.lang
-share/highlight/langDefs/dylan.lang
-share/highlight/langDefs/ebnf.lang
-share/highlight/langDefs/eiffel.lang
-share/highlight/langDefs/erlang.lang
-share/highlight/langDefs/euphoria.lang
-share/highlight/langDefs/express.lang
-share/highlight/langDefs/fame.lang
-share/highlight/langDefs/felix.lang
-share/highlight/langDefs/fortran77.lang
-share/highlight/langDefs/fortran90.lang
-share/highlight/langDefs/frink.lang
-share/highlight/langDefs/fsharp.lang
-share/highlight/langDefs/fx.lang
-share/highlight/langDefs/gambas.lang
-share/highlight/langDefs/gdb.lang
-share/highlight/langDefs/go.lang
-share/highlight/langDefs/graphviz.lang
-share/highlight/langDefs/haskell.lang
-share/highlight/langDefs/haxe.lang
-share/highlight/langDefs/hcl.lang
-share/highlight/langDefs/html.lang
-share/highlight/langDefs/httpd.lang
-share/highlight/langDefs/icon.lang
-share/highlight/langDefs/idl.lang
-share/highlight/langDefs/idlang.lang
-share/highlight/langDefs/inc_luatex.lang
-share/highlight/langDefs/informix.lang
-share/highlight/langDefs/ini.lang
-share/highlight/langDefs/innosetup.lang
-share/highlight/langDefs/interlis.lang
-share/highlight/langDefs/io.lang
-share/highlight/langDefs/jasmin.lang
-share/highlight/langDefs/java.lang
-share/highlight/langDefs/js.lang
-share/highlight/langDefs/jsp.lang
-share/highlight/langDefs/ldif.lang
-share/highlight/langDefs/lhs.lang
-share/highlight/langDefs/lilypond.lang
-share/highlight/langDefs/limbo.lang
-share/highlight/langDefs/lindenscript.lang
-share/highlight/langDefs/lisp.lang
-share/highlight/langDefs/logtalk.lang
-share/highlight/langDefs/lotos.lang
-share/highlight/langDefs/lotus.lang
-share/highlight/langDefs/lua.lang
-share/highlight/langDefs/luban.lang
-share/highlight/langDefs/make.lang
-share/highlight/langDefs/maple.lang
-share/highlight/langDefs/matlab.lang
-share/highlight/langDefs/maya.lang
-share/highlight/langDefs/mercury.lang
-share/highlight/langDefs/miranda.lang
-share/highlight/langDefs/mod2.lang
-share/highlight/langDefs/mod3.lang
-share/highlight/langDefs/modelica.lang
-share/highlight/langDefs/moon.lang
-share/highlight/langDefs/ms.lang
-share/highlight/langDefs/mssql.lang
-share/highlight/langDefs/mxml.lang
-share/highlight/langDefs/n3.lang
-share/highlight/langDefs/nasal.lang
-share/highlight/langDefs/nbc.lang
-share/highlight/langDefs/nemerle.lang
-share/highlight/langDefs/netrexx.lang
-share/highlight/langDefs/nice.lang
-share/highlight/langDefs/nsis.lang
-share/highlight/langDefs/nxc.lang
-share/highlight/langDefs/oberon.lang
-share/highlight/langDefs/objc.lang
-share/highlight/langDefs/ocaml.lang
-share/highlight/langDefs/octave.lang
-share/highlight/langDefs/oorexx.lang
-share/highlight/langDefs/os.lang
-share/highlight/langDefs/oz.lang
-share/highlight/langDefs/paradox.lang
-share/highlight/langDefs/pas.lang
-share/highlight/langDefs/pdf.lang
-share/highlight/langDefs/perl.lang
-share/highlight/langDefs/php.lang
-share/highlight/langDefs/pike.lang
-share/highlight/langDefs/pl1.lang
-share/highlight/langDefs/plperl.lang
-share/highlight/langDefs/plpython.lang
-share/highlight/langDefs/pltcl.lang
-share/highlight/langDefs/pov.lang
-share/highlight/langDefs/pro.lang
-share/highlight/langDefs/progress.lang
-share/highlight/langDefs/ps.lang
-share/highlight/langDefs/ps1.lang
-share/highlight/langDefs/psl.lang
-share/highlight/langDefs/pure.lang
-share/highlight/langDefs/pyrex.lang
-share/highlight/langDefs/python.lang
-share/highlight/langDefs/q.lang
-share/highlight/langDefs/qmake.lang
-share/highlight/langDefs/qu.lang
-share/highlight/langDefs/r.lang
-share/highlight/langDefs/rebol.lang
-share/highlight/langDefs/rexx.lang
-share/highlight/langDefs/rnc.lang
-share/highlight/langDefs/rpg.lang
-share/highlight/langDefs/rpl.lang
-share/highlight/langDefs/ruby.lang
-share/highlight/langDefs/s.lang
-share/highlight/langDefs/sas.lang
-share/highlight/langDefs/scala.lang
-share/highlight/langDefs/scilab.lang
-share/highlight/langDefs/sh.lang
-share/highlight/langDefs/small.lang
-share/highlight/langDefs/smalltalk.lang
-share/highlight/langDefs/sml.lang
-share/highlight/langDefs/snmp.lang
-share/highlight/langDefs/snobol.lang
-share/highlight/langDefs/spec.lang
-share/highlight/langDefs/spn.lang
-share/highlight/langDefs/sql.lang
-share/highlight/langDefs/squirrel.lang
-share/highlight/langDefs/sybase.lang
-share/highlight/langDefs/tcl.lang
-share/highlight/langDefs/tcsh.lang
-share/highlight/langDefs/tex.lang
-share/highlight/langDefs/ts.lang
-share/highlight/langDefs/tsql.lang
-share/highlight/langDefs/ttcn3.lang
-share/highlight/langDefs/txt.lang
-share/highlight/langDefs/upc.lang
-share/highlight/langDefs/vala.lang
-share/highlight/langDefs/vb.lang
-share/highlight/langDefs/verilog.lang
-share/highlight/langDefs/vhd.lang
-share/highlight/langDefs/xml.lang
-share/highlight/langDefs/xpp.lang
-share/highlight/langDefs/yaiff.lang
-share/highlight/langDefs/yang.lang
-share/highlight/langDefs/znn.lang
-share/highlight/plugins/asciidoc_html_add_links.lua
-share/highlight/plugins/bash_functions.lua
-share/highlight/plugins/bash_ref_linuxmanpages_com.lua
-share/highlight/plugins/cpp_qt.lua
-share/highlight/plugins/cpp_ref_cplusplus_com.lua
-share/highlight/plugins/cpp_ref_gtk_gnome_org.lua
-share/highlight/plugins/cpp_ref_local_includes.lua
-share/highlight/plugins/cpp_ref_qtproject_org.lua
-share/highlight/plugins/cpp_ref_wxwidgets_org.lua
-share/highlight/plugins/cpp_syslog.lua
-share/highlight/plugins/cpp_wx.lua
-share/highlight/plugins/ctags_html_tooltips.lua
-share/highlight/plugins/java_library.lua
-share/highlight/plugins/keywords_capitalize.lua
-share/highlight/plugins/keywords_lowercase.lua
-share/highlight/plugins/keywords_uppercase.lua
-share/highlight/plugins/outhtml_curly_brackets_matcher.lua
-share/highlight/plugins/outhtml_keyword_matcher.lua
-share/highlight/plugins/outhtml_parantheses_matcher.lua
-share/highlight/plugins/perl_ref_perl_org.lua
-share/highlight/plugins/python_ref_python_org.lua
-share/highlight/plugins/scala_ref_scala_lang_org.lua
-share/highlight/plugins/theme_invert.lua
-share/highlight/plugins/token_add_state_ids.lua
-share/highlight/themes/acid.theme
-share/highlight/themes/aiseered.theme
-share/highlight/themes/andes.theme
-share/highlight/themes/anotherdark.theme
-share/highlight/themes/autumn.theme
-share/highlight/themes/baycomb.theme
-share/highlight/themes/bclear.theme
-share/highlight/themes/biogoo.theme
-share/highlight/themes/bipolar.theme
-share/highlight/themes/blacknblue.theme
-share/highlight/themes/bluegreen.theme
-share/highlight/themes/breeze.theme
-share/highlight/themes/bright.theme
-share/highlight/themes/camo.theme
-share/highlight/themes/candy.theme
-share/highlight/themes/clarity.theme
-share/highlight/themes/dante.theme
-share/highlight/themes/darkblue.theme
-share/highlight/themes/darkbone.theme
-share/highlight/themes/darkness.theme
-share/highlight/themes/darkslategray.theme
-share/highlight/themes/darkspectrum.theme
-share/highlight/themes/denim.theme
-share/highlight/themes/dusk.theme
-share/highlight/themes/earendel.theme
-share/highlight/themes/easter.theme
-share/highlight/themes/edit-anjuta.theme
-share/highlight/themes/edit-eclipse.theme
-share/highlight/themes/edit-emacs.theme



Home | Main Index | Thread Index | Old Index