aboutsummaryrefslogtreecommitdiffstats
path: root/print/psutils-letter
diff options
context:
space:
mode:
Diffstat (limited to 'print/psutils-letter')
-rw-r--r--print/psutils-letter/Makefile6
-rw-r--r--print/psutils-letter/files/patch-b415
2 files changed, 19 insertions, 2 deletions
diff --git a/print/psutils-letter/Makefile b/print/psutils-letter/Makefile
index d263609628f3..03c6c6ec3230 100644
--- a/print/psutils-letter/Makefile
+++ b/print/psutils-letter/Makefile
@@ -7,6 +7,7 @@
PORTNAME= psutils-${PAPERSIZE}
PORTVERSION= 1.17
+PORTREVISION= 1
CATEGORIES= print
MASTER_SITES= ftp://ftp.dcs.ed.ac.uk/pub/ajcd/
DISTNAME= psutils-p17
@@ -26,6 +27,7 @@ PAPERSIZE_UNSPECIFIED= yes
.else
.if ${PAPERSIZE} != A3 && ${PAPERSIZE} != a3 && ${PAPERSIZE} != A4 \
&& ${PAPERSIZE} != a4 && ${PAPERSIZE} != A5 && ${PAPERSIZE} != a5 \
+ && ${PAPERSIZE} != B4 && ${PAPERSIZE} != b4 \
&& ${PAPERSIZE} != B5 && ${PAPERSIZE} != b5 \
&& ${PAPERSIZE} != letter && ${PAPERSIZE} != legal \
&& ${PAPERSIZE} != ledger && ${PAPERSIZE} != tabloid \
@@ -33,7 +35,7 @@ PAPERSIZE_UNSPECIFIED= yes
&& ${PAPERSIZE} != folio && ${PAPERSIZE} != quarto && ${PAPERSIZE} != 10x14
.BEGIN:
@${ECHO} "Error: invalid value for PAPERSIZE: \"${PAPERSIZE}\""
- @${ECHO} "Possible values are: A3, A4 (default), A5, B5, letter, legal,"
+ @${ECHO} "Possible values are: A3, A4 (default), A5, B4, B5, letter, legal,"
@${ECHO} " ledger, tabloid, statement, executive, folio, quarto, and 10x14."
@${FALSE}
.endif
@@ -44,7 +46,7 @@ pre-fetch:
@${ECHO_MSG} "Defaulting to ${PAPERSIZE} sized paper."
@${ECHO_MSG} ""
@${ECHO_MSG} "Set the environment variable PAPERSIZE if you want to use other sizes."
- @${ECHO_MSG} "Possible values are: A3, A4, A5, B5, letter, legal,"
+ @${ECHO_MSG} "Possible values are: A3, A4, A5, B4, B5, letter, legal,"
@${ECHO_MSG} " ledger, tabloid, statement, executive, folio, quarto, and 10x14."
.endif
diff --git a/print/psutils-letter/files/patch-b4 b/print/psutils-letter/files/patch-b4
new file mode 100644
index 000000000000..58918fc7a976
--- /dev/null
+++ b/print/psutils-letter/files/patch-b4
@@ -0,0 +1,15 @@
+--- psutil.c.bak Thu Oct 5 10:17:44 2000
++++ psutil.c Thu Oct 5 10:17:44 2000
+@@ -48,10 +48,12 @@
+ { "a4", 595, 842 }, /* 21cm * 29.7cm */
+ { "a5", 421, 595 }, /* 14.85cm * 21cm */
+ { "b5", 516, 729 }, /* 18.2cm * 25.72cm */
++ { "b4", 729, 1032 }, /* 25.72cm * 36.4cm */
+ { "A3", 842, 1191 }, /* 29.7cm * 42cm */
+ { "A4", 595, 842 }, /* 21cm * 29.7cm */
+ { "A5", 421, 595 }, /* 14.85cm * 21cm */
+ { "B5", 516, 729 }, /* 18.2cm * 25.72cm */
++ { "B4", 729, 1032 }, /* 25.72cm * 36.4cm */
+ { "letter", 612, 792 }, /* 8.5in * 11in */
+ { "legal", 612, 1008 }, /* 8.5in * 14in */
+ { "ledger", 1224, 792 }, /* 17in * 11in */