summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2006-11-14 14:29:10 +0000
committerjoerg <joerg@pkgsrc.org>2006-11-14 14:29:10 +0000
commit4c5d850d0f8f816b706d8f66d71c8051f35cc258 (patch)
treeff03df78bb61649fdd96f292748a866e3c25c0c6 /devel
parenta17961b25ceaad6c3c12453f4c9b5ab20c9fe213 (diff)
downloadpkgsrc-4c5d850d0f8f816b706d8f66d71c8051f35cc258.tar.gz
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 (limited to 'devel')
-rw-r--r--devel/libglade2/Makefile9
-rw-r--r--devel/libglade2/PLIST4
2 files changed, 6 insertions, 7 deletions
diff --git a/devel/libglade2/Makefile b/devel/libglade2/Makefile
index b09f880f9cb..02b2751017e 100644
--- a/devel/libglade2/Makefile
+++ b/devel/libglade2/Makefile
@@ -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 @@ MAINTAINER= jmmv@NetBSD.org
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.atk+= atk>=1.9.0
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 --git a/devel/libglade2/PLIST b/devel/libglade2/PLIST
index 8aa5e86560c..8891a5cc35d 100644
--- a/devel/libglade2/PLIST
+++ b/devel/libglade2/PLIST
@@ -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 @@ share/xml/libglade/glade-2.0.dtd
@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