2003-04-17 04:15:07 +02:00
|
|
|
# $NetBSD: Makefile,v 1.7 2003/04/17 02:15:08 uebayasi Exp $
|
2001-02-20 10:47:37 +01:00
|
|
|
|
2003-01-11 16:21:19 +01:00
|
|
|
DISTNAME= semi-1.14.5
|
2003-04-13 05:55:51 +02:00
|
|
|
PKGREVISION= 1
|
2001-02-20 10:47:37 +01:00
|
|
|
CATEGORIES= devel
|
|
|
|
MASTER_SITES= ftp://ftp.m17n.org/pub/mule/semi/semi-1.14-for-flim-1.14/
|
|
|
|
|
|
|
|
MAINTAINER= tech-pkg-ja@jp.netbsd.org
|
|
|
|
HOMEPAGE= http://www.m17n.org/SEMI/
|
|
|
|
COMMENT= Emacs lisp library to provide MIME feature
|
|
|
|
|
2003-01-11 16:21:19 +01:00
|
|
|
DEPENDS+= apel>=10.3:../../devel/apel
|
|
|
|
DEPENDS+= flim>=1.6:../../devel/flim
|
2003-04-13 05:55:51 +02:00
|
|
|
BUILD_DEPENDS+= qkc-*:../../converters/qkc
|
2001-02-20 10:47:37 +01:00
|
|
|
|
2002-09-14 04:44:36 +02:00
|
|
|
.include "../../mk/emacs.mk"
|
|
|
|
|
|
|
|
.if ${EMACS_FLAVOR} == "emacs"
|
|
|
|
ALL_TARGET= elc
|
|
|
|
INSTALL_TARGET= install
|
|
|
|
.else # ${EMACS_FLAVOR} == "xemacs"
|
|
|
|
ALL_TARGET= package
|
|
|
|
INSTALL_TARGET= install-package
|
|
|
|
MAKEFLAGS+= PACKAGEDIR=${EMACS_LISPPREFIX:C|/lisp$||}
|
|
|
|
.endif
|
|
|
|
|
2003-04-13 05:55:51 +02:00
|
|
|
INFO_FILES= mime-ui-en.info mime-ui-ja.info
|
|
|
|
|
|
|
|
pre-build:
|
2003-04-17 04:15:07 +02:00
|
|
|
@cd ${WRKSRC}; \
|
|
|
|
for i in mime-ui-en mime-ui-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 05:55:51 +02:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/mime-ui-en.info ${PREFIX}/info
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/mime-ui-ja.info ${PREFIX}/info
|
|
|
|
|
|
|
|
.include "../../mk/texinfo.mk"
|
2001-02-20 10:47:37 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|