aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjseger <jseger@FreeBSD.org>1997-11-22 08:30:17 +0800
committerjseger <jseger@FreeBSD.org>1997-11-22 08:30:17 +0800
commitc81a1ffcb1ed144a3c5fe9af0330a3f8b75ffb00 (patch)
tree1483502b5aad89a13689bc1d6eb911f12070fb01
parent4891f50c55375909fd87456fd448a280e90c6d64 (diff)
downloadfreebsd-ports-graphics-c81a1ffcb1ed144a3c5fe9af0330a3f8b75ffb00.tar.gz
freebsd-ports-graphics-c81a1ffcb1ed144a3c5fe9af0330a3f8b75ffb00.tar.zst
freebsd-ports-graphics-c81a1ffcb1ed144a3c5fe9af0330a3f8b75ffb00.zip
Reimport c2html v0.1 into the ports/textproc/c2html directory.
Submitted by: andy@icc.surw.chel.su
-rw-r--r--textproc/c2html/Makefile26
-rw-r--r--textproc/c2html/distinfo1
-rw-r--r--textproc/c2html/files/patch-aa18
-rw-r--r--textproc/c2html/pkg-comment1
-rw-r--r--textproc/c2html/pkg-descr6
-rw-r--r--textproc/c2html/pkg-plist5
6 files changed, 57 insertions, 0 deletions
diff --git a/textproc/c2html/Makefile b/textproc/c2html/Makefile
new file mode 100644
index 00000000000..b800118aec3
--- /dev/null
+++ b/textproc/c2html/Makefile
@@ -0,0 +1,26 @@
+# New ports collection makefile for: c2html
+# Version required: 0.1
+# Date created: 28 October 1997
+# Whom: Andrey Zakhvatov
+#
+# $Id$
+#
+
+DISTNAME= c2html-0.1
+CATEGORIES= textproc www
+MASTER_SITES= ${MASTER_SITE_SUNSITE}
+MASTER_SITE_SUBDIR= apps/www/converters
+
+MAINTAINER= andy@icc.surw.chel.su
+
+MAN1= c2html.1
+
+do-install:
+ @ ${INSTALL_PROGRAM} ${WRKSRC}/c2html ${PREFIX}/bin
+ @ ${INSTALL_MAN} ${WRKSRC}/c2html.1 ${PREFIX}/man/man1
+ @ ${MKDIR} ${PREFIX}/share/doc/c2html
+.for file in COPYING README
+ @ ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/c2html
+.endfor
+
+.include <bsd.port.mk>
diff --git a/textproc/c2html/distinfo b/textproc/c2html/distinfo
new file mode 100644
index 00000000000..8c7aece830c
--- /dev/null
+++ b/textproc/c2html/distinfo
@@ -0,0 +1 @@
+MD5 (c2html-0.1.tar.gz) = 66659aec84aad813e52042576abf6662
diff --git a/textproc/c2html/files/patch-aa b/textproc/c2html/files/patch-aa
new file mode 100644
index 00000000000..2f52efb3978
--- /dev/null
+++ b/textproc/c2html/files/patch-aa
@@ -0,0 +1,18 @@
+--- Makefile.orig Mon Sep 1 22:18:51 1997
++++ Makefile Sun Nov 16 17:24:44 1997
+@@ -2,13 +2,13 @@
+
+ CC = gcc
+ FLEX = flex
+-CFLAGS = -O2 -Wall -pedantic -ansi
++CFLAGS+= -Wall -pedantic -ansi
+
+ all: c2html
+
+ c2html: c2html.l
+ $(FLEX) c2html.l
+- $(CC) $(CFLAGS) -o c2html lex.yy.c -static -lfl
++ $(CC) $(CFLAGS) -o c2html lex.yy.c -lfl
+ clean:
+ rm -rf *.o *~ c2html
+
diff --git a/textproc/c2html/pkg-comment b/textproc/c2html/pkg-comment
new file mode 100644
index 00000000000..3888a28325c
--- /dev/null
+++ b/textproc/c2html/pkg-comment
@@ -0,0 +1 @@
+C-language sources to HTML converter
diff --git a/textproc/c2html/pkg-descr b/textproc/c2html/pkg-descr
new file mode 100644
index 00000000000..d4bd0de3148
--- /dev/null
+++ b/textproc/c2html/pkg-descr
@@ -0,0 +1,6 @@
+c2html is a syntax highlighter for C source code that produces a
+highlighted html file as output. The output can be read by any
+graphical WWW-Browser. If the browser understands the tags to change
+font colors (as Netscape does) the output will look like highlighted
+by emacs. Otherwise it will not look so nice, but readability is
+increased too.
diff --git a/textproc/c2html/pkg-plist b/textproc/c2html/pkg-plist
new file mode 100644
index 00000000000..64370ed78e1
--- /dev/null
+++ b/textproc/c2html/pkg-plist
@@ -0,0 +1,5 @@
+bin/c2html
+man/man1/c2html.1.gz
+share/doc/c2html/COPYING
+share/doc/c2html/README
+@dirrm share/doc/c2html