blob: 69f054debc8fd600bfcdd3a7c742cd17484ff50c (
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
|
# $NetBSD: Makefile,v 1.18 2009/04/09 00:48:08 joerg Exp $
DISTNAME= vfontcap-kochi-0.0
PKGREVISION= 3
CATEGORIES= fonts x11 japanese
MASTER_SITES= # empty
DISTFILES= # empty
MAINTAINER= kei@NetBSD.org
COMMENT= Configuration file for VFlib to use kochi-ttf
DEPENDS+= ja-vflib-lib-[0-9]*:../../print/ja-vflib-lib
DEPENDS+= kochi-ttf-[0-9]*:../../fonts/kochi-ttf
PKG_DESTDIR_SUPPORT= user-destdir
WRKSRC= ${WRKDIR}
NO_BUILD= yes
EVAL_PREFIX+= KOCHI_TTF_PREFIX=kochi-ttf
VFONTCAPDIR= share/VFlib/2.24.2
FILES_SUBST+= VFONTCAPDIR=${VFONTCAPDIR}
MESSAGE_SUBST+= VFONTCAPDIR=${VFONTCAPDIR}
PLIST_SUBST+= VFONTCAPDIR=${VFONTCAPDIR}
INSTALLATION_DIRS= ${VFONTCAPDIR}
do-configure:
${SED} -e "s,@KOCHI_TTF_PREFIX@,${KOCHI_TTF_PREFIX},g" \
${FILESDIR}/vfontcap > ${WRKSRC}/vfontcap
do-install:
${INSTALL_DATA} ${WRKSRC}/vfontcap \
${DESTDIR}${PREFIX}/${VFONTCAPDIR}/vfontcap.kochi-ttf
.include "../../mk/bsd.pkg.mk"
|