2014-06-01 18:45:35 +02:00
|
|
|
# $NetBSD: Makefile,v 1.50 2014/06/01 16:45:35 wiz Exp $
|
2000-11-21 06:21:08 +01:00
|
|
|
|
|
|
|
DISTNAME= mule-2.3
|
2014-06-01 18:45:35 +02:00
|
|
|
PKGREVISION= 8
|
2000-11-21 06:21:08 +01:00
|
|
|
CATEGORIES= editors
|
|
|
|
MASTER_SITES= ftp://ftp.m17n.org/pub/mule/
|
|
|
|
|
2009-09-02 10:34:13 +02:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2009-08-16 23:46:55 +02:00
|
|
|
HOMEPAGE= http://www.m17n.org/mule/
|
2001-02-16 15:38:16 +01:00
|
|
|
COMMENT= Multilingual GNU editing macros (editor)
|
2011-12-19 22:36:07 +01:00
|
|
|
LICENSE= gnu-gpl-v2
|
2000-11-21 06:21:08 +01:00
|
|
|
|
2010-07-12 03:57:34 +02:00
|
|
|
MAKE_JOBS_SAFE= no
|
2010-07-11 05:00:33 +02:00
|
|
|
|
2001-09-28 01:17:41 +02:00
|
|
|
CONFLICTS= emacs-[0-9]*
|
2000-12-16 14:56:40 +01:00
|
|
|
|
2005-06-30 12:20:49 +02:00
|
|
|
# build PATH in the dumped mule is not a problem
|
2006-12-06 17:42:20 +01:00
|
|
|
CHECK_WRKREF_SKIP+= bin/mule
|
|
|
|
CHECK_WRKREF_SKIP+= bin/mule-19.28
|
2005-06-30 12:20:49 +02:00
|
|
|
|
2006-03-31 17:34:44 +02:00
|
|
|
WRKSRC= ${WRKDIR}/mule
|
|
|
|
USE_TOOLS+= gmake makeinfo
|
|
|
|
GNU_CONFIGURE= yes
|
2005-11-04 20:30:00 +01:00
|
|
|
GNU_CONFIGURE_MANDIR= ${PREFIX}/${PKGMANDIR}/man1
|
2000-11-21 06:21:08 +01:00
|
|
|
|
2005-12-01 18:34:41 +01:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
2006-03-31 17:34:44 +02:00
|
|
|
CFLAGS+= -g
|
2006-01-04 21:35:08 +01:00
|
|
|
|
|
|
|
CONFIGURE_ARGS+= ${MACHINE_ARCH}--${LOWER_OPSYS} --with-x --with-x-toolkit=lucid
|
|
|
|
CONFIGURE_ARGS+= --terminal-face --mcpath --canna-libraries=${PREFIX}/lib
|
2000-11-21 06:21:08 +01:00
|
|
|
.if ${MACHINE_ARCH} != "alpha" && ${MACHINE_ARCH} != "sparc64"
|
|
|
|
CONFIGURE_ARGS+= --valbits=26
|
|
|
|
.endif
|
2014-06-01 18:45:35 +02:00
|
|
|
CONFIGURE_ARGS+= --bdf-path=${X11PREFIX}/share/fonts/X11/intlfonts/bdf
|
2000-11-21 06:21:08 +01:00
|
|
|
|
2005-12-01 18:34:41 +01:00
|
|
|
.include "options.mk"
|
2000-11-21 06:21:08 +01:00
|
|
|
|
2013-04-06 22:27:16 +02:00
|
|
|
INFO_FILES= yes
|
2000-11-21 06:21:08 +01:00
|
|
|
|
2010-07-11 05:00:33 +02:00
|
|
|
INSTALL_MAKE_FLAGS= prefix=${DESTDIR}${PREFIX}
|
|
|
|
INSTALL_MAKE_FLAGS+= infodir=${DESTDIR}${GNU_CONFIGURE_INFODIR}
|
|
|
|
INSTALL_MAKE_FLAGS+= mandir=${DESTDIR}${GNU_CONFIGURE_MANDIR}
|
|
|
|
|
2006-03-31 17:34:44 +02:00
|
|
|
# Remove original versions of patched files so that aren't installed.
|
|
|
|
post-build:
|
|
|
|
${FIND} ${WRKSRC} -name "*.orig" | ${XARGS} ${RM} -f
|
|
|
|
|
2002-07-24 04:35:09 +02:00
|
|
|
# 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/' \
|
2010-07-11 05:00:33 +02:00
|
|
|
< ${WRKSRC}/etc/CHARSETS > ${DESTDIR}${PREFIX}/lib/mule/19.28/etc/CHARSETS
|
|
|
|
#diff -u ${WRKSRC}/etc/CHARSETS ${DESTDIR}${PREFIX}/lib/mule/19.28/etc/CHARSETS
|
2002-07-24 04:35:09 +02:00
|
|
|
|
2007-02-19 19:40:44 +01:00
|
|
|
.include "../../x11/xbitmaps/buildlink3.mk"
|
|
|
|
.include "../../x11/libXaw/buildlink3.mk"
|
2000-11-21 06:21:08 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|