summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>1999-06-06 17:17:35 +0000
committersteve <steve@FreeBSD.org>1999-06-06 17:17:35 +0000
commitb798d7e6694fd6e14090a66e53d83c2b67aee073 (patch)
tree4263ba3cfb82fddd9c0e87e4d49c91c1f07c1ae6
parentf83f9205b3086c7c1ac2e71b3354f15162155ba2 (diff)
downloadFreeBSD-ports-b798d7e6694fd6e14090a66e53d83c2b67aee073.zip
FreeBSD-ports-b798d7e6694fd6e14090a66e53d83c2b67aee073.tar.gz
Initial import of perl2html version 0.6.1.
A Perl source to HTML converter. PR: 11907 Submitted by: Martin Kammerhofer <mkamm@gmx.net>
-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 0000000..fdbaa6c
--- /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 0000000..b1c6196
--- /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 0000000..3da0053
--- /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 0000000..3e79100
--- /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 0000000..7899beb
--- /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 0000000..0a3ed0d
--- /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
OpenPOWER on IntegriCloud