aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordaichi <daichi@FreeBSD.org>2003-07-09 13:39:32 +0800
committerdaichi <daichi@FreeBSD.org>2003-07-09 13:39:32 +0800
commit1fdfb0326328b43c3e3e1eec511c875546bb0bb3 (patch)
treed5dbaf47385d1e6a68d2ffdb7681713fee0d282f
parentc5c519c652473f6ff3011c87bebe8eb00577952f (diff)
downloadfreebsd-ports-gnome-1fdfb0326328b43c3e3e1eec511c875546bb0bb3.tar.gz
freebsd-ports-gnome-1fdfb0326328b43c3e3e1eec511c875546bb0bb3.tar.zst
freebsd-ports-gnome-1fdfb0326328b43c3e3e1eec511c875546bb0bb3.zip
update print/mpage: page size selection patch
PR: 54173 Submitted by: Alan Amesbury <amesbury@indefi.net>
-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