summaryrefslogtreecommitdiff
path: root/fonts/vfontcap-kochi
diff options
context:
space:
mode:
Diffstat (limited to 'fonts/vfontcap-kochi')
-rw-r--r--fonts/vfontcap-kochi/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/fonts/vfontcap-kochi/Makefile b/fonts/vfontcap-kochi/Makefile
index f0b936c2dcd..46d5aa87c3d 100644
--- a/fonts/vfontcap-kochi/Makefile
+++ b/fonts/vfontcap-kochi/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 2006/06/20 15:50:46 jlam Exp $
+# $NetBSD: Makefile,v 1.17 2008/03/03 20:17:13 jlam Exp $
DISTNAME= vfontcap-kochi-0.0
PKGREVISION= 3
@@ -12,6 +12,8 @@ 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}
EXTRACT_ONLY= # empty
NO_CHECKSUM= yes
@@ -24,7 +26,7 @@ FILES_SUBST+= VFONTCAPDIR=${VFONTCAPDIR}
MESSAGE_SUBST+= VFONTCAPDIR=${VFONTCAPDIR}
PLIST_SUBST+= VFONTCAPDIR=${VFONTCAPDIR}
-INSTALLATION_DIRS= share/VFlib/2.24.2
+INSTALLATION_DIRS= ${VFONTCAPDIR}
do-configure:
${SED} -e "s,@KOCHI_TTF_PREFIX@,${KOCHI_TTF_PREFIX},g" \
@@ -32,6 +34,6 @@ do-configure:
do-install:
${INSTALL_DATA} ${WRKSRC}/vfontcap \
- ${PREFIX}/${VFONTCAPDIR}/vfontcap.kochi-ttf
+ ${DESTDIR}${PREFIX}/${VFONTCAPDIR}/vfontcap.kochi-ttf
.include "../../mk/bsd.pkg.mk"