summaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>1998-02-16 17:38:27 +0000
committeragc <agc@pkgsrc.org>1998-02-16 17:38:27 +0000
commit3671528ad8c9b6b0312901bc359274b429a05d6d (patch)
tree0e010f73b663c958c619341ad56c35437835857c /print
parente20902536ec68c0a90a61c3d21728c5afbf5e235 (diff)
downloadpkgsrc-3671528ad8c9b6b0312901bc359274b429a05d6d.tar.gz
Initial import of a2ps 4.9.9, a utility to translate ASCII text to
Postscript, into the NetBSD packages collection. This is taken from the FreeBSD port.
Diffstat (limited to 'print')
-rw-r--r--print/a2ps/Makefile73
-rw-r--r--print/a2ps/files/md51
-rw-r--r--print/a2ps/patches/patch-aa11
-rw-r--r--print/a2ps/pkg/COMMENT1
-rw-r--r--print/a2ps/pkg/DESCR6
-rw-r--r--print/a2ps/pkg/PLIST202
6 files changed, 294 insertions, 0 deletions
diff --git a/print/a2ps/Makefile b/print/a2ps/Makefile
new file mode 100644
index 00000000000..4f57ad05605
--- /dev/null
+++ b/print/a2ps/Makefile
@@ -0,0 +1,73 @@
+# New ports collection makefile for: a2ps
+# Version required: 4.9.9
+# Date created: 18 August 1997
+# Whom: Chuck Robey (chuckr@freebsd.org)
+#
+# FreeBSD Id: Makefile,v 1.12 1998/02/15 21:24:42 steve Exp
+#
+
+DISTNAME= a2ps-4.9.9
+PKGNAME= a2ps-${PAPERSIZE}-4.9.9
+CATEGORIES= print
+MASTER_SITES= http://www-inf.enst.fr/~demaille/ftp/a2ps/
+
+MAINTAINER= chuckr@FreeBSD.org
+
+MANUAL_PACKAGE_BUILD= PAPERSIZE has to be set to Letter A4
+GNU_CONFIGURE= yes
+MAN1= a2ps.1 ogonkify.1
+
+PAPERSIZE?=
+STRIP=
+CONFIGURE_ARGS= --with-medium=$(PAPERSIZE)
+
+Letter::
+ $(MAKE) PAPERSIZE=Letter
+
+letter::
+ $(MAKE) PAPERSIZE=Letter
+
+Letterdj::
+ $(MAKE) PAPERSIZE=Letterdj
+
+letterdj::
+ $(MAKE) PAPERSIZE=Letterdj
+
+A4::
+ $(MAKE) PAPERSIZE=A4
+
+a4::
+ $(MAKE) PAPERSIZE=A4
+
+pre-build:
+ ${TOUCH} $(WRKSRC)/doc/*.info
+ ${TOUCH} $(WRKSRC)/doc/*.dvi
+
+pre-configure:
+.if empty(PAPERSIZE)
+ @${ECHO}
+ @${ECHO} "PAPERSIZE not specified."
+ @${ECHO}
+ @${ECHO} "Must specify PAPERSIZE as one of A4, Letter, or Letterdj, either"
+ @${ECHO} "using setenv, or via Makefile targets of the same name. Note"
+ @${ECHO} "that each PAPERSIZE has a leading capital letter, and Letterdj"
+ @${ECHO} "allows a slightly larger margins for DeskJets."
+ @false
+.elif $(PAPERSIZE)!=A4 && $(PAPERSIZE)!=Letter && $(PAPERSIZE)!=Letterdj
+ @${ECHO}
+ @${ECHO} "PAPERSIZE incorrect value: $(PAPERSIZE)."
+ @${ECHO}
+ @${ECHO} "Must specify PAPERSIZE as one of A4, Letter, or Letterdj, either"
+ @${ECHO} "using setenv, or via Makefile targets of the same name. Note"
+ @${ECHO} "that each PAPERSIZE has a leading capital letter, and Letterdj"
+ @${ECHO} "allows a slightly larger margins for DeskJets."
+ @false
+.endif
+ ${ECHO} $(PAPERSIZE) > $(WRKDIR)/.media
+
+.include <bsd.port.mk>
+
+.if exists($(WRKDIR)/.media)
+PAPERSIZE=
+PAPERSIZE!= ${CAT} $(WRKDIR)/.media
+.endif
diff --git a/print/a2ps/files/md5 b/print/a2ps/files/md5
new file mode 100644
index 00000000000..3ce3b41f6f1
--- /dev/null
+++ b/print/a2ps/files/md5
@@ -0,0 +1 @@
+MD5 (a2ps-4.9.9.tar.gz) = 17e3d399d1ef6c05130ebe8e8414e2e6
diff --git a/print/a2ps/patches/patch-aa b/print/a2ps/patches/patch-aa
new file mode 100644
index 00000000000..256b4c9e087
--- /dev/null
+++ b/print/a2ps/patches/patch-aa
@@ -0,0 +1,11 @@
+--- doc/Makefile.in.orig Tue Sep 30 12:06:45 1997
++++ doc/Makefile.in Fri Oct 10 19:19:27 1997
+@@ -147,7 +147,7 @@
+ default: all
+
+ .SUFFIXES:
+-.SUFFIXES: .dvi .info .ps .texi .texinfo
++#.SUFFIXES: .dvi .info .ps .texi .texinfo
+ $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
+ cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps doc/Makefile
+
diff --git a/print/a2ps/pkg/COMMENT b/print/a2ps/pkg/COMMENT
new file mode 100644
index 00000000000..137009abe5a
--- /dev/null
+++ b/print/a2ps/pkg/COMMENT
@@ -0,0 +1 @@
+Formats an ascii file for printing on a postscript printer.
diff --git a/print/a2ps/pkg/DESCR b/print/a2ps/pkg/DESCR
new file mode 100644
index 00000000000..0b5c50cef86
--- /dev/null
+++ b/print/a2ps/pkg/DESCR
@@ -0,0 +1,6 @@
+A2ps formats each named file for printing in a postscript printer; if
+no file is given, a2ps reads from the standard input. The format used
+is nice and compact: normally two pages on each physical page, borders
+surrounding pages, headers with useful information (page number,
+printing date, file name or supplied header), line numbering, etc.
+This is very useful for making archive listings of programs.
diff --git a/print/a2ps/pkg/PLIST b/print/a2ps/pkg/PLIST
new file mode 100644
index 00000000000..9712dc6af8f
--- /dev/null
+++ b/print/a2ps/pkg/PLIST
@@ -0,0 +1,202 @@
+share/a2ps/README
+share/a2ps/ps/base.ps
+share/a2ps/ps/bw.pro
+share/a2ps/ps/gray.pro
+share/a2ps/ps/color.pro
+share/a2ps/ps/gray2.pro
+share/a2ps/ps/ehandler.ps
+share/a2ps/ps/a2ps.hdr
+share/a2ps/ps/color.hdr
+share/a2ps/afm/Courier-Bold-Ogonki.afm
+share/a2ps/afm/Courier-BoldOblique-Ogonki.afm
+share/a2ps/afm/Courier-Oblique-Ogonki.afm
+share/a2ps/afm/Courier-Ogonki.afm
+share/a2ps/afm/Helvetica-Bold-Ogonki.afm
+share/a2ps/afm/Helvetica-BoldOblique-Ogonki.afm
+share/a2ps/afm/Helvetica-Oblique-Ogonki.afm
+share/a2ps/afm/Helvetica-Ogonki.afm
+share/a2ps/afm/Times-Bold-Ogonki.afm
+share/a2ps/afm/Times-BoldItalic-Ogonki.afm
+share/a2ps/afm/Times-Italic-Ogonki.afm
+share/a2ps/afm/Times-Roman-Ogonki.afm
+share/a2ps/afm/colle10.afm
+share/a2ps/afm/colle8.afm
+share/a2ps/afm/colle9.afm
+share/a2ps/afm/crr35__i.afm
+share/a2ps/afm/crr36__i.afm
+share/a2ps/afm/crr55__i.afm
+share/a2ps/afm/crr56__i.afm
+share/a2ps/afm/fonts.map
+share/a2ps/afm/make_fonts_map.sh
+share/a2ps/afm/pbkd.afm
+share/a2ps/afm/pbkdi.afm
+share/a2ps/afm/pbkl.afm
+share/a2ps/afm/pbkli.afm
+share/a2ps/afm/pcrb.afm
+share/a2ps/afm/pcrbo.afm
+share/a2ps/afm/pcrr.afm
+share/a2ps/afm/pcrro.afm
+share/a2ps/afm/phvb.afm
+share/a2ps/afm/phvbo.afm
+share/a2ps/afm/phvbon.afm
+share/a2ps/afm/phvbrn.afm
+share/a2ps/afm/phvr.afm
+share/a2ps/afm/phvro.afm
+share/a2ps/afm/phvron.afm
+share/a2ps/afm/phvrrn.afm
+share/a2ps/afm/pncb.afm
+share/a2ps/afm/pncbi.afm
+share/a2ps/afm/pncr.afm
+share/a2ps/afm/pncri.afm
+share/a2ps/afm/pplb.afm
+share/a2ps/afm/pplbi.afm
+share/a2ps/afm/pplr.afm
+share/a2ps/afm/pplri.afm
+share/a2ps/afm/psyr.afm
+share/a2ps/afm/ptmb.afm
+share/a2ps/afm/ptmbi.afm
+share/a2ps/afm/ptmi.afm
+share/a2ps/afm/ptmr.afm
+share/a2ps/afm/pzcmi.afm
+share/a2ps/afm/pzdr.afm
+share/a2ps/afm/textb18.afm
+share/a2ps/afm/textb19.afm
+share/a2ps/afm/textb20.afm
+share/a2ps/ps/Courier-Bold-Ogonki.pfa
+share/a2ps/ps/Courier-BoldOblique-Ogonki.pfa
+share/a2ps/ps/Courier-Oblique-Ogonki.pfa
+share/a2ps/ps/Courier-Ogonki.pfa
+share/a2ps/ps/Helvetica-Bold-Ogonki.pfa
+share/a2ps/ps/Helvetica-BoldOblique-Ogonki.pfa
+share/a2ps/ps/Helvetica-Oblique-Ogonki.pfa
+share/a2ps/ps/Helvetica-Ogonki.pfa
+share/a2ps/ps/Times-Bold-Ogonki.pfa
+share/a2ps/ps/Times-BoldItalic-Ogonki.pfa
+share/a2ps/ps/Times-Italic-Ogonki.pfa
+share/a2ps/ps/Times-Roman-Ogonki.pfa
+share/a2ps/ps/colle10.pfb
+share/a2ps/ps/colle8.pfb
+share/a2ps/ps/colle9.pfb
+share/a2ps/ps/crr35__i.pfb
+share/a2ps/ps/crr36__i.pfb
+share/a2ps/ps/crr55__i.pfb
+share/a2ps/ps/crr56__i.pfb
+share/a2ps/ps/textb18.pfb
+share/a2ps/ps/textb19.pfb
+share/a2ps/ps/textb20.pfb
+share/locale/ca/LC_MESSAGES/a2ps.mo
+share/locale/cs/LC_MESSAGES/a2ps.mo
+share/locale/de/LC_MESSAGES/a2ps.mo
+share/locale/es/LC_MESSAGES/a2ps.mo
+share/locale/fr/LC_MESSAGES/a2ps.mo
+share/locale/it/LC_MESSAGES/a2ps.mo
+share/locale/ko/LC_MESSAGES/a2ps.mo
+share/locale/nl/LC_MESSAGES/a2ps.mo
+share/locale/pl/LC_MESSAGES/a2ps.mo
+share/locale/tr/LC_MESSAGES/a2ps.mo
+share/a2ps/sheets/sheets.map
+share/a2ps/sheets/68000.ssh
+share/a2ps/sheets/a2psrc.ssh
+share/a2ps/sheets/ada.ssh
+share/a2ps/sheets/cpp.ssh
+share/a2ps/sheets/c.ssh
+share/a2ps/sheets/csh.ssh
+share/a2ps/sheets/caml.ssh
+share/a2ps/sheets/chlog.ssh
+share/a2ps/sheets/claire.ssh
+share/a2ps/sheets/clisp.ssh
+share/a2ps/sheets/coqv.ssh
+share/a2ps/sheets/eiffel.ssh
+share/a2ps/sheets/elisp.ssh
+share/a2ps/sheets/eps.ssh
+share/a2ps/sheets/gnuc.ssh
+share/a2ps/sheets/fortran.ssh
+share/a2ps/sheets/initora.ssh
+share/a2ps/sheets/java.ssh
+share/a2ps/sheets/lace.ssh
+share/a2ps/sheets/lex.ssh
+share/a2ps/sheets/make.ssh
+share/a2ps/sheets/mail.ssh
+share/a2ps/sheets/modula2.ssh
+share/a2ps/sheets/modula3.ssh
+share/a2ps/sheets/o2c.ssh
+share/a2ps/sheets/oberon.ssh
+share/a2ps/sheets/objc.ssh
+share/a2ps/sheets/octave.ssh
+share/a2ps/sheets/oracle.ssh
+share/a2ps/sheets/pascal.ssh
+share/a2ps/sheets/perl.ssh
+share/a2ps/sheets/plsql.ssh
+share/a2ps/sheets/ppd.ssh
+share/a2ps/sheets/ps.ssh
+share/a2ps/sheets/pre.ssh
+share/a2ps/sheets/prolog.ssh
+share/a2ps/sheets/promela.ssh
+share/a2ps/sheets/python.ssh
+share/a2ps/sheets/sather.ssh
+share/a2ps/sheets/scheme.ssh
+share/a2ps/sheets/sdl88.ssh
+share/a2ps/sheets/sh.ssh
+share/a2ps/sheets/sql.ssh
+share/a2ps/sheets/sql92.ssh
+share/a2ps/sheets/ssh.ssh
+share/a2ps/sheets/texinfo.ssh
+share/a2ps/sheets/tcl.ssh
+share/a2ps/sheets/tex.ssh
+share/a2ps/sheets/tk.ssh
+share/a2ps/sheets/unity.ssh
+share/a2ps/sheets/verilog.ssh
+share/a2ps/sheets/vhdl.ssh
+share/a2ps/sheets/vrml.ssh
+share/a2ps/sheets/yacc.ssh
+share/a2ps/sheets/zsh.ssh
+share/a2ps/encoding/ascii.edf
+share/a2ps/encoding/cp1250.edf
+share/a2ps/encoding/encoding.map
+share/a2ps/encoding/hp.edf
+share/a2ps/encoding/ibmpc.edf
+share/a2ps/encoding/iso5.edf
+share/a2ps/encoding/koi8r.edf
+share/a2ps/encoding/latin1.edf
+share/a2ps/encoding/latin2.edf
+share/a2ps/encoding/latin3.edf
+share/a2ps/encoding/latin4.edf
+share/a2ps/encoding/latin5.edf
+share/a2ps/encoding/latin6.edf
+share/a2ps/encoding/mac.edf
+share/a2ps/printers/README
+share/a2ps/printers/level1.ppd
+share/a2ps/printers/level2.ppd
+share/a2ps/printers/printers.map
+lib/liba2ps.so.0.3
+@exec /sbin/ldconfig -m %B
+lib/liba2ps.a
+etc/a2ps.cfg
+bin/ogonkify
+bin/a2ps
+bin/composite
+@unexec install-info --delete %D/info/a2ps.info %D/info/dir
+@unexec install-info --delete %D/info/ogonkify.info %D/info/dir
+@unexec install-info --delete %D/info/regex.info %D/info/dir
+info/a2ps.info
+info/ogonkify.info
+info/a2ps.info-1
+info/a2ps.info-2
+info/a2ps.info-3
+info/a2ps.info-4
+info/regex.info
+info/regex.info-1
+info/regex.info-2
+info/regex.info-3
+@exec [ -f %D/info/dir ] || sed -ne '1,/Menu:/p' /usr/share/info/dir > %D/info/dir
+@exec install-info %D/info/a2ps.info %D/info/dir
+@exec install-info %D/info/ogonkify.info %D/info/dir
+@exec install-info %D/info/regex.info %D/info/dir
+man/man1/a2ps.1.gz
+man/man1/ogonkify.1.gz
+@dirrm share/a2ps/afm
+@dirrm share/a2ps/encoding
+@dirrm share/a2ps/printers
+@dirrm share/a2ps/ps
+@dirrm share/a2ps/sheets
+@dirrm share/a2ps