6fbe8bd9ee
The find-prefix infrastructure was required in a pkgviews world where packages installed from pkgsrc could have different installation prefixes, and this was a way for a dependency prefix to be determined. Now that pkgviews has been removed there is no longer any need for the overhead of this infrastructure. Instead we use BUILDLINK_PREFIX.pkg for dependencies pulled in via buildlink, or LOCALBASE/PREFIX where the dependency is coming from pkgsrc. Provides a reasonable performance win due to the reduction of `pkg_info -qp` calls, some of which were redundant anyway as they were duplicating the same information provided by BUILDLINK_PREFIX.pkg.
33 lines
870 B
Makefile
33 lines
870 B
Makefile
# $NetBSD: Makefile,v 1.22 2015/11/25 12:50:15 jperkin Exp $
|
|
|
|
DISTNAME= vfontcap-kochi-0.0
|
|
PKGREVISION= 4
|
|
CATEGORIES= fonts x11 japanese
|
|
MASTER_SITES= # empty
|
|
DISTFILES= # empty
|
|
|
|
MAINTAINER= pkgsrc-users@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}
|
|
NO_BUILD= yes
|
|
|
|
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@,${LOCALBASE},g" \
|
|
${FILESDIR}/vfontcap > ${WRKSRC}/vfontcap
|
|
|
|
do-install:
|
|
${INSTALL_DATA} ${WRKSRC}/vfontcap \
|
|
${DESTDIR}${PREFIX}/${VFONTCAPDIR}/vfontcap.kochi-ttf
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|