summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorrh <rh@pkgsrc.org>2009-03-02 22:10:26 +0000
committerrh <rh@pkgsrc.org>2009-03-02 22:10:26 +0000
commitc2be95e5e7b9b4a373f69283318653dfe3b6449b (patch)
treead3f1875da2b60444b55e9e4d01b15e6518a6b34 /textproc
parent9098002713c2f9f710588fde96cec56eddab2c01 (diff)
downloadpkgsrc-c2be95e5e7b9b4a373f69283318653dfe3b6449b.tar.gz
Update highlight to 2.7. Changes include tons of language updates, new
languages, and bug fixes. A detailed list of changes can be found at: http://www.andre-simon.de/doku/highlight/highlight_changelog.html
Diffstat (limited to 'textproc')
-rw-r--r--textproc/highlight/Makefile6
-rw-r--r--textproc/highlight/PLIST3
-rw-r--r--textproc/highlight/distinfo12
-rw-r--r--textproc/highlight/patches/patch-aa14
-rw-r--r--textproc/highlight/patches/patch-ab10
5 files changed, 23 insertions, 22 deletions
diff --git a/textproc/highlight/Makefile b/textproc/highlight/Makefile
index 7443dcb4340..cf055d9127f 100644
--- a/textproc/highlight/Makefile
+++ b/textproc/highlight/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.3 2008/11/07 21:12:12 snj Exp $
+# $NetBSD: Makefile,v 1.4 2009/03/02 22:10:26 rh Exp $
-DISTNAME= highlight-2.6.14
+DISTNAME= highlight-2.7
CATEGORIES= textproc
MASTER_SITES= http://www.andre-simon.de/zip/
EXTRACT_SUFX= .tar.bz2
@@ -12,7 +12,7 @@ COMMENT= Converts source code to formatted text with syntax highlighting
PKG_DESTDIR_SUPPORT= user-destdir
USE_TOOLS+= gmake
-USE_LANGUAGES= c++
+USE_LANGUAGES= c c++
MANCOMPRESSED= yes
MAKE_FILE= makefile
diff --git a/textproc/highlight/PLIST b/textproc/highlight/PLIST
index 840648d3423..2cbf1afc942 100644
--- a/textproc/highlight/PLIST
+++ b/textproc/highlight/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2008/11/07 21:12:12 snj Exp $
+@comment $NetBSD: PLIST,v 1.3 2009/03/02 22:10:26 rh Exp $
bin/highlight
man/man1/highlight.1
share/doc/highlight/AUTHORS
@@ -63,6 +63,7 @@ share/highlight/langDefs/c.lang
share/highlight/langDefs/cb.lang
share/highlight/langDefs/cfc.lang
share/highlight/langDefs/clipper.lang
+share/highlight/langDefs/clojure.lang
share/highlight/langDefs/clp.lang
share/highlight/langDefs/cob.lang
share/highlight/langDefs/cs.lang
diff --git a/textproc/highlight/distinfo b/textproc/highlight/distinfo
index c661f553596..b98e1f6abd6 100644
--- a/textproc/highlight/distinfo
+++ b/textproc/highlight/distinfo
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.2 2008/11/07 21:12:12 snj Exp $
+$NetBSD: distinfo,v 1.3 2009/03/02 22:10:26 rh Exp $
-SHA1 (highlight-2.6.14.tar.bz2) = 9e0890ef3042b6ed5b1249a8cc074822fa4dc141
-RMD160 (highlight-2.6.14.tar.bz2) = fe01d991906c13203923215cbb3e846ff59d7500
-Size (highlight-2.6.14.tar.bz2) = 393390 bytes
-SHA1 (patch-aa) = 6c082bf2fb07a5a8859da2717bef799389e7831d
-SHA1 (patch-ab) = a117fb98e2e4bfdb3e2c56e10092fbe17a2b4d4e
+SHA1 (highlight-2.7.tar.bz2) = ea970d9ab8dada5fd459b8b11194b29d3fea582e
+RMD160 (highlight-2.7.tar.bz2) = d9971172f735e8233c89654bae9947171be3bfac
+Size (highlight-2.7.tar.bz2) = 393248 bytes
+SHA1 (patch-aa) = 3495170dcae12b1a9c783def838b15b159f34227
+SHA1 (patch-ab) = 9eda27f2f3a0b627bab76fcb951066951ff97c78
diff --git a/textproc/highlight/patches/patch-aa b/textproc/highlight/patches/patch-aa
index 69e9fd2e94e..61cb1c0838b 100644
--- a/textproc/highlight/patches/patch-aa
+++ b/textproc/highlight/patches/patch-aa
@@ -1,7 +1,7 @@
-$NetBSD: patch-aa,v 1.2 2008/11/07 21:12:12 snj Exp $
+$NetBSD: patch-aa,v 1.3 2009/03/02 22:10:27 rh Exp $
---- makefile.orig 2008-10-28 21:53:41.000000000 -0700
-+++ makefile 2008-11-07 11:55:20.000000000 -0800
+--- makefile.orig 2009-01-06 12:34:10.000000000 +1000
++++ makefile
@@ -8,7 +8,6 @@
DESTDIR =
@@ -40,9 +40,9 @@ $NetBSD: patch-aa,v 1.2 2008/11/07 21:12:12 snj Exp $
+MKDIR=${BSD_INSTALL_DATA_DIR}
+RMDIR=${RM} -r -f
- all:
+ all cli:
${MAKE} -C ./src -f ./makefile HL_DATA_DIR=${data_dir} HL_CONFIG_DIR=${conf_dir}
-@@ -77,7 +76,7 @@ install:
+@@ -72,7 +71,7 @@ install:
${DESTDIR}${data_dir}langDefs \
${DESTDIR}${data_dir}indentSchemes \
${DESTDIR}${data_dir}helpmsg
@@ -51,7 +51,7 @@ $NetBSD: patch-aa,v 1.2 2008/11/07 21:12:12 snj Exp $
${MKDIR} ${DESTDIR}${bin_dir}
${INSTALL_DATA} ./langDefs/*.lang ${DESTDIR}${data_dir}langDefs/
-@@ -85,7 +84,7 @@ install:
+@@ -80,7 +79,7 @@ install:
${INSTALL_DATA} ./themes/*.style ${DESTDIR}${data_dir}themes/
${INSTALL_DATA} ./indentSchemes/*.indent ${DESTDIR}${data_dir}indentSchemes/
${INSTALL_DATA} ./helpmsg/*.help ${DESTDIR}${data_dir}helpmsg/
@@ -60,7 +60,7 @@ $NetBSD: patch-aa,v 1.2 2008/11/07 21:12:12 snj Exp $
${INSTALL_DATA} ./AUTHORS ${DESTDIR}${doc_dir}
${INSTALL_DATA} ./README ${DESTDIR}${doc_dir}
${INSTALL_DATA} ./README_DE ${DESTDIR}${doc_dir}
-@@ -132,7 +131,7 @@ uninstall:
+@@ -127,7 +126,7 @@ uninstall:
${RMDIR} ${DESTDIR}${doc_dir}
${RMDIR} ${DESTDIR}${conf_dir}
${RMDIR} ${DESTDIR}${examples_dir}
diff --git a/textproc/highlight/patches/patch-ab b/textproc/highlight/patches/patch-ab
index 9fc37f9cc59..9d50030b397 100644
--- a/textproc/highlight/patches/patch-ab
+++ b/textproc/highlight/patches/patch-ab
@@ -1,7 +1,7 @@
-$NetBSD: patch-ab,v 1.2 2008/11/07 21:12:12 snj Exp $
+$NetBSD: patch-ab,v 1.3 2009/03/02 22:10:27 rh Exp $
---- src/makefile.orig 2008-10-23 19:08:29.000000000 -0700
-+++ src/makefile 2008-11-07 11:56:04.000000000 -0800
+--- src/makefile.orig 2009-01-06 12:17:29.000000000 +1000
++++ src/makefile
@@ -10,9 +10,7 @@
# Add -DCONFIG_FILE_PATH=\"/your/path/.highlightrc\" if you want to define a
# custom path to the highlight configuration file (default: $HOME/.highlightrc)
@@ -10,5 +10,5 @@ $NetBSD: patch-ab,v 1.2 2008/11/07 21:12:12 snj Exp $
-CFLAGS:=-O2 ${CFLAGS}
- # Do not strip by default (Mac OS X lazy pointer issues)
- # Add -static to avoid linking with shared libs (can cause trouble when highlight
+ # Source paths
+ CORE_DIR=./core/