summaryrefslogtreecommitdiff
path: root/emulators
diff options
context:
space:
mode:
authorjlam <jlam>2007-08-23 20:43:42 +0000
committerjlam <jlam>2007-08-23 20:43:42 +0000
commit01b0d485e40162fbcd0988cac0091f679dab9794 (patch)
tree469528fbd5f3d03ca386dc4391d41402c461f780 /emulators
parent2d3a88268a27df455e960dd5952dcee6f8e723c3 (diff)
downloadpkgsrc-01b0d485e40162fbcd0988cac0091f679dab9794.tar.gz
Add the build and install targets to actually create and install the
local.conf file alluded to in the previous commit.
Diffstat (limited to 'emulators')
-rw-r--r--emulators/suse91_fontconfig/Makefile12
1 files changed, 11 insertions, 1 deletions
diff --git a/emulators/suse91_fontconfig/Makefile b/emulators/suse91_fontconfig/Makefile
index 379b0f04e6e..ec12590448f 100644
--- a/emulators/suse91_fontconfig/Makefile
+++ b/emulators/suse91_fontconfig/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2007/08/23 20:42:32 jlam Exp $
+# $NetBSD: Makefile,v 1.10 2007/08/23 20:43:42 jlam Exp $
DISTNAME= suse_fontconfig-${SUSE_VERSION}
PKGREVISION= 4
@@ -10,4 +10,14 @@ COMMENT= Linux compatibility package for fontconfig
EMUL_MODULES.linux= expat freetype2
.include "../../emulators/suse91_linux/Makefile.common"
+
+do-build:
+ ${SETENV} LOCALBASE=${LOCALBASE:Q} X11PREFIX=${X11PREFIX:Q} \
+ ${AWK} -f ${FILESDIR}/generate.awk ${FILESDIR}/local.conf.in \
+ > ${WRKSRC}/local.conf
+
+post-install:
+ ${INSTALL_DATA} ${WRKSRC}/local.conf \
+ ${PREFIX}/${EMULSUBDIR}/etc/fonts/local.conf
+
.include "../../mk/bsd.pkg.mk"