2005-08-28 06:28:53 +02:00
|
|
|
# $NetBSD: Makefile,v 1.19 2005/08/28 04:28:54 uebayasi Exp $
|
2001-02-20 10:47:37 +01:00
|
|
|
|
2004-09-10 19:10:24 +02:00
|
|
|
DISTNAME= semi-1.14.6
|
2005-08-28 06:28:53 +02:00
|
|
|
PKGNAME= ${EMACS_PKGNAME_PREFIX}${DISTNAME}
|
|
|
|
PKGREVISION= 4
|
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/
|
|
|
|
|
2004-09-27 10:48:34 +02:00
|
|
|
# This fix will be unnecessary for the next release.
|
|
|
|
PATCH_SITES= ${MASTER_SITE_LOCAL}
|
|
|
|
PATCHFILES= semi-1.14.6-pgg-gpg.patch
|
|
|
|
PATCH_DIST_STRIP= -p0
|
|
|
|
|
2005-08-28 06:28:53 +02:00
|
|
|
MAINTAINER= uebayasi@NetBSD.org
|
2001-02-20 10:47:37 +01:00
|
|
|
HOMEPAGE= http://www.m17n.org/SEMI/
|
|
|
|
COMMENT= Emacs lisp library to provide MIME feature
|
|
|
|
|
2005-08-28 06:28:53 +02:00
|
|
|
DEPENDS+= ${EMACS_PKGNAME_PREFIX}flim>=1.14.2:../../devel/flim
|
|
|
|
BUILD_DEPENDS+= qkc-[0-9]*:../../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"
|
2005-08-28 06:28:53 +02:00
|
|
|
DEPENDS+= ${EMACS_PKGNAME_PREFIX}apel>=9.22:../../devel/apel
|
2005-08-11 16:00:38 +02:00
|
|
|
BUILD_TARGET= elc
|
2005-08-28 06:28:53 +02:00
|
|
|
INSTALL_TARGET= install
|
2005-08-11 16:00:38 +02:00
|
|
|
.else # ${EMACS_FLAVOR} == "xemacs"
|
2005-03-05 17:37:10 +01:00
|
|
|
DEPENDS+= xemacs-packages-[0-9]*:../../editors/xemacs-packages
|
2005-08-11 16:00:38 +02:00
|
|
|
BUILD_TARGET= package
|
2005-08-28 06:28:53 +02:00
|
|
|
INSTALL_TARGET= install-package
|
2005-08-11 16:00:38 +02:00
|
|
|
MAKEFLAGS+= PACKAGEDIR=${EMACS_LISPPREFIX:C|/lisp$||}
|
2002-09-14 04:44:36 +02:00
|
|
|
.endif
|
|
|
|
|
2003-06-25 14:44:21 +02:00
|
|
|
USE_MAKEINFO= YES
|
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
|
|
|
|
|
2005-08-28 06:28:53 +02:00
|
|
|
.include "options.mk"
|
2001-02-20 10:47:37 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|