summaryrefslogtreecommitdiff
path: root/pkgtools/xpkgwedge
diff options
context:
space:
mode:
authorminskim <minskim>2004-06-15 02:27:10 +0000
committerminskim <minskim>2004-06-15 02:27:10 +0000
commit5f45ebcf8e0cd45f1d1670f77522c02aacd0445e (patch)
treea30f32c7a4819e28aec2521dc373e1437b9f0e01 /pkgtools/xpkgwedge
parent261c5be62f4feb79602c0b105630dd8120e4dc5d (diff)
downloadpkgsrc-5f45ebcf8e0cd45f1d1670f77522c02aacd0445e.tar.gz
Let xpkgwedge to create a symlink ${PREFIX}/bin/mkfontscale, which is
required to install fonts/jmk-fonts and fonts/sgi-fonts with recent X. Suggested by Kibum Han. Also add mkfontscale to CONFLICTS because mkfontscale installs bin/mkfontscale. Bump PKGVERSION to 1.11.
Diffstat (limited to 'pkgtools/xpkgwedge')
-rw-r--r--pkgtools/xpkgwedge/Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/pkgtools/xpkgwedge/Makefile b/pkgtools/xpkgwedge/Makefile
index ff692189592..4d5f1cb93ca 100644
--- a/pkgtools/xpkgwedge/Makefile
+++ b/pkgtools/xpkgwedge/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.50 2004/04/30 19:44:21 tv Exp $
+# $NetBSD: Makefile,v 1.51 2004/06/15 02:27:10 minskim Exp $
-DISTNAME= xpkgwedge-1.10
+DISTNAME= xpkgwedge-1.11
CATEGORIES= pkgtools devel x11
MASTER_SITES= # empty
DISTFILES= # empty
@@ -23,6 +23,10 @@ NO_CHECKSUM= # defined
PKG_SKIP_REASON+= "xpkgwedge is not needed when X11BASE is LOCALBASE"
.endif
+.if exists(${X11BASE}/bin/mkfontscale)
+CONFLICTS+= mkfontscale-[0-9]*
+.endif
+
USE_X11= YES
USE_PKGINSTALL= YES
DEINSTALL_EXTRA_TMPL+= ${.CURDIR}/DEINSTALL
@@ -32,7 +36,7 @@ INSTALLATION_DIRS= bin lib/X11/config
# FONT_PROGS are symlinked from ${X11BASE}/bin to ${PREFIX}/bin to allow
# ${PREFIX}/bin/${prog} to always work.
#
-FONT_PROGS= bdftopcf fstobdf mkfontdir
+FONT_PROGS= bdftopcf fstobdf mkfontdir mkfontscale
FILES_SUBST+= VIEWBASE=${VIEWBASE}
FILES_SUBST+= FONT_PROGS=${FONT_PROGS:Q}