pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/sysutils/dbus-glib Install several header files needed...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/65955f3acfbb
branches:  trunk
changeset: 481777:65955f3acfbb
user:      jmmv <jmmv%pkgsrc.org@localhost>
date:      Tue Oct 12 08:30:46 2004 +0000

description:
Install several header files needed by the glib interface.
Bump PKGREVISION to 1.

diffstat:

 sysutils/dbus-glib/Makefile |  18 +++++++++++++-----
 sysutils/dbus-glib/PLIST    |   6 +++++-
 2 files changed, 18 insertions(+), 6 deletions(-)

diffs (51 lines):

diff -r 9ad716e7562a -r 65955f3acfbb sysutils/dbus-glib/Makefile
--- a/sysutils/dbus-glib/Makefile       Tue Oct 12 08:17:07 2004 +0000
+++ b/sysutils/dbus-glib/Makefile       Tue Oct 12 08:30:46 2004 +0000
@@ -1,19 +1,27 @@
-# $NetBSD: Makefile,v 1.1.1.1 2004/10/11 17:46:41 jmmv Exp $
+# $NetBSD: Makefile,v 1.2 2004/10/12 08:30:46 jmmv Exp $
 #
 
 DBUS_INTERFACE=        glib
-DBUS_DIRS=     glib tools
+DBUS_DIRS=     dbus glib tools
 
 .include "../../sysutils/dbus/Makefile.common"
 
-# We can't install from within the 'tools' directory automatically because
-# we'd get a lot of other utilities installed (overriding the ones in the
-# dbus package).  We install dbus-monitor by hand below.
+PKGREVISION=   1
+
+# We can't install from within the 'dbus' nor 'tools' directory automatically
+# because we'd get a lot of other stuff installed (overriding files in the
+# dbus package).
 INSTALL_DIRS=  ${WRKSRC}/glib
 
 INSTALLATION_DIRS=     bin lib/pkgconfig man/man1
 
+PRINT_PLIST_AWK+=      /^@dirrm include\/dbus-1.0\/dbus$$/ \
+                               { print "@comment in dbus: " $$0; next; }
+
 post-install:
+       ${INSTALL_DATA_DIR} ${PREFIX}/include/dbus-1.0/dbus
+       ${INSTALL_DATA} ${WRKSRC}/dbus/dbus-glib*.h \
+               ${PREFIX}/include/dbus-1.0/dbus
        ${INSTALL_DATA} ${WRKSRC}/dbus-glib-1.pc \
                ${PREFIX}/lib/pkgconfig/dbus-glib-1.pc
        cd ${WRKSRC}/tools && ${LIBTOOL} --mode=install \
diff -r 9ad716e7562a -r 65955f3acfbb sysutils/dbus-glib/PLIST
--- a/sysutils/dbus-glib/PLIST  Tue Oct 12 08:17:07 2004 +0000
+++ b/sysutils/dbus-glib/PLIST  Tue Oct 12 08:30:46 2004 +0000
@@ -1,6 +1,10 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2004/10/11 17:46:41 jmmv Exp $
+@comment $NetBSD: PLIST,v 1.2 2004/10/12 08:30:46 jmmv Exp $
 bin/dbus-glib-tool
 bin/dbus-monitor
+include/dbus-1.0/dbus/dbus-glib-error-enum.h
+include/dbus-1.0/dbus/dbus-glib-lowlevel.h
+include/dbus-1.0/dbus/dbus-glib.h
 lib/libdbus-glib-1.la
 lib/pkgconfig/dbus-glib-1.pc
 man/man1/dbus-monitor.1
+@comment in dbus: @dirrm include/dbus-1.0/dbus



Home | Main Index | Thread Index | Old Index