Import of html2ps 0.1 a HTML to PostScript converter with lot's of features.
This commit is contained in:
parent
773b6e4e58
commit
2cf6c2c3c7
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=11024
36
print/html2ps-a4/Makefile
Normal file
36
print/html2ps-a4/Makefile
Normal file
@ -0,0 +1,36 @@
|
||||
# New ports collection makefile for: html2ps
|
||||
# Version required: 1.0b1
|
||||
# Date created: Sat Nov 22 12:54:50 CET 1997
|
||||
# Whom: andreas
|
||||
#
|
||||
# $Id: Makefile,v 1.8 1997/11/17 16:18:35 rse Exp $
|
||||
#
|
||||
|
||||
DISTNAME= html2ps-1.0b1
|
||||
PKGNAME= html2ps-1.0
|
||||
CATEGORIES= lang www perl5
|
||||
MASTER_SITES= http://www.tdb.uu.se/~jan/
|
||||
|
||||
MAINTAINER= andreas@FreeBSD.ORG
|
||||
|
||||
BUILD_DEPENDS= mogrify:${PORTSDIR}/graphics/ImageMagick \
|
||||
djpeg:${PORTSDIR}/graphics/jpeg \
|
||||
giftopnm:${PORTSDIR}/graphics/netpbm \
|
||||
${site_perl}/Image/Magick.pm:${PORTSDIR}/graphics/p5-PerlMagick \
|
||||
gs:${PORTSDIR}/print/ghostscript5 \
|
||||
tex:${PORTSDIR}/print/teTeX \
|
||||
${site_perl}/LWP.pm:${PORTSDIR}/www/p5-libwww \
|
||||
weblint:${PORTSDIR}/www/weblint
|
||||
|
||||
site_perl= ${PREFIX}/lib/perl5/site_perl
|
||||
USE_PERL5= YES
|
||||
NO_BUILD= YES
|
||||
IS_INTERACTIVE= YES
|
||||
|
||||
MAN1= html2ps.1
|
||||
MAN5= html2psrc.5
|
||||
|
||||
do-install:
|
||||
@cd ${WRKSRC}; ${PREFIX}/bin/perl5 install
|
||||
|
||||
.include <bsd.port.mk>
|
36
print/html2ps-letter/Makefile
Normal file
36
print/html2ps-letter/Makefile
Normal file
@ -0,0 +1,36 @@
|
||||
# New ports collection makefile for: html2ps
|
||||
# Version required: 1.0b1
|
||||
# Date created: Sat Nov 22 12:54:50 CET 1997
|
||||
# Whom: andreas
|
||||
#
|
||||
# $Id: Makefile,v 1.8 1997/11/17 16:18:35 rse Exp $
|
||||
#
|
||||
|
||||
DISTNAME= html2ps-1.0b1
|
||||
PKGNAME= html2ps-1.0
|
||||
CATEGORIES= lang www perl5
|
||||
MASTER_SITES= http://www.tdb.uu.se/~jan/
|
||||
|
||||
MAINTAINER= andreas@FreeBSD.ORG
|
||||
|
||||
BUILD_DEPENDS= mogrify:${PORTSDIR}/graphics/ImageMagick \
|
||||
djpeg:${PORTSDIR}/graphics/jpeg \
|
||||
giftopnm:${PORTSDIR}/graphics/netpbm \
|
||||
${site_perl}/Image/Magick.pm:${PORTSDIR}/graphics/p5-PerlMagick \
|
||||
gs:${PORTSDIR}/print/ghostscript5 \
|
||||
tex:${PORTSDIR}/print/teTeX \
|
||||
${site_perl}/LWP.pm:${PORTSDIR}/www/p5-libwww \
|
||||
weblint:${PORTSDIR}/www/weblint
|
||||
|
||||
site_perl= ${PREFIX}/lib/perl5/site_perl
|
||||
USE_PERL5= YES
|
||||
NO_BUILD= YES
|
||||
IS_INTERACTIVE= YES
|
||||
|
||||
MAN1= html2ps.1
|
||||
MAN5= html2psrc.5
|
||||
|
||||
do-install:
|
||||
@cd ${WRKSRC}; ${PREFIX}/bin/perl5 install
|
||||
|
||||
.include <bsd.port.mk>
|
1
print/html2ps-letter/distinfo
Normal file
1
print/html2ps-letter/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (html2ps-1.0b1.tar.gz) = 00fb5ac8c3769473b53ec4ad20e9b7cb
|
30
print/html2ps-letter/files/patch-aa
Normal file
30
print/html2ps-letter/files/patch-aa
Normal file
@ -0,0 +1,30 @@
|
||||
--- install.orig Sat Sep 13 14:37:20 1997
|
||||
+++ install Sun May 17 21:29:55 1998
|
||||
@@ -1,5 +1,5 @@
|
||||
: # Use perl
|
||||
-eval 'exec perl -S $0 "$@"'
|
||||
+eval 'exec !!PERL5!! -S $0 "$@"'
|
||||
if $running_under_some_shell;
|
||||
|
||||
$vid=101;
|
||||
@@ -121,7 +121,7 @@
|
||||
|
||||
chop ($cd = `pwd`);
|
||||
|
||||
-$prefix = "/usr/local";
|
||||
+$prefix = "!!PREFIX!!";
|
||||
|
||||
&getval($ans, "y",
|
||||
"\nBy default all files will be installed in subdirectories 'bin', 'lib',\n"
|
||||
@@ -181,9 +181,9 @@
|
||||
$ht = "\nTo use the automatic hyphenation feature, hyphenation pattern files\n"
|
||||
."from the TeX distribution are needed.";
|
||||
$cophy = 1;
|
||||
-if($exist{'TeX'}) {
|
||||
+if($exist{'share'}) {
|
||||
$hfile = "";
|
||||
- ($texdir = $dir{'TeX'}) =~ s|/bin$||;
|
||||
+ ($texdir = $dir{'share'}) =~ s|/bin$||;
|
||||
SW:for("texmf/tex/generic/hyphen","macros","inputs","lib/macros",
|
||||
"lib/inputs","lib/tex/macros","lib/tex/inputs") {
|
||||
if(-f "$texdir/$_/ushyph1.tex") {
|
9
print/html2ps-letter/files/patch-ab
Normal file
9
print/html2ps-letter/files/patch-ab
Normal file
@ -0,0 +1,9 @@
|
||||
--- html2ps.orig Sun May 17 21:29:01 1998
|
||||
+++ html2ps Sun May 17 21:29:26 1998
|
||||
@@ -1,5 +1,5 @@
|
||||
: # Use perl
|
||||
-eval 'exec perl -S $0 "$@"'
|
||||
+eval 'exec !!PERL5!! -S $0 "$@"'
|
||||
if $running_under_some_shell;
|
||||
|
||||
# This is html2ps version 1.0 beta1, an HTML-to-PostScript converter.
|
1
print/html2ps-letter/pkg-comment
Normal file
1
print/html2ps-letter/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
HTML to PostScript converter
|
21
print/html2ps-letter/pkg-descr
Normal file
21
print/html2ps-letter/pkg-descr
Normal file
@ -0,0 +1,21 @@
|
||||
- Much from HTML 4.0 - that is relevant for printing - is supported
|
||||
(incidentally, the PostScript and PDF versions of the HTML 4.0 draft,
|
||||
were generated using html2ps). For example, all character entities
|
||||
(except ‌, ‍, ‎, and ‏) are supported.
|
||||
- Many possibilities to control the appearance. Starting with this version,
|
||||
this is mostly done using configuration files.
|
||||
- Support for processing multiple documents, also automatically by
|
||||
recursively following links.
|
||||
- A table of contents can be generated, either from the links in a document,
|
||||
or automatically from document headings.
|
||||
- Configurable page headers/footers, that for example can contain
|
||||
document title, URL, page number, current heading, and date.
|
||||
- When converting the PostScript document to PDF - using some other
|
||||
program such as version 5.0 or later of Aladdin Ghostscript, or
|
||||
Adobe Acrobat Distiller - the original hyperlinks in the HTML
|
||||
documents will be retained in the PDF document.
|
||||
- Automatic hyphenation and text justification can be selected.
|
||||
|
||||
Home page:
|
||||
|
||||
http://www.tdb.uu.se/~jan/html2ps.html
|
6
print/html2ps-letter/pkg-plist
Normal file
6
print/html2ps-letter/pkg-plist
Normal file
@ -0,0 +1,6 @@
|
||||
bin/html2ps
|
||||
lib/html2ps/html2ps.html
|
||||
lib/html2ps/html2psrc
|
||||
lib/html2ps/hyphen.tex
|
||||
man/man1/html2ps.1.gz
|
||||
man/man5/html2psrc.5.gz
|
7
print/html2ps-letter/scripts/pre-configure
Normal file
7
print/html2ps-letter/scripts/pre-configure
Normal file
@ -0,0 +1,7 @@
|
||||
#! /bin/sh
|
||||
|
||||
perl -pi -e "s=!!PREFIX!!=$PREFIX=" ${WRKSRC}/install
|
||||
perl -pi -e "s=!!PERL5!!=/usr/local/bin/perl=" ${WRKSRC}/install
|
||||
perl -pi -e "s=!!PERL5!!=/usr/local/bin/perl=" ${WRKSRC}/html2ps
|
||||
|
||||
exit 0
|
Loading…
Reference in New Issue
Block a user