pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/pango libdata/pango/pango.modules is a list of a...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3eccbfd0ab2e
branches:  trunk
changeset: 520962:3eccbfd0ab2e
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Fri Nov 03 11:27:56 2006 +0000

description:
libdata/pango/pango.modules is a list of all pango modules and can be
considered volatile as that. Build it at install time and remove it
during deinstallation. This also allows DESTDIR use, as it could find
the modules directly before. Ignore the duplicate run in the non-DESTDIR
case, as it is fast enough. Bump revision. Discussed with wiz.

diffstat:

 devel/pango/DEINSTALL |   9 +++++++++
 devel/pango/INSTALL   |  10 ++++++++++
 devel/pango/Makefile  |   6 +++++-
 devel/pango/PLIST     |   3 +--
 4 files changed, 25 insertions(+), 3 deletions(-)

diffs (73 lines):

diff -r 439d414d2ddd -r 3eccbfd0ab2e devel/pango/DEINSTALL
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/pango/DEINSTALL     Fri Nov 03 11:27:56 2006 +0000
@@ -0,0 +1,9 @@
+#!/bin/sh
+#
+# $NetBSD: DEINSTALL,v 1.1 2006/11/03 11:27:56 joerg Exp $
+
+case ${STAGE} in
+DEINSTALL)
+       ${RM} -f ${PREFIX}/libdata/pango/pango.modules
+       ;;
+esac
diff -r 439d414d2ddd -r 3eccbfd0ab2e devel/pango/INSTALL
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/pango/INSTALL       Fri Nov 03 11:27:56 2006 +0000
@@ -0,0 +1,10 @@
+#!/bin/sh
+#
+# $NetBSD: INSTALL,v 1.1 2006/11/03 11:27:56 joerg Exp $
+
+case ${STAGE} in
+POST-INSTALL)
+       ${MKDIR} ${PREFIX}/libdata/pango
+       ${PREFIX}/bin/pango-querymodules > ${PREFIX}/libdata/pango/pango.modules
+       ;;
+esac
diff -r 439d414d2ddd -r 3eccbfd0ab2e devel/pango/Makefile
--- a/devel/pango/Makefile      Fri Nov 03 11:24:42 2006 +0000
+++ b/devel/pango/Makefile      Fri Nov 03 11:27:56 2006 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.91 2006/10/14 08:36:16 wiz Exp $
+# $NetBSD: Makefile,v 1.92 2006/11/03 11:27:56 joerg Exp $
 
 DISTNAME=              pango-1.14.7
+PKGREVISION=           1
 CATEGORIES=            devel fonts
 MASTER_SITES=          ${MASTER_SITE_GNOME:=sources/pango/1.14/}
 EXTRACT_SUFX=          .tar.bz2
@@ -10,6 +11,7 @@
 COMMENT=               Library for layout and rendering of text
 
 PKG_INSTALLATION_TYPES=        overwrite pkgviews
+PKG_DESTDIR_SUPPORT=   user-destdir
 
 USE_TOOLS+=            gmake pkg-config
 GNU_CONFIGURE=         yes
@@ -35,6 +37,8 @@
 # Avoid an ICE in gcc2 on sparc64
 CONFIGURE_ENV+=                F77=${FALSE:Q}
 
+CHECK_FILES_SKIP+=     libdata/pango/pango.modules
+
 .include "options.mk"
 
 BUILDLINK_API_DEPENDS.glib2+=  glib2>=2.10.0
diff -r 439d414d2ddd -r 3eccbfd0ab2e devel/pango/PLIST
--- a/devel/pango/PLIST Fri Nov 03 11:24:42 2006 +0000
+++ b/devel/pango/PLIST Fri Nov 03 11:27:56 2006 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.31 2006/10/13 18:05:42 drochner Exp $
+@comment $NetBSD: PLIST,v 1.32 2006/11/03 11:27:56 joerg Exp $
 bin/pango-querymodules
 ${X11}bin/pango-view
 include/pango-1.0/pango/pango-attributes.h
@@ -53,7 +53,6 @@
 lib/pkgconfig/pangoft2.pc
 ${X11}lib/pkgconfig/pangox.pc
 ${X11}lib/pkgconfig/pangoxft.pc
-libdata/pango/pango.modules
 ${X11}libdata/pango/pangox.aliases
 man/man1/pango-querymodules.1
 share/gtk-doc/html/pango/PangoEngineLang.html



Home | Main Index | Thread Index | Old Index