summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorjoerg <joerg>2006-11-03 11:27:56 +0000
committerjoerg <joerg>2006-11-03 11:27:56 +0000
commitbac770a2792841b5af245617a55ecede4e8d4c0b (patch)
tree0b19e8102079fcd22e1f9b10237ed808c6ad2ed2 /devel
parent6e148c4977b57f45c430aa33e0a72243c45d9b74 (diff)
downloadpkgsrc-bac770a2792841b5af245617a55ecede4e8d4c0b.tar.gz
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 (limited to 'devel')
-rw-r--r--devel/pango/DEINSTALL9
-rw-r--r--devel/pango/INSTALL10
-rw-r--r--devel/pango/Makefile6
-rw-r--r--devel/pango/PLIST3
4 files changed, 25 insertions, 3 deletions
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