pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/libglade2 DESTDIR support. Use OWN_DIRS as it is...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f053a6bb0902
branches:  trunk
changeset: 521562:f053a6bb0902
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Tue Nov 14 14:29:10 2006 +0000

description:
DESTDIR support. Use OWN_DIRS as it is most likely a missing dependency
when file are still in the glade library directory, so complains at
deinstall time are ok. Bump revision for the latter. Discussed with jmmv
before EuroBSDCon.

diffstat:

 devel/libglade2/Makefile |  9 +++++----
 devel/libglade2/PLIST    |  4 +---
 2 files changed, 6 insertions(+), 7 deletions(-)

diffs (51 lines):

diff -r 3e10819e4fb1 -r f053a6bb0902 devel/libglade2/Makefile
--- a/devel/libglade2/Makefile  Tue Nov 14 14:26:46 2006 +0000
+++ b/devel/libglade2/Makefile  Tue Nov 14 14:29:10 2006 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.49 2006/10/04 21:35:59 wiz Exp $
+# $NetBSD: Makefile,v 1.50 2006/11/14 14:29:10 joerg Exp $
 #
 
 DISTNAME=              libglade-2.6.0
-PKGREVISION=           1
+PKGREVISION=           2
 PKGNAME=               ${DISTNAME:S/libglade/libglade2/}
 CATEGORIES=            devel gnome
 MASTER_SITES=          ${MASTER_SITE_GNOME:=sources/libglade/2.6/}
@@ -12,6 +12,8 @@
 HOMEPAGE=              http://www.jamesh.id.au/software/libglade/
 COMMENT=               Runtime interpreter for GLADE GUI files (v2)
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+
 USE_TOOLS+=            gmake msgfmt pkg-config
 GNU_CONFIGURE=         YES
 USE_LIBTOOL=           YES
@@ -26,8 +28,7 @@
 BUILDLINK_API_DEPENDS.glib2+=  glib2>=2.6.0
 BUILDLINK_API_DEPENDS.gtk2+=   gtk2+>=2.6.0
 
-post-install:
-       ${INSTALL_DATA_DIR} ${PREFIX}/lib/libglade/2.0
+OWN_DIRS+=     lib/libglade/2.0
 
 .include "../../devel/atk/buildlink3.mk"
 .include "../../devel/glib2/buildlink3.mk"
diff -r 3e10819e4fb1 -r f053a6bb0902 devel/libglade2/PLIST
--- a/devel/libglade2/PLIST     Tue Nov 14 14:26:46 2006 +0000
+++ b/devel/libglade2/PLIST     Tue Nov 14 14:29:10 2006 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.15 2006/08/10 14:11:04 drochner Exp $
+@comment $NetBSD: PLIST,v 1.16 2006/11/14 14:29:11 joerg Exp $
 include/libglade-2.0/glade/glade-build.h
 include/libglade-2.0/glade/glade-init.h
 include/libglade-2.0/glade/glade-parser.h
@@ -32,8 +32,6 @@
 @dirrm share/xml/libglade
 @comment in xmlcatmgr: @dirrm share/xml
 @dirrm share/gtk-doc/html/libglade
-@exec ${MKDIR} %D/lib/libglade/2.0
-@dirrm lib/libglade/2.0
 @dirrm lib/libglade
 @dirrm include/libglade-2.0/glade
 @dirrm include/libglade-2.0



Home | Main Index | Thread Index | Old Index