50 lines
1.3 KiB
Makefile
50 lines
1.3 KiB
Makefile
# $NetBSD: Makefile,v 1.27 2007/11/12 05:34:10 uebayasi Exp $
|
|
|
|
DISTNAME= flim-1.14.7
|
|
PKGNAME= ${EMACS_PKGNAME_PREFIX}${DISTNAME}
|
|
PKGREVISION= 2
|
|
CATEGORIES= devel
|
|
MASTER_SITES= ftp://ftp.m17n.org/pub/mule/flim/flim-1.14/
|
|
|
|
MAINTAINER= tech-pkg-ja@jp.NetBSD.org
|
|
HOMEPAGE= http://www.m17n.org/FLIM/
|
|
COMMENT= Emacs lisp library for message representation/encoding
|
|
|
|
BUILD_DEPENDS+= qkc-[0-9]*:../../converters/qkc
|
|
|
|
BUILD_TARGET= ${BUILD_TARGET.${EMACS_FLAVOR}}
|
|
INSTALL_TARGET= ${INSTALL_TARGET.${EMACS_FLAVOR}}
|
|
MAKEFLAGS= ${MAKEFLAGS.${EMACS_FLAVOR}}
|
|
|
|
EVAL_PREFIX+= QKC_PREFIX=qkc
|
|
USE_TOOLS+= makeinfo
|
|
INFO_FILES= # PLIST
|
|
TEXINFO_REQD= 4.5
|
|
|
|
BUILD_TARGET.emacs= elc
|
|
BUILD_TARGET.xemacs= package
|
|
INSTALL_TARGET.emacs= install
|
|
INSTALL_TARGET.xemacs= install-package
|
|
MAKEFLAGS.emacs+=
|
|
MAKEFLAGS.xemacs+= PACKAGEDIR=${EMACS_LISPPREFIX:C|/lisp$||}
|
|
|
|
EMACS_MODULES= base
|
|
|
|
post-build:
|
|
@cd ${WRKSRC}; for i in mime-en mime-ja; do \
|
|
${RM} -f $${i}.info*; \
|
|
${CP} $${i}.texi $${i}.texi.orig; \
|
|
${QKC_PREFIX}/bin/qkc -Oeu $${i}.texi.orig >$${i}.texi; \
|
|
makeinfo --force --no-validate $${i}.texi; \
|
|
done
|
|
|
|
post-install:
|
|
cd ${WRKSRC}; for f in mime-*.info mime-*.info-[0-9]*; do \
|
|
${TEST} ! -f "$$f" || \
|
|
${INSTALL_DATA} "$$f" ${EMACS_INFOPREFIX}; \
|
|
done
|
|
|
|
.include "../../mk/emacs.mk"
|
|
|
|
.include "../../devel/apel/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|