summaryrefslogtreecommitdiff
path: root/devel/pango/INSTALL
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2006-11-03 11:27:56 +0000
committerjoerg <joerg@pkgsrc.org>2006-11-03 11:27:56 +0000
commit9462053961eb2c03fbf804b4947bb5b5dbb6c0ee (patch)
tree0b19e8102079fcd22e1f9b10237ed808c6ad2ed2 /devel/pango/INSTALL
parent10da8876d8d61cbe2c65ab4ff4be8e3b246a68a2 (diff)
downloadpkgsrc-9462053961eb2c03fbf804b4947bb5b5dbb6c0ee.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/pango/INSTALL')
-rw-r--r--devel/pango/INSTALL10
1 files changed, 10 insertions, 0 deletions
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