diff options
-rw-r--r-- | textproc/Makefile | 1 | ||||
-rw-r--r-- | textproc/source-highlight/Makefile | 21 | ||||
-rw-r--r-- | textproc/source-highlight/distinfo | 1 | ||||
-rw-r--r-- | textproc/source-highlight/files/patch-aa | 18 | ||||
-rw-r--r-- | textproc/source-highlight/files/patch-ab | 18 | ||||
-rw-r--r-- | textproc/source-highlight/pkg-comment | 1 | ||||
-rw-r--r-- | textproc/source-highlight/pkg-descr | 4 | ||||
-rw-r--r-- | textproc/source-highlight/pkg-plist | 31 |
8 files changed, 95 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile index edd79b2c033b..279b1d076227 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -188,6 +188,7 @@ SUBDIR += sgmltools-lite SUBDIR += sgrep SUBDIR += smartdoc + SUBDIR += source-highlight SUBDIR += sp SUBDIR += tclExpat SUBDIR += tdtd.el diff --git a/textproc/source-highlight/Makefile b/textproc/source-highlight/Makefile new file mode 100644 index 000000000000..81a66742f1e2 --- /dev/null +++ b/textproc/source-highlight/Makefile @@ -0,0 +1,21 @@ +# Ports collection makefile for: source-highlight +# Date created: 24 Aug 2001 +# Whom: Kris Kennaway <kris@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= source-highlight +PORTVERSION= 1.1 +CATEGORIES= textproc +MASTER_SITES= ${MASTER_SITE_GNU} +MASTER_SITE_SUBDIR= source-highlight + +MAINTAINER= ports@FreeBSD.org + +GNU_CONFIGURE= yes +.if defined(NOPORTDOCS) +MAKE_ENV+= NOPORTDOCS="${NOPORTDOCS}" +.endif + +.include <bsd.port.mk> diff --git a/textproc/source-highlight/distinfo b/textproc/source-highlight/distinfo new file mode 100644 index 000000000000..610d22ee0b48 --- /dev/null +++ b/textproc/source-highlight/distinfo @@ -0,0 +1 @@ +MD5 (source-highlight-1.1.tar.gz) = c238eb186a52d5afd6d16fa0ca568038 diff --git a/textproc/source-highlight/files/patch-aa b/textproc/source-highlight/files/patch-aa new file mode 100644 index 000000000000..57714d040c12 --- /dev/null +++ b/textproc/source-highlight/files/patch-aa @@ -0,0 +1,18 @@ +--- Makefile.in.orig Sat Aug 25 00:30:57 2001 ++++ Makefile.in Sat Aug 25 00:31:14 2001 +@@ -155,6 +155,7 @@ + cd $(top_builddir) && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status + + install-source_highlightdocDATA: $(source_highlightdoc_DATA) ++.if !defined(NOPORTDOCS) + @$(NORMAL_INSTALL) + $(mkinstalldirs) $(DESTDIR)$(source_highlightdocdir) + @list='$(source_highlightdoc_DATA)'; for p in $$list; do \ +@@ -166,6 +167,7 @@ + $(INSTALL_DATA) $$p $(DESTDIR)$(source_highlightdocdir)/$$p; \ + fi; fi; \ + done ++.endif + + uninstall-source_highlightdocDATA: + @$(NORMAL_UNINSTALL) diff --git a/textproc/source-highlight/files/patch-ab b/textproc/source-highlight/files/patch-ab new file mode 100644 index 000000000000..b9f4377af63a --- /dev/null +++ b/textproc/source-highlight/files/patch-ab @@ -0,0 +1,18 @@ +--- doc/Makefile.in.orig Mon Jun 11 10:33:58 2001 ++++ doc/Makefile.in Sat Aug 25 00:28:19 2001 +@@ -134,6 +134,7 @@ + cd $(top_builddir) && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status + + install-source_highlightdocDATA: $(source_highlightdoc_DATA) ++.if !defined(NOPORTDOCS) + @$(NORMAL_INSTALL) + $(mkinstalldirs) $(DESTDIR)$(source_highlightdocdir) + @list='$(source_highlightdoc_DATA)'; for p in $$list; do \ +@@ -145,6 +146,7 @@ + $(INSTALL_DATA) $$p $(DESTDIR)$(source_highlightdocdir)/$$p; \ + fi; fi; \ + done ++.endif + + uninstall-source_highlightdocDATA: + @$(NORMAL_UNINSTALL) diff --git a/textproc/source-highlight/pkg-comment b/textproc/source-highlight/pkg-comment new file mode 100644 index 000000000000..d785f239da0e --- /dev/null +++ b/textproc/source-highlight/pkg-comment @@ -0,0 +1 @@ +C/C++ and Java sources to HTML converter diff --git a/textproc/source-highlight/pkg-descr b/textproc/source-highlight/pkg-descr new file mode 100644 index 000000000000..6dc46fbcd08b --- /dev/null +++ b/textproc/source-highlight/pkg-descr @@ -0,0 +1,4 @@ +Source-highlight is a simple program that, given a source C/C++ or Java file, +produces an html source with syntax highlighting. + +WWW: http://www.gnu.org/software/src-highlite/source-highlight.html diff --git a/textproc/source-highlight/pkg-plist b/textproc/source-highlight/pkg-plist new file mode 100644 index 000000000000..58ca2d304195 --- /dev/null +++ b/textproc/source-highlight/pkg-plist @@ -0,0 +1,31 @@ +bin/cpp2html +bin/java2html +%%PORTDOCS%%share/doc/source-highlight/COPYING +%%PORTDOCS%%share/doc/source-highlight/ChangeLog +%%PORTDOCS%%share/doc/source-highlight/Hello.css +%%PORTDOCS%%share/doc/source-highlight/Hello.java +%%PORTDOCS%%share/doc/source-highlight/Hello.java.html +%%PORTDOCS%%share/doc/source-highlight/Hello1.html +%%PORTDOCS%%share/doc/source-highlight/Hello2.css +%%PORTDOCS%%share/doc/source-highlight/Hello2.html +%%PORTDOCS%%share/doc/source-highlight/Hello3.html +%%PORTDOCS%%share/doc/source-highlight/Hello4.html +%%PORTDOCS%%share/doc/source-highlight/Hello5.html +%%PORTDOCS%%share/doc/source-highlight/Hello_h_f.html +%%PORTDOCS%%share/doc/source-highlight/INSTALL +%%PORTDOCS%%share/doc/source-highlight/NEWS +%%PORTDOCS%%share/doc/source-highlight/README +%%PORTDOCS%%share/doc/source-highlight/README.compile_VC6 +%%PORTDOCS%%share/doc/source-highlight/THANKS +%%PORTDOCS%%share/doc/source-highlight/TODO.txt +%%PORTDOCS%%share/doc/source-highlight/cmdline.c.html +%%PORTDOCS%%share/doc/source-highlight/cmdline.h.html +%%PORTDOCS%%share/doc/source-highlight/colors.html +%%PORTDOCS%%share/doc/source-highlight/cpp2html.css +%%PORTDOCS%%share/doc/source-highlight/mono-alt.css +%%PORTDOCS%%share/doc/source-highlight/mono.css +%%PORTDOCS%%share/doc/source-highlight/source-highlight.html +%%PORTDOCS%%share/doc/source-highlight/startapp.cc.html +share/source-highlight/tags.j2h +@dirrm share/source-highlight +%%PORTDOCS%%@dirrm share/doc/source-highlight |