summaryrefslogtreecommitdiff
path: root/fonts/vfontcap-kochi/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'fonts/vfontcap-kochi/Makefile')
-rw-r--r--fonts/vfontcap-kochi/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/fonts/vfontcap-kochi/Makefile b/fonts/vfontcap-kochi/Makefile
index 6e8b9a5668a..70904c28cc8 100644
--- a/fonts/vfontcap-kochi/Makefile
+++ b/fonts/vfontcap-kochi/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2003/07/30 10:41:23 jmmv Exp $
+# $NetBSD: Makefile,v 1.6 2003/08/20 04:49:28 kei Exp $
DISTNAME= vfontcap-kochi-0.0
WRKSRC= ${WRKDIR}
@@ -9,12 +9,13 @@ DISTFILES= # empty
MAINTAINER= kei@NetBSD.org
COMMENT= Configuration file for VFlib to use kochi-ttf
-DEPENDS+= ja-vflib-lib-*:../../print/ja-vflib-lib
-DEPENDS+= kochi-ttf-*:../../fonts/kochi-ttf
+DEPENDS+= ja-vflib-lib-[0-9]*:../../print/ja-vflib-lib
+DEPENDS+= kochi-ttf-[0-9]*:../../fonts/kochi-ttf
EXTRACT_ONLY= # empty
NO_CHECKSUM= YES
NO_BUILD= YES
+USE_X11= YES # kochi font defines this as well.
USE_PKGINSTALL= YES
@@ -22,7 +23,8 @@ VFONTCAPDIR= ${PREFIX}/share/VFlib/2.24.2
FILES_SUBST+= VFONTCAPDIR=${VFONTCAPDIR}
do-configure:
- ${CP} ${FILESDIR}/vfontcap ${WRKSRC}
+ ${SED} -e 's,@X11PREFIX@,${X11PREFIX},g' ${FILESDIR}/vfontcap \
+ > ${WRKSRC}/vfontcap
do-install:
${INSTALL_DATA} ${WRKDIR}/vfontcap ${VFONTCAPDIR}