aboutsummaryrefslogtreecommitdiffstats
path: root/print/enscript-letter
diff options
context:
space:
mode:
authorchuckr <chuckr@FreeBSD.org>1997-07-27 11:31:33 +0800
committerchuckr <chuckr@FreeBSD.org>1997-07-27 11:31:33 +0800
commit5b758ab162fc3d509147a9b91af3e2e9ecce16d8 (patch)
treee72857f4ca1bd77941e868154cbc403f131d1b6a /print/enscript-letter
parent91938077fa9bbc3555ed5cea9a6fc56aeb8fbf2e (diff)
downloadfreebsd-ports-gnome-5b758ab162fc3d509147a9b91af3e2e9ecce16d8.tar.gz
freebsd-ports-gnome-5b758ab162fc3d509147a9b91af3e2e9ecce16d8.tar.zst
freebsd-ports-gnome-5b758ab162fc3d509147a9b91af3e2e9ecce16d8.zip
New port of enscript, an ascii->postscript pretty printer.
Submitted by: Gary Kline <kline@thought.org>
Diffstat (limited to 'print/enscript-letter')
-rw-r--r--print/enscript-letter/Makefile114
-rw-r--r--print/enscript-letter/distinfo1
-rw-r--r--print/enscript-letter/pkg-comment1
-rw-r--r--print/enscript-letter/pkg-descr9
-rw-r--r--print/enscript-letter/pkg-plist74
5 files changed, 199 insertions, 0 deletions
diff --git a/print/enscript-letter/Makefile b/print/enscript-letter/Makefile
new file mode 100644
index 000000000000..f1bdd12078f2
--- /dev/null
+++ b/print/enscript-letter/Makefile
@@ -0,0 +1,114 @@
+# New ports collection makefile for: enscript
+# Version required: 1.5.0
+# Date created: 24 Jul, 1997
+# Whom: kline
+#
+# $Id: Makefile,v 1.25 1997/06/25 05:24:43 torstenb Exp $
+#
+
+DISTNAME= enscript-1.5.0
+PKGNAME= enscript-${PAPERSIZE}-1.5.0
+CATEGORIES= print
+MASTER_SITES= ${MASTER_SITE_GNU}
+DISTFILES= enscript-1.5.0.tar.gz
+
+MAINTAINER= kline@thought.org
+
+GNU_CONFIGURE= yes
+USE_GMAKE= yes
+CONFIGURE_ARGS= --disable-nls
+MAKE_FLAGS?= WIDTH=${WIDTH} HEIGHT=${HEIGHT} A4_PAPERSIZE=${A4_PAPERSIZE} -f
+
+MAN1= enscript.1 sliceprint.1 states.1
+STRIP=
+
+# If you want to build a static binary, uncomment the following line
+#LDFLAGS+=-static
+
+.if !defined(PAPERSIZE)
+PAPERSIZE=a4 # set default
+WIDTH=8.27
+HEIGHT=11.64
+A4_PAPERSIZE=1
+PAPERSIZE_UNSPECIFIED= yes
+.elif ${PAPERSIZE} == A4 || ${PAPERSIZE} == a4
+PAPERSIZE=a4
+WIDTH=8.27
+HEIGHT=11.64
+A4_PAPERSIZE=1
+.elif ${PAPERSIZE} == letter || ${PAPERSIZE} == LETTER || ${PAPERSIZE} == Letter
+PAPERSIZE=letter
+WIDTH=8.5
+HEIGHT=11.0
+A4_PAPERSIZE=0
+.elif ${PAPERSIZE} == Letterdj
+.else
+PAPERSIZE_INVALID= yes
+.endif # not defined PAPERSIZE
+
+pre-fetch:
+.if defined(PAPERSIZE_UNSPECIFIED)
+ @echo ""
+ @echo "This port builds the default A4 paper size."
+ @echo "If you want to select the LETTER papersize for enscript,"
+ @echo "type a ^C now. Then type:"
+ @echo ""
+ @echo " % make letter "
+ @echo ""
+ @echo "Install your port by typing:"
+ @echo ""
+ @echo "make letter-install {or} % make a4-install"
+ @echo ""
+ @echo "You can also set the environment variable PAPERSIZE to A4 or"
+ @echo "letter to configure enscript for these paper sizes"
+ @sleep 5
+.elif defined(PAPERSIZE_INVALID)
+ @echo "Error: invalid value for PAPERSIZE: \"${PAPERSIZE}\""
+ @echo "Possible values are: A4 (default) or letter"
+ @/usr/bin/false
+.endif
+letter::
+ ${MAKE} PAPERSIZE=Letter
+
+Letter::
+ ${MAKE} PAPERSIZE=Letter
+
+letter-install::
+ ${MAKE} PAPERSIZE=Letter install
+
+Letter-install::
+ ${MAKE} PAPERSIZE=Letter install
+
+a4::
+ ${MAKE} PAPERSIZE=A4
+
+A4::
+ ${MAKE} PAPERSIZE=A4
+
+Letterdj::
+ ${MAKE} PAPERSIZE=Letterdj
+
+letterdj::
+ ${MAKE} PAPERSIZE=Letterdj
+
+Letterdj-install::
+ ${MAKE} PAPERSIZE=Letterdj install
+
+letterdj-install::
+ ${MAKE} PAPERSIZE=Letterdj install
+
+a4-install::
+ ${MAKE} PAPERSIZE=a4 install
+
+A4-install::
+ ${MAKE} PAPERSIZE=a4 install
+
+
+
+
+post-install:
+.for file in enscript mkafmmap states
+ strip /usr/local/bin/${file}
+.endfor
+
+.include <bsd.port.mk>
diff --git a/print/enscript-letter/distinfo b/print/enscript-letter/distinfo
new file mode 100644
index 000000000000..82cc3bc97e9c
--- /dev/null
+++ b/print/enscript-letter/distinfo
@@ -0,0 +1 @@
+MD5 (enscript-1.5.0.tar.gz) = 0873d34539e4b0dd79f9516ff6f75dba
diff --git a/print/enscript-letter/pkg-comment b/print/enscript-letter/pkg-comment
new file mode 100644
index 000000000000..68557fda547d
--- /dev/null
+++ b/print/enscript-letter/pkg-comment
@@ -0,0 +1 @@
+ASCII-to-PostScript filter.
diff --git a/print/enscript-letter/pkg-descr b/print/enscript-letter/pkg-descr
new file mode 100644
index 000000000000..210097e6c4b7
--- /dev/null
+++ b/print/enscript-letter/pkg-descr
@@ -0,0 +1,9 @@
+This is a filter that converts text files to
+PostScript and spools generated PostScript
+output to the specified printer or leaves
+it to file. If no input files are given,
+enscript processes standard input. enscript
+can be extended to handle different output media
+and it has many options which can be used to
+customize printouts.
+
diff --git a/print/enscript-letter/pkg-plist b/print/enscript-letter/pkg-plist
new file mode 100644
index 000000000000..25b2af2d4f82
--- /dev/null
+++ b/print/enscript-letter/pkg-plist
@@ -0,0 +1,74 @@
+etc/enscript.cfg
+bin/enscript
+bin/many2html
+bin/diffpp
+bin/sliceprint
+bin/mkafmmap
+bin/states
+man/man1/enscript.1.gz
+man/man1/sliceprint.1.gz
+man/man1/states.1.gz
+share/enscript/AvantGarde-Book.afm
+share/enscript/AvantGarde-BookOblique.afm
+share/enscript/AvantGarde-Demi.afm
+share/enscript/AvantGarde-DemiOblique.afm
+share/enscript/Bookman-Demi.afm
+share/enscript/Bookman-DemiItalic.afm
+share/enscript/Bookman-Light.afm
+share/enscript/Bookman-LightItalic.afm
+share/enscript/Courier-Bold.afm
+share/enscript/Courier-BoldOblique.afm
+share/enscript/Courier-Oblique.afm
+share/enscript/Courier.afm
+share/enscript/Helvetica-Bold.afm
+share/enscript/Helvetica-BoldOblique.afm
+share/enscript/Helvetica-Narrow-Bold.afm
+share/enscript/Helvetica-Narrow-BoldOblique.afm
+share/enscript/Helvetica-Narrow-Oblique.afm
+share/enscript/Helvetica-Narrow.afm
+share/enscript/Helvetica-Oblique.afm
+share/enscript/Helvetica.afm
+share/enscript/NewCenturySchlbk-Bold.afm
+share/enscript/NewCenturySchlbk-BoldItalic.afm
+share/enscript/NewCenturySchlbk-Italic.afm
+share/enscript/NewCenturySchlbk-Roman.afm
+share/enscript/Palatino-Bold.afm
+share/enscript/Palatino-BoldItalic.afm
+share/enscript/Palatino-Italic.afm
+share/enscript/Palatino-Roman.afm
+share/enscript/Symbol.afm
+share/enscript/Times-Bold.afm
+share/enscript/Times-BoldItalic.afm
+share/enscript/Times-Italic.afm
+share/enscript/Times-Roman.afm
+share/enscript/ZapfChancery-MediumItalic.afm
+share/enscript/ZapfDingbats.afm
+share/enscript/a2ps.hdr
+share/enscript/ascii.enc
+share/enscript/asciidkno.enc
+share/enscript/asciifise.enc
+share/enscript/edd.hdr
+share/enscript/emacs.hdr
+share/enscript/enscript.hdr
+share/enscript/enscript.pro
+share/enscript/enscript.st
+share/enscript/font.map
+share/enscript/frame.hdr
+share/enscript/hp8.enc
+share/enscript/ibmpc.enc
+share/enscript/koi8.enc
+share/enscript/latin1.enc
+share/enscript/latin2.enc
+share/enscript/latin3.enc
+share/enscript/latin5.enc
+share/enscript/mac.enc
+share/enscript/mp.hdr
+share/enscript/ps.enc
+share/enscript/pslatin1.enc
+share/enscript/simple.hdr
+share/enscript/vms.enc
+share/locale/de/LC_MESSAGES/enscript.mo
+share/locale/fi/LC_MESSAGES/enscript.mo
+share/locale/fr/LC_MESSAGES/enscript.mo
+share/locale/nl/LC_MESSAGES/enscript.mo
+share/locale/sl/LC_MESSAGES/enscript.mo