From 29ed23e83736c49b0234beddfa3d180a3c51a9b8 Mon Sep 17 00:00:00 2001 From: marcus Date: Mon, 13 Dec 2004 00:59:03 +0000 Subject: Create an empty lib/gtk-2.0/modules directory to be used by other ports. --- x11-toolkits/gtk20/Makefile | 4 ++++ x11-toolkits/gtk20/pkg-plist | 2 ++ 2 files changed, 6 insertions(+) (limited to 'x11-toolkits/gtk20') diff --git a/x11-toolkits/gtk20/Makefile b/x11-toolkits/gtk20/Makefile index 027c7c7..785f223 100644 --- a/x11-toolkits/gtk20/Makefile +++ b/x11-toolkits/gtk20/Makefile @@ -7,6 +7,7 @@ PORTNAME= gtk PORTVERSION= 2.4.14 +PORTREVISION= 1 CATEGORIES= x11-toolkits MASTER_SITES= ${MASTER_SITE_GNOME:S,%SUBDIR%,sources/gtk+/2.4,} \ ftp://ftp.gtk.org/pub/gtk/v2.3/ \ @@ -74,4 +75,7 @@ post-patch: pre-build: @${RM} -rf ${WRKSRC}/docs/gtk.info* +post-install: + ${MKDIR} ${PREFIX}/lib/gtk-2.0/modules + .include diff --git a/x11-toolkits/gtk20/pkg-plist b/x11-toolkits/gtk20/pkg-plist index cbc36d6..067be72 100644 --- a/x11-toolkits/gtk20/pkg-plist +++ b/x11-toolkits/gtk20/pkg-plist @@ -454,6 +454,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%% @@ -464,5 +465,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 -- cgit v1.1