2005-03-05 17:37:10 +01:00
|
|
|
# $NetBSD: Makefile,v 1.17 2005/03/05 16:37:10 minskim Exp $
|
2001-02-20 10:09:06 +01:00
|
|
|
|
2004-09-10 18:33:57 +02:00
|
|
|
DISTNAME= flim-1.14.6
|
2005-03-05 17:37:10 +01:00
|
|
|
PKGREVISION= 2
|
2001-02-20 10:09:06 +01:00
|
|
|
CATEGORIES= devel
|
|
|
|
MASTER_SITES= ftp://ftp.m17n.org/pub/mule/flim/flim-1.14/
|
|
|
|
|
2003-07-17 23:21:03 +02:00
|
|
|
MAINTAINER= tech-pkg-ja@jp.NetBSD.org
|
2001-02-20 10:09:06 +01:00
|
|
|
HOMEPAGE= http://www.m17n.org/FLIM/
|
|
|
|
COMMENT= Emacs lisp library for message representation/encoding
|
|
|
|
|
2003-08-18 15:14:32 +02:00
|
|
|
EMACS_VERSIONS_ACCEPTED= emacs21 emacs21nox emacs20 xemacs214 xemacs215
|
2002-09-14 04:44:36 +02:00
|
|
|
.include "../../mk/emacs.mk"
|
|
|
|
|
2003-08-18 15:14:32 +02:00
|
|
|
BUILD_DEPENDS+= qkc-*:../../converters/qkc
|
|
|
|
|
2002-09-14 04:44:36 +02:00
|
|
|
.if ${EMACS_FLAVOR} == "emacs"
|
2005-03-05 17:37:10 +01:00
|
|
|
DEPENDS+= ${PKGNAME_PREFIX}apel>=9.22:../../devel/apel
|
2004-12-03 16:14:50 +01:00
|
|
|
BUILD_TARGET= elc
|
2002-09-14 04:44:36 +02:00
|
|
|
INSTALL_TARGET= install
|
|
|
|
.else # ${EMACS_FLAVOR} == "xemacs"
|
2005-03-05 17:37:10 +01:00
|
|
|
DEPENDS+= xemacs-packages-[0-9]*:../../editors/xemacs-packages
|
2004-12-03 16:14:50 +01:00
|
|
|
BUILD_TARGET= package
|
2002-09-14 04:44:36 +02:00
|
|
|
INSTALL_TARGET= install-package
|
2003-06-23 12:46:20 +02:00
|
|
|
MAKEFLAGS+= PACKAGEDIR=${EMACS_LISPPREFIX:C|/lisp$||}
|
2002-09-14 04:44:36 +02:00
|
|
|
.endif
|
|
|
|
|
2003-06-23 12:46:20 +02:00
|
|
|
USE_MAKEINFO= YES
|
2003-04-13 06:14:23 +02:00
|
|
|
INFO_FILES= mime-en.info mime-ja.info
|
2003-04-23 18:59:51 +02:00
|
|
|
TEXINFO_REQD= 4.5
|
2003-04-13 06:14:23 +02:00
|
|
|
|
|
|
|
pre-build:
|
2003-04-17 04:15:07 +02:00
|
|
|
@cd ${WRKSRC}; \
|
|
|
|
for i in mime-en mime-ja; do \
|
|
|
|
${RM} -f $${i}.info; \
|
|
|
|
${CP} $${i}.texi $${i}.texi.orig; \
|
|
|
|
${LOCALBASE}/bin/qkc -Oeu $${i}.texi.orig >$${i}.texi; \
|
|
|
|
${MAKEINFO} --force --no-validate --no-split $${i}.texi; \
|
|
|
|
done
|
2003-04-13 06:14:23 +02:00
|
|
|
|
|
|
|
pre-install:
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/mime-*.info ${PREFIX}/info
|
|
|
|
|
2001-02-20 10:09:06 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|