Add c2html port.
This commit is contained in:
parent
42e6f50d83
commit
d257852e3d
26
textproc/c2html/Makefile
Normal file
26
textproc/c2html/Makefile
Normal file
@ -0,0 +1,26 @@
|
||||
# OpenBSD makefile for: c2html
|
||||
# Version required: 0.1
|
||||
# Date created: December 1, 1997
|
||||
# Whom: Angelos D. Keromytis
|
||||
#
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 1997/12/02 02:42:50 angelos Exp $
|
||||
#
|
||||
|
||||
DISTNAME= c2html-0.1
|
||||
CATEGORIES= textproc www
|
||||
MASTER_SITES= ${MASTER_SITE_SUNSITE}
|
||||
MASTER_SITE_SUBDIR= apps/www/converters
|
||||
|
||||
MAINTAINER= angelos@openbsd.org
|
||||
|
||||
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>
|
1
textproc/c2html/files/md5
Normal file
1
textproc/c2html/files/md5
Normal file
@ -0,0 +1 @@
|
||||
MD5 (c2html-0.1.tar.gz) = 66659aec84aad813e52042576abf6662
|
18
textproc/c2html/patches/patch-aa
Normal file
18
textproc/c2html/patches/patch-aa
Normal file
@ -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
|
||||
|
1
textproc/c2html/pkg/COMMENT
Normal file
1
textproc/c2html/pkg/COMMENT
Normal file
@ -0,0 +1 @@
|
||||
C-language sources to HTML converter
|
6
textproc/c2html/pkg/DESCR
Normal file
6
textproc/c2html/pkg/DESCR
Normal file
@ -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.
|
5
textproc/c2html/pkg/PLIST
Normal file
5
textproc/c2html/pkg/PLIST
Normal file
@ -0,0 +1,5 @@
|
||||
bin/c2html
|
||||
man/man1/c2html.1
|
||||
share/doc/c2html/COPYING
|
||||
share/doc/c2html/README
|
||||
@dirrm share/doc/c2html
|
Loading…
Reference in New Issue
Block a user