summaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authorDaichi GOTO <daichi@FreeBSD.org>2003-07-09 05:39:32 +0000
committerDaichi GOTO <daichi@FreeBSD.org>2003-07-09 05:39:32 +0000
commitec6fd84e38219b885248b777a6fda04493325c2a (patch)
tree02a433c5098168f046c3e8ce9346bcf31d19f2a8 /print
parentupdate security/libmcrypt: remove unneeded USE_PERL5 (diff)
update print/mpage: page size selection patch
PR: 54173 Submitted by: Alan Amesbury <amesbury@indefi.net>
Notes
Notes: svn path=/head/; revision=84504
Diffstat (limited to 'print')
-rw-r--r--print/mpage/Makefile4
-rw-r--r--print/mpage/files/patch-aa9
2 files changed, 13 insertions, 0 deletions
diff --git a/print/mpage/Makefile b/print/mpage/Makefile
index 2b74a8627fa5..3cf8b2ff7768 100644
--- a/print/mpage/Makefile
+++ b/print/mpage/Makefile
@@ -5,6 +5,10 @@
# $FreeBSD$
#
+# To override mpage's default paper size of A4, set PAGESIZE to another
+# page type. Some common values include "Letter" (8.5" x 11") and
+# "Legal" (8.5" x 14").
+
PORTNAME= mpage
PORTVERSION= 2.5.3
PORTREVISION= 1
diff --git a/print/mpage/files/patch-aa b/print/mpage/files/patch-aa
index 6193c5573c3c..d28aaacb560f 100644
--- a/print/mpage/files/patch-aa
+++ b/print/mpage/files/patch-aa
@@ -8,6 +8,15 @@
############################################################################
#
+@@ -40,7 +39,7 @@
+ # See glob.c for all possibilities
+ #
+ # PAGESIZE=Letter
+-PAGESIZE=A4
++PAGESIZE?=A4
+
+ #
+ # Define your spooler type
@@ -50,7 +49,6 @@
SPOOL_TYPE=BSD_SPOOLER