summaryrefslogtreecommitdiffstats
path: root/print
diff options
context:
space:
mode:
authorasami <asami@FreeBSD.org>1998-11-20 04:39:06 +0000
committerasami <asami@FreeBSD.org>1998-11-20 04:39:06 +0000
commit6a0ee972fa1928b5a1a1f7c61c7f23e5839db3d7 (patch)
tree0ac7e5bf1923e384a80941f27390b0a60f115acf /print
parent5083a4bbf528df4988fd79f05353d5f4b2dc6124 (diff)
downloadFreeBSD-ports-6a0ee972fa1928b5a1a1f7c61c7f23e5839db3d7.zip
FreeBSD-ports-6a0ee972fa1928b5a1a1f7c61c7f23e5839db3d7.tar.gz
Use a4 size if compiling for Japanese, letter otherwise.
Diffstat (limited to 'print')
-rw-r--r--print/gp/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/print/gp/Makefile b/print/gp/Makefile
index 392c5b2..5f106cc 100644
--- a/print/gp/Makefile
+++ b/print/gp/Makefile
@@ -3,7 +3,7 @@
# Date created: 15 April 1997
# Whom: Kiriyama Kazuhiko<kiri@kiri.toba-cmt.ac.jp>
#
-# $Id: Makefile,v 1.9 1998/09/26 23:11:02 steve Exp $
+# $Id: Makefile,v 1.10 1998/10/09 10:05:54 asami Exp $
#
DISTNAME= GP-2.5p2
@@ -18,7 +18,7 @@ PATCHDIR= ${.CURDIR}/../../print/gp/patches
FILESDIR= ${.CURDIR}/../../print/gp/files
SCRIPTDIR= ${.CURDIR}/../../print/gp/scripts
-RUN_DEPENDS= ${PREFIX}/bin/psbook:${PORTSDIR}/print/psutils \
+RUN_DEPENDS= ${PREFIX}/bin/psbook:${PORTSDIR}/print/psutils-${PAPERSIZE} \
${X11BASE}/bin/gv:${PORTSDIR}/print/gv \
${PREFIX}/bin/convert:${PORTSDIR}/graphics/ImageMagick
@@ -31,6 +31,7 @@ RUN_DEPENDS+= ${PREFIX}/bin/wish4.2:${PORTSDIR}/x11-toolkits/tk42
LANGEXT= en
DOCDIRNAME= Doc
DOCEXT=
+PAPERSIZE= letter
.elif (${LANGUAGE} == "Japanese")
ALL_TARGET= ja filters
LIB_DEPENDS= tcl76jp.1:${PORTSDIR}/japanese/tcl76
@@ -38,6 +39,9 @@ RUN_DEPENDS+= ${PREFIX}/bin/wish4.2jp:${PORTSDIR}/japanese/tk42
LANGEXT= ja
DOCDIRNAME= Doc.ja
DOCEXT= .euc
+PAPERSIZE= a4
+.else
+PAPERSIZE= a4
.endif
MAKE_ENV= LANGUAGE=${LANGUAGE} LANGEXT=${LANGEXT}
SCRIPTS_ENV= MV=${MV} RM=${RM} SED=${SED} LANGUAGE=${LANGUAGE} LANGEXT=${LANGEXT}
OpenPOWER on IntegriCloud