From e139069ef6b6c7c1cf568811accf929eacd66b3b Mon Sep 17 00:00:00 2001 From: joerg Date: Fri, 3 Nov 2006 11:27:56 +0000 Subject: 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. --- devel/pango/DEINSTALL | 9 +++++++++ devel/pango/INSTALL | 10 ++++++++++ devel/pango/Makefile | 6 +++++- devel/pango/PLIST | 3 +-- 4 files changed, 25 insertions(+), 3 deletions(-) create mode 100644 devel/pango/DEINSTALL create mode 100644 devel/pango/INSTALL (limited to 'devel') diff --git a/devel/pango/DEINSTALL b/devel/pango/DEINSTALL new file mode 100644 index 00000000000..b1d070c3781 --- /dev/null +++ b/devel/pango/DEINSTALL @@ -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 --git a/devel/pango/INSTALL b/devel/pango/INSTALL new file mode 100644 index 00000000000..ebc22f3576b --- /dev/null +++ b/devel/pango/INSTALL @@ -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 --git a/devel/pango/Makefile b/devel/pango/Makefile index 545177abf4c..04f3fbd629e 100644 --- a/devel/pango/Makefile +++ b/devel/pango/Makefile @@ -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 @@ HOMEPAGE= http://www.pango.org/ 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 @@ CONFIGURE_ARGS+= --with-qt=no # 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 --git a/devel/pango/PLIST b/devel/pango/PLIST index 8556ed0ea72..1985bab8499 100644 --- a/devel/pango/PLIST +++ b/devel/pango/PLIST @@ -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/pangocairo.pc 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 -- cgit v1.2.3