summaryrefslogtreecommitdiffstats
path: root/x11-wm/metacity/Makefile
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2002-05-22 09:37:56 +0000
committersobomax <sobomax@FreeBSD.org>2002-05-22 09:37:56 +0000
commit93da91a57fd1e8a1dc83875d6f56c159100b8d81 (patch)
treebfebc9f8335c899916a614750193aaf91b9146fa /x11-wm/metacity/Makefile
parent872e8ab6b8417cf8d69f2838858957a773610e9d (diff)
downloadFreeBSD-ports-93da91a57fd1e8a1dc83875d6f56c159100b8d81.zip
FreeBSD-ports-93da91a57fd1e8a1dc83875d6f56c159100b8d81.tar.gz
Add metacity 2.3.377, a window manager for the adult in you. Metacity is going
to replace Sawfish in GNOME2 desktop. PR: 38397 Submitted by: Garrett Rooney <rooneg@electricjellyfish.net>
Diffstat (limited to 'x11-wm/metacity/Makefile')
-rw-r--r--x11-wm/metacity/Makefile37
1 files changed, 37 insertions, 0 deletions
diff --git a/x11-wm/metacity/Makefile b/x11-wm/metacity/Makefile
new file mode 100644
index 0000000..2a5d6718
--- /dev/null
+++ b/x11-wm/metacity/Makefile
@@ -0,0 +1,37 @@
+# New ports collection makefile for: metacity
+# Date created: 21 May 2002
+# Whom: Garrett Rooney <rooneg@electricjellyfish.net>
+#
+# $FreeBSD$
+#
+
+PORTNAME= metacity
+PORTVERSION= 2.3.377
+CATEGORIES= x11-wm
+MASTER_SITES= http://people.redhat.com/~hp/metacity/
+DIST_SUBDIR= gnome2
+
+MAINTAINER= gnome@FreeBSD.org
+
+LIB_DEPENDS= gtk-x11-2.0:${PORTSDIR}/x11-toolkits/gtk20 \
+ gconf-2:${PORTSDIR}/devel/gconf2
+
+USE_X_PREFIX= yes
+USE_GMAKE= yes
+USE_LIBTOOL= yes
+CONFIGURE_ARGS= --localstatedir=${PREFIX}/share/gnome \
+ --datadir=${PREFIX}/share/gnome \
+ --disable-gtk-doc
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LIBS="-L${LOCALBASE}/lib"
+
+pre-patch:
+ @${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
+ s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
+ @find ${WRKSRC} -name "Makefile.in*" | xargs ${PERL} -pi -e \
+ 's|\$\(datadir\)/gnome/|\$\(datadir\)/|g ; \
+ s|\$\(libdir\)/pkgconfig|\$\(prefix\)/libdata/pkgconfig|g ; \
+ s|\$\(libdir\)/bonobo/servers|\$\(prefix\)/libdata/bonobo/servers|g ; \
+ s|\$\(datadir\)/locale|\$\(prefix\)/share/locale|g'
+
+.include <bsd.port.mk>
OpenPOWER on IntegriCloud