summaryrefslogtreecommitdiffstats
path: root/x11-toolkits/gtk20
diff options
context:
space:
mode:
Diffstat (limited to 'x11-toolkits/gtk20')
-rw-r--r--x11-toolkits/gtk20/Makefile4
-rw-r--r--x11-toolkits/gtk20/pkg-plist2
2 files changed, 6 insertions, 0 deletions
diff --git a/x11-toolkits/gtk20/Makefile b/x11-toolkits/gtk20/Makefile
index be8d646d2..45dd3c471 100644
--- a/x11-toolkits/gtk20/Makefile
+++ b/x11-toolkits/gtk20/Makefile
@@ -7,6 +7,7 @@
PORTNAME= gtk
PORTVERSION= 2.5.6
+PORTREVISION= 1
CATEGORIES= x11-toolkits
MASTER_SITES= ${MASTER_SITE_GNOME:S,%SUBDIR%,sources/gtk+/2.5,} \
ftp://ftp.gtk.org/pub/gtk/v2.5/ \
@@ -73,4 +74,7 @@ post-patch:
pre-build:
@${RM} -rf ${WRKSRC}/docs/gtk.info*
+post-install:
+ ${MKDIR} ${PREFIX}/lib/gtk-2.0/modules
+
.include <bsd.port.mk>
diff --git a/x11-toolkits/gtk20/pkg-plist b/x11-toolkits/gtk20/pkg-plist
index 5f0fde65e..6a44deb19 100644
--- a/x11-toolkits/gtk20/pkg-plist
+++ b/x11-toolkits/gtk20/pkg-plist
@@ -472,6 +472,7 @@ share/themes/Emacs/gtk-2.0-key/gtkrc
@dirrm share/themes/Default/gtk-2.0
@dirrm share/gtk-2.0/demo
@dirrm share/gtk-2.0
+@dirrm lib/gtk-2.0/%%GTK_VERSION%%/modules
@dirrm lib/gtk-2.0/%%GTK_VERSION%%/loaders
@dirrm lib/gtk-2.0/%%GTK_VERSION%%/immodules
@dirrm lib/gtk-2.0/%%GTK_VERSION%%/engines
@@ -483,5 +484,6 @@ share/themes/Emacs/gtk-2.0-key/gtkrc
@dirrm include/gtk-2.0/gdk
@dirrm include/gtk-2.0
@dirrm etc/gtk-2.0
+@exec /bin/mkdir -p %D/lib/gtk-2.0/modules
@unexec /bin/rmdir %D/share/themes/Default 2>/dev/null || /usr/bin/true
@unexec /bin/rmdir %D/share/themes 2>/dev/null || /usr/bin/true