summaryrefslogtreecommitdiff
path: root/textproc/perl2html
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>1999-06-06 17:17:35 +0000
committerSteve Price <steve@FreeBSD.org>1999-06-06 17:17:35 +0000
commit7b5716ea0ba777a2d2f8a83aa9487f7f7f8fd684 (patch)
treeaa37e189b024fe1b809384656509aef14c384ab2 /textproc/perl2html
parentActivate the tkgate port. (diff)
Initial import of perl2html version 0.6.1.
A Perl source to HTML converter. PR: 11907 Submitted by: Martin Kammerhofer <mkamm@gmx.net>
Notes
Notes: svn path=/head/; revision=19259
Diffstat (limited to 'textproc/perl2html')
-rw-r--r--textproc/perl2html/Makefile28
-rw-r--r--textproc/perl2html/distinfo1
-rw-r--r--textproc/perl2html/files/patch-aa20
-rw-r--r--textproc/perl2html/pkg-comment1
-rw-r--r--textproc/perl2html/pkg-descr11
-rw-r--r--textproc/perl2html/pkg-plist5
6 files changed, 66 insertions, 0 deletions
diff --git a/textproc/perl2html/Makefile b/textproc/perl2html/Makefile
new file mode 100644
index 000000000000..fdbaa6cc91f0
--- /dev/null
+++ b/textproc/perl2html/Makefile
@@ -0,0 +1,28 @@
+# New ports collection makefile for: perl2html
+# Version required: 0.6.1
+# Date created: 27 May 1999
+# Whom: Martin Kammerhofer
+#
+# $Id$
+#
+
+DISTNAME= perl2html-0.6.1
+CATEGORIES= textproc www
+MASTER_SITES= ${MASTER_SITE_SUNSITE}
+MASTER_SITE_SUBDIR= apps/www/converters
+
+MAINTAINER= mkamm@gmx.net
+
+USE_AUTOCONF= yes
+
+MAN1= perl2html.1
+
+.if !defined(NOPORTDOCS)
+post-install:
+ ${MKDIR} ${PREFIX}/share/doc/perl2html
+.for file in AUTHORS NEWS README
+ ${INSTALL_MAN} ${WRKSRC}/${file} ${PREFIX}/share/doc/perl2html
+.endfor
+.endif
+
+.include <bsd.port.mk>
diff --git a/textproc/perl2html/distinfo b/textproc/perl2html/distinfo
new file mode 100644
index 000000000000..b1c6196b92f3
--- /dev/null
+++ b/textproc/perl2html/distinfo
@@ -0,0 +1 @@
+MD5 (perl2html-0.6.1.tar.gz) = 2c23b1cc2f74cdc25f08b5a3f2aa0adb
diff --git a/textproc/perl2html/files/patch-aa b/textproc/perl2html/files/patch-aa
new file mode 100644
index 000000000000..3da005399ff4
--- /dev/null
+++ b/textproc/perl2html/files/patch-aa
@@ -0,0 +1,20 @@
+--- Makefile.in.orig Wed May 26 19:31:36 1999
++++ Makefile.in Thu May 27 21:54:22 1999
+@@ -9,7 +9,7 @@
+ # for gzip because otherwise the load on the web server
+ # grows without having big benefits.
+ # COMPRESSION = -DCOMPRESSION=4
+-COMPRESSION = -DCOMPRESSION=1
++COMPRESSION ?= -DCOMPRESSION=1
+
+ # Dont change things beyond this line.
+ TARGET = @PROJECT_NAME@
+@@ -40,7 +40,7 @@
+ srcdir = @srcdir@
+ CPPFLAGS = @CPPFLAGS@
+
+-CFLAGS += -O2 -Wall
++CFLAGS ?= -O2 -Wall
+ ALL_CFLAGS = $(CFLAGS) -I$(srcdir) $(COMPRESSION)
+
+ all: $(TARGET)
diff --git a/textproc/perl2html/pkg-comment b/textproc/perl2html/pkg-comment
new file mode 100644
index 000000000000..3e7910012a66
--- /dev/null
+++ b/textproc/perl2html/pkg-comment
@@ -0,0 +1 @@
+Perl sources to HTML converter
diff --git a/textproc/perl2html/pkg-descr b/textproc/perl2html/pkg-descr
new file mode 100644
index 000000000000..7899beb103ab
--- /dev/null
+++ b/textproc/perl2html/pkg-descr
@@ -0,0 +1,11 @@
+Perl2html is a syntax highlighter for Perl source code that produces a
+highlighted html file as output.
+
+Perl2html offers the following features:
+
+ - fast (single pass conversion using flex)
+ - doesn't change formatting - only adds <FONT COLOR=#XXXX> tags
+ and properly escapes non-ascii characters
+ - easy integration with webservers - browse your sources colourized
+ - gzips http output for browsers to save bandwidth (only in CGI mode)
+ - documentation and manpage included
diff --git a/textproc/perl2html/pkg-plist b/textproc/perl2html/pkg-plist
new file mode 100644
index 000000000000..0a3ed0d511ff
--- /dev/null
+++ b/textproc/perl2html/pkg-plist
@@ -0,0 +1,5 @@
+bin/perl2html
+share/doc/perl2html/AUTHORS
+share/doc/perl2html/NEWS
+share/doc/perl2html/README
+@dirrm share/doc/perl2html