summaryrefslogtreecommitdiff
path: root/devel/flim/Makefile
blob: bea73aacd81d8a460dcdd8dac12b10ba0ebbf4a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# $NetBSD: Makefile,v 1.11 2003/07/17 21:30:29 grant Exp $

DISTNAME=	flim-1.14.5
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

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
.else   # ${EMACS_FLAVOR} == "xemacs"
ALL_TARGET=     package
INSTALL_TARGET= install-package
MAKEFLAGS+=     PACKAGEDIR=${EMACS_LISPPREFIX:C|/lisp$||}
.endif

USE_NEW_TEXINFO=	YES
USE_MAKEINFO=	YES
INFO_FILES=	mime-en.info mime-ja.info
TEXINFO_REQD=	4.5

pre-build:
	@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

pre-install:
	${INSTALL_DATA} ${WRKSRC}/mime-*.info ${PREFIX}/info

.include "../../mk/bsd.pkg.mk"