summaryrefslogtreecommitdiff
path: root/devel/flim/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/flim/Makefile')
-rw-r--r--devel/flim/Makefile18
1 files changed, 15 insertions, 3 deletions
diff --git a/devel/flim/Makefile b/devel/flim/Makefile
index c046dbd2eb5..6edf2128ce8 100644
--- a/devel/flim/Makefile
+++ b/devel/flim/Makefile
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.5 2003/01/11 15:20:28 uebayasi Exp $
+# $NetBSD: Makefile,v 1.6 2003/04/13 04:14:23 uebayasi Exp $
DISTNAME= flim-1.14.5
+PKGREVISION= 1
CATEGORIES= devel
MASTER_SITES= ftp://ftp.m17n.org/pub/mule/flim/flim-1.14/
@@ -9,18 +10,29 @@ HOMEPAGE= http://www.m17n.org/FLIM/
COMMENT= Emacs lisp library for message representation/encoding
DEPENDS+= apel>=9.22:../../devel/apel
+BUILD_DEPENDS+= qkc-*:../../converters/qkc
.include "../../mk/emacs.mk"
.if ${EMACS_FLAVOR} == "emacs"
ALL_TARGET= elc
INSTALL_TARGET= install
-#PLIST_SRC= ${PKGDIR}/PLIST.emacs
.else # ${EMACS_FLAVOR} == "xemacs"
ALL_TARGET= package
INSTALL_TARGET= install-package
-#PLIST_SRC= ${PKGDIR}/PLIST.xemacs
MAKEFLAGS+= PACKAGEDIR=${EMACS_LISPPREX:C|/lisp$||}
.endif
+INFO_FILES= mime-en.info mime-ja.info
+
+pre-build:
+ ${RM} -f ${WRKSRC}/mime-*.info
+ ${LOCALBASE}/bin/qkc -eu ${WRKSRC}/mime-*.texi
+ cd ${WRKSRC} && ${MAKEINFO} --no-validate --no-split mime-en.texi
+ cd ${WRKSRC} && ${MAKEINFO} --no-validate --no-split mime-ja.texi
+
+pre-install:
+ ${INSTALL_DATA} ${WRKSRC}/mime-*.info ${PREFIX}/info
+
+.include "../../mk/texinfo.mk"
.include "../../mk/bsd.pkg.mk"