summaryrefslogtreecommitdiff
path: root/comms/xtel
diff options
context:
space:
mode:
authordholland <dholland@pkgsrc.org>2011-10-09 03:53:31 +0000
committerdholland <dholland@pkgsrc.org>2011-10-09 03:53:31 +0000
commitbba44b779cadcb10da2a372f173ba8fbc4d523e6 (patch)
tree013787e0e9a8e7d32e29b32d9b311962c2b903df /comms/xtel
parentdae3222e24c4742be6a71e5cad97e2ef63360fdb (diff)
downloadpkgsrc-bba44b779cadcb10da2a372f173ba8fbc4d523e6.tar.gz
Fix native X build by cleaning up FONTDIR after imake. Ride previous bump.
Diffstat (limited to 'comms/xtel')
-rw-r--r--comms/xtel/Makefile13
1 files changed, 10 insertions, 3 deletions
diff --git a/comms/xtel/Makefile b/comms/xtel/Makefile
index e1705917d6b..32873bc7364 100644
--- a/comms/xtel/Makefile
+++ b/comms/xtel/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.23 2011/10/09 03:35:26 dholland Exp $
+# $NetBSD: Makefile,v 1.24 2011/10/09 03:53:31 dholland Exp $
#
DISTNAME= xtel-3.3.0
@@ -21,8 +21,15 @@ MAKE_JOBS_SAFE= no
USE_IMAKE= YES
USE_TOOLS+= mkfontdir bdftopcf
-FONTS_DIRS.x11= ${PREFIX}/lib/X11/fonts/xtel
-REQD_DIRS= ${PREFIX}/lib/X11/fonts/xtel
+FONTDIR= ${PREFIX}/lib/X11/fonts
+FONTS_DIRS.x11= ${FONTDIR}/xtel
+REQD_DIRS= ${FONTDIR}/xtel
+
+SUBST_CLASSES+= fontdir
+SUBST_STAGE.fontdir= post-configure
+SUBST_MESSAGE.fontdir= Fixing imake font directory.
+SUBST_FILES.fontdir= fonts/Makefile
+SUBST_SED.fontdir= 's,^[^A-Z]*FONTDIR =.*,FONTDIR = '${FONTDIR:Q},
INSTALLATION_DIRS= share/examples/xtel
INSTALL_MAKE_FLAGS= PPPDIR=${PREFIX}/share/examples/xtel