pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/emulators/suse91_fontconfig Add the build and install ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/322e4e54a230
branches:  trunk
changeset: 532584:322e4e54a230
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Thu Aug 23 20:43:42 2007 +0000

description:
Add the build and install targets to actually create and install the
local.conf file alluded to in the previous commit.

diffstat:

 emulators/suse91_fontconfig/Makefile |  12 +++++++++++-
 1 files changed, 11 insertions(+), 1 deletions(-)

diffs (24 lines):

diff -r 72c33958c06a -r 322e4e54a230 emulators/suse91_fontconfig/Makefile
--- a/emulators/suse91_fontconfig/Makefile      Thu Aug 23 20:42:32 2007 +0000
+++ b/emulators/suse91_fontconfig/Makefile      Thu Aug 23 20:43:42 2007 +0000
@@ -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 @@
 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"



Home | Main Index | Thread Index | Old Index