619d50bc2f
file for another package (and breaking CHECK_FILES). Instead, instruct the user on how to merge the example configuration file into the true configuration file in a MESSAGE file. Also, fix the path to the kochi-ttf fonts. Bump the PKGREVISION.
37 lines
943 B
Makefile
37 lines
943 B
Makefile
# $NetBSD: Makefile,v 1.16 2006/06/20 15:50:46 jlam 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
|
|
|
|
WRKSRC= ${WRKDIR}
|
|
EXTRACT_ONLY= # empty
|
|
NO_CHECKSUM= yes
|
|
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= share/VFlib/2.24.2
|
|
|
|
do-configure:
|
|
${SED} -e "s,@KOCHI_TTF_PREFIX@,${KOCHI_TTF_PREFIX},g" \
|
|
${FILESDIR}/vfontcap > ${WRKSRC}/vfontcap
|
|
|
|
do-install:
|
|
${INSTALL_DATA} ${WRKSRC}/vfontcap \
|
|
${PREFIX}/${VFONTCAPDIR}/vfontcap.kochi-ttf
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|