summaryrefslogtreecommitdiff
path: root/print/gp
diff options
context:
space:
mode:
authorSatoshi Asami <asami@FreeBSD.org>1998-11-20 04:39:06 +0000
committerSatoshi Asami <asami@FreeBSD.org>1998-11-20 04:39:06 +0000
commitcb60d758c452cb8646da2db5fd562416415553c3 (patch)
treec5660844253ccb084598ad81d296d28df94c6a8e /print/gp
parentDang. I knew I forgot something. This goes with the previous mass commit (diff)
Use a4 size if compiling for Japanese, letter otherwise.
Notes
Notes: svn path=/head/; revision=14711
Diffstat (limited to 'print/gp')
-rw-r--r--print/gp/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/print/gp/Makefile b/print/gp/Makefile
index 392c5b2bdf63..5f106cc51c09 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}