summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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"