summaryrefslogtreecommitdiff
path: root/graphics/xpdf-crypto
diff options
context:
space:
mode:
authorfredb <fredb@pkgsrc.org>1999-10-23 15:12:54 +0000
committerfredb <fredb@pkgsrc.org>1999-10-23 15:12:54 +0000
commit0a405454cbb6aeaf55c7f6d24a034ff9a8cdd88e (patch)
tree6382f4c4ec6a4fd4cda3c111411f52b086115cb9 /graphics/xpdf-crypto
parent56d5bc23a7b34ab05467a38ba53660ddb96ae780 (diff)
downloadpkgsrc-0a405454cbb6aeaf55c7f6d24a034ff9a8cdd88e.tar.gz
Enable Japanese support, as suggested in PR pkg/8668
filed by SUNAGAWA Keiki. Also, handle PAPERSIZE=A4.
Diffstat (limited to 'graphics/xpdf-crypto')
-rw-r--r--graphics/xpdf-crypto/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/graphics/xpdf-crypto/Makefile b/graphics/xpdf-crypto/Makefile
index 630e08140f6..ce798f015e2 100644
--- a/graphics/xpdf-crypto/Makefile
+++ b/graphics/xpdf-crypto/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 1999/09/25 20:39:46 fredb Exp $
+# $NetBSD: Makefile,v 1.2 1999/10/23 15:12:54 fredb Exp $
# FreeBSD Id: Makefile,v 1.12 1998/03/11 03:08:12 vanilla Exp
#
@@ -21,8 +21,9 @@ DEPENDS+= xpm-3.4k:../../graphics/xpm
RESTRICTED= "Crypto; export-controlled"
MIRROR_DISTFILE= no
-GNU_CONFIGURE= yes
USE_X11BASE= yes
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS+= --enable-japanese
CONFLICTS= xpdf-0.[789][a0]
@@ -36,4 +37,9 @@ post-install:
${ECHO} ${INSTALL_MAN} ${MAN1:S/.1/.0/} ${PREFIX}/man/cat1; \
${INSTALL_MAN} ${MAN1:S/.1/.0/} ${PREFIX}/man/cat1
+.include "../../mk/bsd.prefs.mk"
+.if ${PAPERSIZE} == "A4"
+CONFIGURE_ARGS+= --enable-a4-paper
+.endif
+
.include "../../mk/bsd.pkg.mk"