summaryrefslogtreecommitdiffstats
path: root/x11-wm
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2002-10-10 13:47:18 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2002-10-10 13:47:18 +0800
commitfaa6795b6542aa4a3938219520a39f33a72c9173 (patch)
treeaad02c2025d11c8a84597255304895187418b71e /x11-wm
parentbf7f56b6af3b2707fccafaf970c2cb2e041f599f (diff)
downloadmarcuscom-ports-faa6795b6542aa4a3938219520a39f33a72c9173.tar
marcuscom-ports-faa6795b6542aa4a3938219520a39f33a72c9173.tar.gz
marcuscom-ports-faa6795b6542aa4a3938219520a39f33a72c9173.tar.bz2
marcuscom-ports-faa6795b6542aa4a3938219520a39f33a72c9173.tar.lz
marcuscom-ports-faa6795b6542aa4a3938219520a39f33a72c9173.tar.xz
marcuscom-ports-faa6795b6542aa4a3938219520a39f33a72c9173.tar.zst
marcuscom-ports-faa6795b6542aa4a3938219520a39f33a72c9173.zip
Add metacity-setup.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@49 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'x11-wm')
-rw-r--r--x11-wm/metacity-setup/Makefile35
-rw-r--r--x11-wm/metacity-setup/distinfo1
-rw-r--r--x11-wm/metacity-setup/files/patch-src_callbacks.c30
-rw-r--r--x11-wm/metacity-setup/pkg-comment1
-rw-r--r--x11-wm/metacity-setup/pkg-descr3
-rw-r--r--x11-wm/metacity-setup/pkg-plist6
6 files changed, 76 insertions, 0 deletions
diff --git a/x11-wm/metacity-setup/Makefile b/x11-wm/metacity-setup/Makefile
new file mode 100644
index 000000000..8a2748b47
--- /dev/null
+++ b/x11-wm/metacity-setup/Makefile
@@ -0,0 +1,35 @@
+# New ports collection makefile for: metacity-setup
+# Date created: 23 May 2002
+# Whom: Joe Marcus Clarke <marcus@FreeBSD.org>
+#
+# $FreeBSD: ports/x11-wm/metacity-setup/Makefile,v 1.13 2002/08/27 22:12:32 marcus Exp $
+#
+
+PORTNAME= metacity-setup
+PORTVERSION= 0.7.1
+PORTREVISION= 1
+CATEGORIES= x11-wm
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= metacity-setup
+
+MAINTAINER= marcus@FreeBSD.org
+
+LIB_DEPENDS= gnomeui-2.0:${PORTSDIR}/x11-toolkits/libgnomeui
+
+USE_X_PREFIX= yes
+USE_GMAKE= yes
+USE_LIBTOOL= yes
+USE_GNOMENG= yes
+USE_GNOME= gnomeprefix gnomehack
+USE_REINPLACE= yes
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LIBS="-L${LOCALBASE}/lib"
+CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL}
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
+ s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
+ @${REINPLACE_CMD} -e 's|%%X11BASE%%|${X11BASE}|g' \
+ ${WRKSRC}/src/callbacks.c
+
+.include <bsd.port.mk>
diff --git a/x11-wm/metacity-setup/distinfo b/x11-wm/metacity-setup/distinfo
new file mode 100644
index 000000000..1d9aa1664
--- /dev/null
+++ b/x11-wm/metacity-setup/distinfo
@@ -0,0 +1 @@
+MD5 (metacity-setup-0.7.1.tar.gz) = e898a13ea95d38dcc1f9dba5dd03581f
diff --git a/x11-wm/metacity-setup/files/patch-src_callbacks.c b/x11-wm/metacity-setup/files/patch-src_callbacks.c
new file mode 100644
index 000000000..544e63e46
--- /dev/null
+++ b/x11-wm/metacity-setup/files/patch-src_callbacks.c
@@ -0,0 +1,30 @@
+--- src/callbacks.c.orig Tue Aug 27 15:30:54 2002
++++ src/callbacks.c Tue Aug 27 15:30:36 2002
+@@ -228,14 +228,25 @@
+
+ while ((filename =
+ g_dir_read_name (themeDirectory)) != NULL)
+- if (g_file_test
++ if ((g_file_test
+ (g_build_filename
+ (possibleThemeDirs[i], filename, NULL),
+ G_FILE_TEST_IS_DIR) &&
+ (g_file_test
+ (g_build_filename
+ (possibleThemeDirs[i], filename, "metacity-theme-1.xml", NULL),
+- G_FILE_TEST_IS_REGULAR)))
++ G_FILE_TEST_IS_REGULAR))) ||
++ ((g_file_test
++ (g_build_filename
++ (possibleThemeDirs[i], filename, NULL),
++ G_FILE_TEST_IS_DIR) &&
++ (g_file_test
++ (g_build_filename
++ (possibleThemeDirs[i], filename, "metacity-1", NULL), G_FILE_TEST_IS_DIR) &&
++ (g_file_test
++ (g_build_filename
++ (possibleThemeDirs[i], filename, "metacity-1", "metacity-theme-1.xml", NULL), G_FILE_TEST_IS_REGULAR))))))
++
+ {
+ g_ptr_array_add (themeNameHolder,
+ g_strdup (filename));
diff --git a/x11-wm/metacity-setup/pkg-comment b/x11-wm/metacity-setup/pkg-comment
new file mode 100644
index 000000000..9a1ff5825
--- /dev/null
+++ b/x11-wm/metacity-setup/pkg-comment
@@ -0,0 +1 @@
+A graphical configurator tool for the metacity window manager
diff --git a/x11-wm/metacity-setup/pkg-descr b/x11-wm/metacity-setup/pkg-descr
new file mode 100644
index 000000000..80fa9d593
--- /dev/null
+++ b/x11-wm/metacity-setup/pkg-descr
@@ -0,0 +1,3 @@
+A graphical setup tool for the metacity window manager.
+
+WWW: http://plastercast.tzo.com/~plastercast/Projects/
diff --git a/x11-wm/metacity-setup/pkg-plist b/x11-wm/metacity-setup/pkg-plist
new file mode 100644
index 000000000..6dab983dd
--- /dev/null
+++ b/x11-wm/metacity-setup/pkg-plist
@@ -0,0 +1,6 @@
+bin/metacity-setup
+share/gnome/control-center-2.0/capplets/metacity-setup.desktop
+share/gnome/metacity-setup/pixmaps/metacity-setup-icon.png
+share/gnome/pixmaps/metacity-setup-icon.png
+@dirrm share/gnome/metacity-setup/pixmaps
+@dirrm share/gnome/metacity-setup