summaryrefslogtreecommitdiff
path: root/editors/mule/Makefile
diff options
context:
space:
mode:
authorobache <obache>2010-07-11 03:00:33 +0000
committerobache <obache>2010-07-11 03:00:33 +0000
commit3d1b17898a4284bb8c069cda31f1779ee46588a3 (patch)
tree99a59b66a880524fd84e7eaa19fd07fa7132fcce /editors/mule/Makefile
parentd9e0636cae7d100c4742c7c96cb063e1775dae31 (diff)
downloadpkgsrc-3d1b17898a4284bb8c069cda31f1779ee46588a3.tar.gz
* add patch-cj to fix build failure
* add user-destdir installation support. * Bump PKGREVISION to force rebuild with fixed ja-FreeWnn-lib.
Diffstat (limited to 'editors/mule/Makefile')
-rw-r--r--editors/mule/Makefile14
1 files changed, 10 insertions, 4 deletions
diff --git a/editors/mule/Makefile b/editors/mule/Makefile
index a12841664e1..7ca6e696ef8 100644
--- a/editors/mule/Makefile
+++ b/editors/mule/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.43 2009/09/02 08:34:13 wiz Exp $
+# $NetBSD: Makefile,v 1.44 2010/07/11 03:00:33 obache Exp $
DISTNAME= mule-2.3
-PKGREVISION= 5
+PKGREVISION= 6
CATEGORIES= editors
MASTER_SITES= ftp://ftp.m17n.org/pub/mule/
@@ -9,6 +9,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.m17n.org/mule/
COMMENT= Multilingual GNU editing macros (editor)
+PKG_DESTDIR_SUPPORT= user-destdir
+
CONFLICTS= emacs-[0-9]*
# build PATH in the dumped mule is not a problem
@@ -35,6 +37,10 @@ CONFIGURE_ARGS+= --bdf-path=${X11PREFIX}/lib/X11/fonts/intlfonts/bdf
INFO_FILES= # PLIST
+INSTALL_MAKE_FLAGS= prefix=${DESTDIR}${PREFIX}
+INSTALL_MAKE_FLAGS+= infodir=${DESTDIR}${GNU_CONFIGURE_INFODIR}
+INSTALL_MAKE_FLAGS+= mandir=${DESTDIR}${GNU_CONFIGURE_MANDIR}
+
# Remove original versions of patched files so that aren't installed.
post-build:
${FIND} ${WRKSRC} -name "*.orig" | ${XARGS} ${RM} -f
@@ -45,8 +51,8 @@ post-install:
-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
+ < ${WRKSRC}/etc/CHARSETS > ${DESTDIR}${PREFIX}/lib/mule/19.28/etc/CHARSETS
+ #diff -u ${WRKSRC}/etc/CHARSETS ${DESTDIR}${PREFIX}/lib/mule/19.28/etc/CHARSETS
.include "../../x11/xbitmaps/buildlink3.mk"
.include "../../x11/libXaw/buildlink3.mk"