summaryrefslogtreecommitdiffstats
path: root/x11-toolkits/py-gnome-desktop/Makefile
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2007-04-08 02:34:14 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2007-04-08 02:34:14 +0800
commitd64f931d45119784f41145b5f2c6c90af02a543a (patch)
tree576174087d2d77eb1c9fce4471eb71ef1b20d916 /x11-toolkits/py-gnome-desktop/Makefile
parentc06a39862f912339843f1397fec4599506779ca8 (diff)
downloadmarcuscom-ports-d64f931d45119784f41145b5f2c6c90af02a543a.tar
marcuscom-ports-d64f931d45119784f41145b5f2c6c90af02a543a.tar.gz
marcuscom-ports-d64f931d45119784f41145b5f2c6c90af02a543a.tar.bz2
marcuscom-ports-d64f931d45119784f41145b5f2c6c90af02a543a.tar.lz
marcuscom-ports-d64f931d45119784f41145b5f2c6c90af02a543a.tar.xz
marcuscom-ports-d64f931d45119784f41145b5f2c6c90af02a543a.tar.zst
marcuscom-ports-d64f931d45119784f41145b5f2c6c90af02a543a.zip
Fix the build with the new metacity.
Submitted by: Pawel Worach <pawel.worach@gmail.com> git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@8598 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'x11-toolkits/py-gnome-desktop/Makefile')
-rw-r--r--x11-toolkits/py-gnome-desktop/Makefile62
1 files changed, 62 insertions, 0 deletions
diff --git a/x11-toolkits/py-gnome-desktop/Makefile b/x11-toolkits/py-gnome-desktop/Makefile
new file mode 100644
index 000000000..afe66097e
--- /dev/null
+++ b/x11-toolkits/py-gnome-desktop/Makefile
@@ -0,0 +1,62 @@
+# New ports collection makefile for: py-gnome-desktop
+# Date created: 20 January 2006
+# Whom: Joe Marcus Clarke <marcus@FreeBSD.org>
+#
+# $FreeBSD$
+# $MCom: ports/x11-toolkits/py-gnome-desktop/Makefile,v 1.58 2007/03/18 05:45:44 marcus Exp $
+#
+
+PORTNAME= gnome
+PORTVERSION= 2.18.0
+PORTREVISION= 2
+CATEGORIES= x11-toolkits python gnome
+MASTER_SITES= ${MASTER_SITE_GNOME}
+MASTER_SITE_SUBDIR= sources/gnome-python-desktop/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+PKGNAMESUFFIX= -desktop
+DISTNAME= gnome-python-desktop-${PORTVERSION}
+DIST_SUBDIR= gnome2
+
+MAINTAINER= gnome@FreeBSD.org
+COMMENT= A set of Python bindings used by modules in the GNOME Desktop
+
+BUILD_DEPENDS= bug-buddy:${PORTSDIR}/devel/bug-buddy
+LIB_DEPENDS= gtop-2.0.7:${PORTSDIR}/devel/libgtop \
+ totem-plparser.1:${PORTSDIR}/multimedia/totem \
+ gnome-media-profiles.0:${PORTSDIR}/audio/gnome-media \
+ gnome-keyring:${PORTSDIR}/security/gnome-keyring
+RUN_DEPENDS= bug-buddy:${PORTSDIR}/devel/bug-buddy
+
+USE_BZIP2= yes
+USE_GMAKE= yes
+USE_PYTHON= yes
+USE_GNOME= gnomehack libgnomeprintui gnomepanel gnomedesktop \
+ gtksourceview libwnck nautiluscdburner pygnome2 metacity
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS= --enable-metacity
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib"
+
+EG_SRC_DIR= ${WRKSRC}/examples
+EG_DST_DIR= ${PREFIX}/share/examples/py-gnome
+.if !defined(NOPORTDOCS)
+DOCSDIR= ${PREFIX}/share/doc/py-gnome-desktop
+.else
+DOCSDIR= ${WRKSRC}/share/doc/py-gnome-desktop
+.endif
+
+.include <bsd.port.pre.mk>
+
+post-patch:
+ @${FIND} ${WRKSRC}/docs -name Makefile.in | ${XARGS} ${REINPLACE_CMD} \
+ -e 's|^HTML_DIR =.*|HTML_DIR = ${DOCSDIR}|g'
+
+.if !defined(NOPORTDOCS)
+post-install:
+ ${MKDIR} ${EG_DST_DIR}
+ ${TAR} -C ${EG_SRC_DIR} -cf - . | ${TAR} -C ${EG_DST_DIR} -xf -
+ ${CHOWN} -R ${BINOWN}:${BINGRP} ${EG_DST_DIR}
+ ${CHMOD} -R go-w ${EG_DST_DIR}
+.endif
+
+.include <bsd.port.post.mk>