Use a4 size if compiling for Japanese, letter otherwise.
This commit is contained in:
parent
83a5febf20
commit
cb60d758c4
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=14711
1 changed files with 6 additions and 2 deletions
|
@ -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}
|
||||
|
|
Loading…
Reference in a new issue