summaryrefslogtreecommitdiffstats
path: root/x11-toolkits/gtk20
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2004-12-13 09:16:33 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2004-12-13 09:16:33 +0800
commit239fc8ae0d737ab1116173971927aed03eae84b8 (patch)
treecf799db018cc572b081f36c394812e1fae294c60 /x11-toolkits/gtk20
parent1add7c6eaa973c80c21d82796323360ca65c8431 (diff)
downloadmarcuscom-ports-239fc8ae0d737ab1116173971927aed03eae84b8.tar
marcuscom-ports-239fc8ae0d737ab1116173971927aed03eae84b8.tar.gz
marcuscom-ports-239fc8ae0d737ab1116173971927aed03eae84b8.tar.bz2
marcuscom-ports-239fc8ae0d737ab1116173971927aed03eae84b8.tar.lz
marcuscom-ports-239fc8ae0d737ab1116173971927aed03eae84b8.tar.xz
marcuscom-ports-239fc8ae0d737ab1116173971927aed03eae84b8.tar.zst
marcuscom-ports-239fc8ae0d737ab1116173971927aed03eae84b8.zip
Create a lib/gtk-2.0/modules directory for use by other ports.
Obtained from: FreeBSD ports tree git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@3240 df743ca5-7f9a-e211-a948-0013205c9059
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