summaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authorSatoshi Asami <asami@FreeBSD.org>1996-08-16 07:08:42 +0000
committerSatoshi Asami <asami@FreeBSD.org>1996-08-16 07:08:42 +0000
commit02a270fdc58b428ae441301975241bf728e3e2eb (patch)
tree3dfcc0656118b32f2be962d9478ff54be85330ff /print
parentversion 1.14.5 (diff)
Pretty-printing utility, similar to Sun's /usr/openwin/bin/mp.
Submitted by: David O'Brien <obrien@cs.ucdavis.edu>
Notes
Notes: svn path=/head/; revision=3606
Diffstat (limited to 'print')
-rw-r--r--print/mp-letter/Makefile43
-rw-r--r--print/mp-letter/distinfo1
-rw-r--r--print/mp-letter/files/patch-aa50
-rw-r--r--print/mp-letter/files/patch-ab11
-rw-r--r--print/mp-letter/files/patch-ac23
-rw-r--r--print/mp-letter/pkg-comment1
-rw-r--r--print/mp-letter/pkg-descr10
-rw-r--r--print/mp-letter/pkg-plist25
8 files changed, 164 insertions, 0 deletions
diff --git a/print/mp-letter/Makefile b/print/mp-letter/Makefile
new file mode 100644
index 000000000000..59e288097431
--- /dev/null
+++ b/print/mp-letter/Makefile
@@ -0,0 +1,43 @@
+# New ports collection makefile for: mp
+# Version required: 3.0.1
+# Date created: 11 July 1996
+# Whom: David O'Brien <obrien@cs.ucdavis.edu>
+#
+# $Id: Makefile,v 1.1.1.1 1996/03/05 07:46:57 asami Exp $
+#
+
+DISTNAME= mp-3.0.1
+PKGNAME= mp-${PAPERSIZE}-3.0.1
+CATEGORIES+= print
+MASTER_SITES= ftp://nuxi.cs.ucdavis.edu/pub/misc/ \
+ ftp://ftp.win.tue.nl/pub/mail/
+
+MAINTAINER= obrien@cs.ucdavis.edu
+
+WRKSRC= ${WRKDIR}/mp
+USE_GMAKE= yes
+
+.if !defined(PAPERSIZE)
+PAPERSIZE=letter
+.elif ${PAPERSIZE} == A4 || ${PAPERSIZE} == a4
+INSTALL_TARGET= install-a4
+.endif
+
+pre-patch:
+ @cp ${WRKSRC}/Makefile.dist ${WRKSRC}/Makefile
+
+MP_UTILS= digestp filep filofaxp franklinp mailp newsp timemanp timesysp
+post-install:
+.if !defined(NOMANCOMPRESS)
+ gzip -9nf ${PREFIX}/man/man1/mp.1
+ -(cd ${PREFIX}/man/man1 ; \
+ for mpu in $(MP_UTILS) ; do \
+ ln -sf mp.1.gz $$mpu.1.gz ; done)
+.else
+ -(cd ${PREFIX}/man/man1 ; \
+ for mp in $(MP_UTILS) ; do \
+ ln -sf mp.1 $$mpu.1 ; done)
+
+.endif
+
+.include <bsd.port.mk>
diff --git a/print/mp-letter/distinfo b/print/mp-letter/distinfo
new file mode 100644
index 000000000000..8c82e265f9bb
--- /dev/null
+++ b/print/mp-letter/distinfo
@@ -0,0 +1 @@
+MD5 (mp-3.0.1.tar.gz) = 7442774147b445e36d97d70166421750
diff --git a/print/mp-letter/files/patch-aa b/print/mp-letter/files/patch-aa
new file mode 100644
index 000000000000..4cd59e2e7d5f
--- /dev/null
+++ b/print/mp-letter/files/patch-aa
@@ -0,0 +1,50 @@
+--- Makefile.orig Sat Aug 10 02:48:14 1996
++++ Makefile Sat Aug 10 02:53:07 1996
+@@ -45,11 +45,14 @@
+ # Default locations where mp files will be installed.
+ # You might wish to alter these values.
+ #
+-MPPATH = /usr/local
++#MPPATH = /usr/local
++MPPATH = $(PREFIX)
+ MPBINDIR = $(MPPATH)/bin
+-MPLIBDIR = $(MPPATH)/lib
++#MPLIBDIR = $(MPPATH)/lib
++MPLIBDIR = $(MPPATH)/share/mp
+ MPMANDIR = $(MPPATH)/man/man$(MPMANSECT)
+-MPMANSECT = l
++#MPMANSECT = l
++MPMANSECT = 1
+ #---------------------------------------------------------------------
+ # Alternate names for the mailp frontend
+ #
+@@ -62,6 +65,7 @@
+ CCFLAGS = $(CCOMP) $(CDEFS)
+ LDFLAGS =
+
++CXXFLAGS = $(CCFLAGS) # needed for gmake's implicit rule
+ CCC = g++
+ #=================================================================
+
+@@ -107,10 +111,10 @@
+ @echo "**IMPORTANT NOTE**"
+ @echo
+ @echo "Mp is setup by default to work with US Letter sized paper."
+- @echo "If you are using A4 sized paper, you should reinstall, by
++ @echo "If you are using A4 sized paper, you should reinstall, by"
+ @echo "doing a:"
+ @echo
+- @echo "make install-a4"
++ @echo "make PAPERSIZE=a4 reinstall"
+ @echo
+
+ common-install: $(BINARIES)
+@@ -122,6 +126,8 @@
+ -cp mp.1 $(MPMANDIR)/mp.$(MPMANSECT)
+ -chmod 644 $(MPMANDIR)/mp.$(MPMANSECT)
+ # mp.common.ps
++ -mkdir $(MPLIBDIR)
++#
+ -cp mp.common.ps $(MPLIBDIR)
+ -chmod 644 $(MPLIBDIR)/mp.common.ps
+ # mp.pro.ps
diff --git a/print/mp-letter/files/patch-ab b/print/mp-letter/files/patch-ab
new file mode 100644
index 000000000000..fb6c181acda6
--- /dev/null
+++ b/print/mp-letter/files/patch-ab
@@ -0,0 +1,11 @@
+--- input.cc.orig Sun Aug 1 13:28:22 1993
++++ input.cc Sat Aug 3 17:04:16 1996
+@@ -134,6 +134,8 @@
+
+ else if (!argcmp(argv[i], "-from", 4)) // Print originators name.
+ print_orig = 1 ;
++ else if (!argcmp(argv[i], "-F", 2)) // backward compatiblity
++ print_orig = 1 ;
+
+ else if (!argcmp(argv[i], "-help", 2)) // Print usage message.
+ usage() ;
diff --git a/print/mp-letter/files/patch-ac b/print/mp-letter/files/patch-ac
new file mode 100644
index 000000000000..5c2122a61654
--- /dev/null
+++ b/print/mp-letter/files/patch-ac
@@ -0,0 +1,23 @@
+--- mp.man.orig Sun Aug 1 13:28:21 1993
++++ mp.man Sat Aug 3 17:11:20 1996
+@@ -82,6 +82,8 @@
+ ] [
+ .B \-wrap
+ ] [
++.B \-F
++] [
+ .I filename .\|.\|.
+ ]
+ .PP
+@@ -250,6 +252,11 @@
+ Instead of printing who the mail article is for, the top header will
+ contain who the mail article is from. A useful option for people with
+ their own personal printer.
++.TP
++.B \-F
++Synonym for
++.B \-from
++for backwards compatiblity with earier versions.
+ .\"======================================
+ .TP
+ .B \-help
diff --git a/print/mp-letter/pkg-comment b/print/mp-letter/pkg-comment
new file mode 100644
index 000000000000..1d89992db565
--- /dev/null
+++ b/print/mp-letter/pkg-comment
@@ -0,0 +1 @@
+A PostScript printing util for ASCII files, email, USENET news articles, etc.
diff --git a/print/mp-letter/pkg-descr b/print/mp-letter/pkg-descr
new file mode 100644
index 000000000000..a0bb959200f4
--- /dev/null
+++ b/print/mp-letter/pkg-descr
@@ -0,0 +1,10 @@
+MP will pretty print files to stdout/PostScript printer. It has special
+processing for mail, USENET news articles, digests, and several personal
+organisers. Printouts can be portrait, landscape or 2-up, and include
+pretty headers with useful information (page number, printing date, file
+name or supplied header). Mp is very useful for making archive listings of
+programs.
+
+Includes mp.el an Emacs interface to mp.
+
+-- David (obrien@cs.ucdavis.edu)
diff --git a/print/mp-letter/pkg-plist b/print/mp-letter/pkg-plist
new file mode 100644
index 000000000000..44e9fa4f8396
--- /dev/null
+++ b/print/mp-letter/pkg-plist
@@ -0,0 +1,25 @@
+bin/mp
+bin/mailp
+bin/digestp
+bin/filep
+bin/filofaxp
+bin/franklinp
+bin/timemanp
+share/mp/mp.common.ps
+share/mp/mp.pro.alt.ps
+share/mp/mp.pro.altl.ps
+share/mp/mp.pro.ff.ps
+share/mp/mp.pro.fp.ps
+share/mp/mp.pro.l.ps
+share/mp/mp.pro.ps
+share/mp/mp.pro.tm.ps
+share/mp/mp.pro.ts.ps
+man/man1/mp.1.gz
+man/man1/digestp.1.gz
+man/man1/filep.1.gz
+man/man1/filofaxp.1.gz
+man/man1/franklinp.1.gz
+man/man1/mailp.1.gz
+man/man1/newsp.1.gz
+man/man1/timemanp.1.gz
+man/man1/timesysp.1.gz