diff options
author | pav <pav@FreeBSD.org> | 2005-03-13 08:18:23 +0800 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2005-03-13 08:18:23 +0800 |
commit | 05086d74cf446968e8c24be8f95fc85d56dd75ab (patch) | |
tree | cefa215e5d1c3139473b354fcb53d7202fa7fd66 /devel/libglade2 | |
parent | e33ccda325281d3f72ed46be968040bbad60a613 (diff) | |
download | freebsd-ports-gnome-05086d74cf446968e8c24be8f95fc85d56dd75ab.tar.gz freebsd-ports-gnome-05086d74cf446968e8c24be8f95fc85d56dd75ab.tar.zst freebsd-ports-gnome-05086d74cf446968e8c24be8f95fc85d56dd75ab.zip |
- Let libglade2 handle lib/libglade directories instead of gnomehier
Diffstat (limited to 'devel/libglade2')
-rw-r--r-- | devel/libglade2/Makefile | 5 | ||||
-rw-r--r-- | devel/libglade2/pkg-plist | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/devel/libglade2/Makefile b/devel/libglade2/Makefile index fcbace52f556..2b48ba01ea96 100644 --- a/devel/libglade2/Makefile +++ b/devel/libglade2/Makefile @@ -7,7 +7,7 @@ PORTNAME= libglade2 PORTVERSION= 2.5.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= devel gnome MASTER_SITES= ${MASTER_SITE_GNOME} MASTER_SITE_SUBDIR= sources/${PORTNAME:S/2$//}/2.5 @@ -49,4 +49,7 @@ post-patch: ${WRKSRC}/configure .endif +post-install: + ${MKDIR} ${PREFIX}/lib/libglade/2.0 + .include <bsd.port.mk> diff --git a/devel/libglade2/pkg-plist b/devel/libglade2/pkg-plist index 588f41a86546..4e729bc8f6b9 100644 --- a/devel/libglade2/pkg-plist +++ b/devel/libglade2/pkg-plist @@ -31,8 +31,11 @@ share/doc/libglade/up.png share/xml/libglade/glade-2.0.dtd @unexec %%XMLCATALOG%% --noout --del %D/share/xml/libglade/glade-2.0.dtd %%CATALOG_PORTS_XML%% || /usr/bin/true @exec %%XMLCATALOG%% --noout --add "system" "http://glade.gnome.org/glade-2.0.dtd" %D/share/xml/libglade/glade-2.0.dtd %%CATALOG_PORTS_XML%% || /usr/bin/true +@exec mkdir -p %D/lib/libglade/2.0 @dirrm share/xml/libglade @dirrm share/doc/libglade @dirrm include/libglade-2.0/glade @dirrm include/libglade-2.0 +@dirrm lib/libglade/2.0 +@dirrm lib/libglade @unexec /bin/rmdir %D/share/xml 2>/dev/null || /usr/bin/true |