pkgsrc/fonts/vfontcap-kochi/Makefile
jlam 619d50bc2f Don't abuse the INSTALL and DEINSTALL scripts to replace the configuration
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.
2006-06-20 15:50:46 +00:00

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"