summaryrefslogtreecommitdiff
path: root/editors/mule
diff options
context:
space:
mode:
authorhubertf <hubertf@pkgsrc.org>2002-07-24 02:35:09 +0000
committerhubertf <hubertf@pkgsrc.org>2002-07-24 02:35:09 +0000
commitafe3e6d21e078101420a326bb7d8944fa77b6e00 (patch)
tree868e058647745888a76ab8fd112f9f612de50612 /editors/mule
parentf6b0fc4d22090bab43d8747ec5b21118bb436c44 (diff)
downloadpkgsrc-afe3e6d21e078101420a326bb7d8944fa77b6e00.tar.gz
Update to mule-2.3nb1:
* adjust bdf-path (for any2ps, m2ps, ...) from really non-useful (/usr/share/fonts) to where pkgsrc/fonts/intlfonts puts it's BDF-files. (The intlfonts pkg still needs to be installed manually!) * Fix character-set=>bdf-file mapping for a few cases (latin, jis); mule seems to expect other filenames than what intl installs. This intends to fix PRs 17589 and 17336.
Diffstat (limited to 'editors/mule')
-rw-r--r--editors/mule/MESSAGE7
-rw-r--r--editors/mule/Makefile13
2 files changed, 19 insertions, 1 deletions
diff --git a/editors/mule/MESSAGE b/editors/mule/MESSAGE
new file mode 100644
index 00000000000..faff5c55435
--- /dev/null
+++ b/editors/mule/MESSAGE
@@ -0,0 +1,7 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1 2002/07/24 02:35:32 hubertf Exp $
+
+If you want to use PostScript conversion (coco, m2ps, any2ps), you
+will need to install the intlfonts package (pkgsrc/fonts/intlfonts)
+
+===========================================================================
diff --git a/editors/mule/Makefile b/editors/mule/Makefile
index d22fd8a8cc0..a5a4ba3e559 100644
--- a/editors/mule/Makefile
+++ b/editors/mule/Makefile
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.13 2002/06/12 04:30:32 sakamoto Exp $
+# $NetBSD: Makefile,v 1.14 2002/07/24 02:35:09 hubertf Exp $
DISTNAME= mule-2.3
+PKGREVISION= 1
CATEGORIES= editors
MASTER_SITES= ftp://ftp.m17n.org/pub/mule/
@@ -28,6 +29,7 @@ CONFIGURE_ARGS+= --terminal-face --mcpath
.if ${MACHINE_ARCH} != "alpha" && ${MACHINE_ARCH} != "sparc64"
CONFIGURE_ARGS+= --valbits=26
.endif
+CONFIGURE_ARGS+= --bdf-path=${X11PREFIX}/lib/X11/fonts/intlfonts/bdf
.if !defined(USE_WNN4) || ${USE_WNN4} == YES
CONFIGURE_ARGS+= --with-wnn4 --wnn-includes=${BUILDLINK_DIR}/include/wnn --wnn-libraries=${BUILDLINK_DIR}/lib
@@ -49,5 +51,14 @@ post-patch:
@${PATCH} ${PATCH_ARGS} < ${FILESDIR}/info.patch
@${RM} -f ${WRKSRC}/info/*.orig
+# Fix character mapping for pkgsrc/fonts/intlfonts
+post-install:
+ ${SED} \
+ -e 's/etl\([0-9]*\)-latin1/lt1-40-etl/' \
+ -e 's/etl\([0-9]*\)-latin\([0-9]\)/lt\2-\1-etl/' \
+ -e 's/jiskan24/j83-48/' \
+ < ${WRKSRC}/etc/CHARSETS > ${PREFIX}/lib/mule/19.28/etc/CHARSETS
+ #diff -u ${WRKSRC}/etc/CHARSETS ${PREFIX}/lib/mule/19.28/etc/CHARSETS
+
.include "../../mk/texinfo.mk"
.include "../../mk/bsd.pkg.mk"