summaryrefslogtreecommitdiff
path: root/print/mpage
diff options
context:
space:
mode:
authorreed <reed@pkgsrc.org>2008-10-04 14:51:16 +0000
committerreed <reed@pkgsrc.org>2008-10-04 14:51:16 +0000
commit857637df3d04bb5b5d9fbfd008930ccee1fd4416 (patch)
tree9f9deab8a3cd0a842c72e1285ea30afaed93263e /print/mpage
parent46fce9a316a4272ff5e25d2e960ed0c84d55514c (diff)
downloadpkgsrc-857637df3d04bb5b5d9fbfd008930ccee1fd4416.tar.gz
Fix PR 39650. I now realize I had broken this myself back in March 2007
when I updated to 2.5.5. Use the correct papersize names. And bump PKGREVISION. It now just passes along the name set in pkgsrc PAPERSIZE. It has no checking so could still have wrong value. I didn't check for "Letterdj" so that may cause problem as mpage doesn't know it. For the record this is what mpage knows: Mpage knows about the following paper types: Type Points Wide Points High -------------- ----------- ----------- Letter 612 792 LetterSmall 612 792 Tabloid 792 1224 Ledger 1224 792 Legal 612 1008 Statement 396 612 Executive 540 720 A0 2384 3368 A1 1684 2384 A2 1192 1684 A3 842 1192 A4 596 842 A4Small 595 842 A5 420 595 B4 729 1032 B5 516 729 Folio 612 936 Quarto 610 780 10x14 720 1008
Diffstat (limited to 'print/mpage')
-rw-r--r--print/mpage/Makefile11
1 files changed, 3 insertions, 8 deletions
diff --git a/print/mpage/Makefile b/print/mpage/Makefile
index ea1196d9790..1fd60c147bc 100644
--- a/print/mpage/Makefile
+++ b/print/mpage/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.19 2007/03/19 16:36:17 reed Exp $
+# $NetBSD: Makefile,v 1.20 2008/10/04 14:51:16 reed Exp $
#
DISTNAME= mpage-2.5.5
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= print
MASTER_SITES= ftp://ftp.mesa.nl/pub/mpage/ \
http://www.mesa.nl/pub/mpage/
@@ -16,11 +16,6 @@ BUILD_TARGET= default
MAKE_ENV+= MANDIR=${PREFIX}/${PKGMANDIR}/man1
.include "../../mk/bsd.prefs.mk"
-
-.if ${PAPERSIZE} == "A4"
-MAKE_ENV+= PAGESIZE=PAGE_A4
-.elif ((${PAPERSIZE} == "Letter") || (${PAPERSIZE} == "Letterdj"))
-MAKE_ENV+= PAGESIZE=PAGE_LETTER
-.endif
+MAKE_ENV+= PAGESIZE=${PAPERSIZE}
.include "../../mk/bsd.pkg.mk"