summaryrefslogtreecommitdiff
path: root/emulators
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2007-08-23 20:43:42 +0000
committerjlam <jlam@pkgsrc.org>2007-08-23 20:43:42 +0000
commit2c24381f71fb62fc7dec6e306185368827005c32 (patch)
tree469528fbd5f3d03ca386dc4391d41402c461f780 /emulators
parenta34715535c10b0b8a6f0afd900bcaefa6b874b9e (diff)
downloadpkgsrc-2c24381f71fb62fc7dec6e306185368827005c32.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"