Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Apr 2014 09:35:08 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r351784 - head/x11-toolkits/py-gnome2
Message-ID:  <201404220935.s3M9Z8r4042661@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Tue Apr 22 09:35:08 2014
New Revision: 351784
URL: http://svnweb.freebsd.org/changeset/ports/351784
QAT: https://qat.redports.org/buildarchive/r351784/

Log:
  Support stage
  respect EXAMPLES

Modified:
  head/x11-toolkits/py-gnome2/Makefile
  head/x11-toolkits/py-gnome2/pkg-plist

Modified: head/x11-toolkits/py-gnome2/Makefile
==============================================================================
--- head/x11-toolkits/py-gnome2/Makefile	Tue Apr 22 09:30:25 2014	(r351783)
+++ head/x11-toolkits/py-gnome2/Makefile	Tue Apr 22 09:35:08 2014	(r351784)
@@ -4,7 +4,7 @@
 
 PORTNAME=	gnome
 PORTVERSION=	2.28.1
-PORTREVISION=	3
+PORTREVISION=	4
 CATEGORIES=	x11-toolkits python gnome
 MASTER_SITES=	GNOME
 MASTER_SITE_SUBDIR=	sources/gnome-python/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}
@@ -15,35 +15,30 @@ DIST_SUBDIR=	gnome2
 MAINTAINER=	gnome@FreeBSD.org
 COMMENT=	A set of Python bindings for GNOME 2
 
+OPTIONS_DEFINE=	EXAMPLES
+
+OPTIONS_SUB=	yes
+
 BUILD_DEPENDS=	${PYTHON_SITELIBDIR}/ORBit.so:${PORTSDIR}/devel/py-orbit
 RUN_DEPENDS=	${PYTHON_SITELIBDIR}/ORBit.so:${PORTSDIR}/devel/py-orbit
 
-LATEST_LINK=	py-gnome2
-USE_BZIP2=	yes
 USE_PYTHON=	2
 USE_LDCONFIG=	yes
-USES=		gettext gmake pkgconfig
-USE_GNOME=	gnomehack libgnomeui pygtk2
+USES=		gettext gmake libtool pathfix pkgconfig tar:bzip2
+USE_GNOME=	libgnomeui pygtk2
 GNU_CONFIGURE=	yes
 CONFIGURE_ENV=	LIBS="-L${LOCALBASE}/lib" \
 		PTHREAD_LIBS="${PTHREAD_LIBS}"
 CPPFLAGS+=	-I${LOCALBASE}/include
+INSTALL_TARGET=	install-strip
 
 EG_SRC_DIR=	${WRKSRC}/examples
 EG_DST_DIR=	${PREFIX}/share/examples/py-gnome
 
-CONFLICTS=	py*-gnome-1*
-
-NO_STAGE=	yes
-.include <bsd.port.pre.mk>
-
-.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}
-	${FIND} ${EG_DST_DIR} -type d -print | ${XARGS} ${CHMOD} 0755
-	${FIND} ${EG_DST_DIR} -type f -print | ${XARGS} ${CHMOD} 0444
-.endif
+	@${MKDIR} ${STAGEDIR}${EG_DST_DIR}
+	cd ${EG_SRC_DIR}; ${PAX} -rw . ${STAGEDIR}${EG_DST_DIR}
+	${FIND} ${STAGEDIR}${EG_DST_DIR} -type d -print | ${XARGS} ${CHMOD} 0755
+	${FIND} ${STAGEDIR}${EG_DST_DIR} -type f -print | ${XARGS} ${CHMOD} 0444
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>

Modified: head/x11-toolkits/py-gnome2/pkg-plist
==============================================================================
--- head/x11-toolkits/py-gnome2/pkg-plist	Tue Apr 22 09:30:25 2014	(r351783)
+++ head/x11-toolkits/py-gnome2/pkg-plist	Tue Apr 22 09:35:08 2014	(r351784)
@@ -36,28 +36,28 @@ lib/gnome-vfs-2.0/modules/libpythonmetho
 %%PYTHON_SITELIBDIR%%/gtk-2.0/gnomevfs/gnomevfsbonobo.la
 %%PYTHON_SITELIBDIR%%/gtk-2.0/gnomevfs/gnomevfsbonobo.so
 libdata/pkgconfig/gnome-python-2.0.pc
-%%PORTDOCS%%share/examples/py-gnome/bonobo/bonobo-application.py
-%%PORTDOCS%%share/examples/py-gnome/bonobo/bonoboui/Bonobo_Sample_Hello.xml
-%%PORTDOCS%%share/examples/py-gnome/bonobo/bonoboui/hello.py
-%%PORTDOCS%%share/examples/py-gnome/bonobo/echo/README
-%%PORTDOCS%%share/examples/py-gnome/bonobo/echo/echo-client.py
-%%PORTDOCS%%share/examples/py-gnome/bonobo/unknown.py
-%%PORTDOCS%%share/examples/py-gnome/bug-buddy-integration.py
-%%PORTDOCS%%share/examples/py-gnome/canvas/canvas-curve.py
-%%PORTDOCS%%share/examples/py-gnome/canvas/canvas-example.py
-%%PORTDOCS%%share/examples/py-gnome/gconf/basic-gconf-app.py
-%%PORTDOCS%%share/examples/py-gnome/gconf/simple-controller.py
-%%PORTDOCS%%share/examples/py-gnome/gconf/simple-view.py
-%%PORTDOCS%%share/examples/py-gnome/popt/goption.py
-%%PORTDOCS%%share/examples/py-gnome/popt/popt.py
-%%PORTDOCS%%share/examples/py-gnome/vfs/async-xfer.py
-%%PORTDOCS%%share/examples/py-gnome/vfs/async.py
-%%PORTDOCS%%share/examples/py-gnome/vfs/cancellation.py
-%%PORTDOCS%%share/examples/py-gnome/vfs/pygvfsmethod/README
-%%PORTDOCS%%share/examples/py-gnome/vfs/pygvfsmethod/pyfs.conf
-%%PORTDOCS%%share/examples/py-gnome/vfs/pygvfsmethod/pyfs.py
-%%PORTDOCS%%share/examples/py-gnome/vfs/shell.py
-%%PORTDOCS%%share/examples/py-gnome/vfs/sync-xfer.py
+%%EXAMPLES%%share/examples/py-gnome/bonobo/bonobo-application.py
+%%EXAMPLES%%share/examples/py-gnome/bonobo/bonoboui/Bonobo_Sample_Hello.xml
+%%EXAMPLES%%share/examples/py-gnome/bonobo/bonoboui/hello.py
+%%EXAMPLES%%share/examples/py-gnome/bonobo/echo/README
+%%EXAMPLES%%share/examples/py-gnome/bonobo/echo/echo-client.py
+%%EXAMPLES%%share/examples/py-gnome/bonobo/unknown.py
+%%EXAMPLES%%share/examples/py-gnome/bug-buddy-integration.py
+%%EXAMPLES%%share/examples/py-gnome/canvas/canvas-curve.py
+%%EXAMPLES%%share/examples/py-gnome/canvas/canvas-example.py
+%%EXAMPLES%%share/examples/py-gnome/gconf/basic-gconf-app.py
+%%EXAMPLES%%share/examples/py-gnome/gconf/simple-controller.py
+%%EXAMPLES%%share/examples/py-gnome/gconf/simple-view.py
+%%EXAMPLES%%share/examples/py-gnome/popt/goption.py
+%%EXAMPLES%%share/examples/py-gnome/popt/popt.py
+%%EXAMPLES%%share/examples/py-gnome/vfs/async-xfer.py
+%%EXAMPLES%%share/examples/py-gnome/vfs/async.py
+%%EXAMPLES%%share/examples/py-gnome/vfs/cancellation.py
+%%EXAMPLES%%share/examples/py-gnome/vfs/pygvfsmethod/README
+%%EXAMPLES%%share/examples/py-gnome/vfs/pygvfsmethod/pyfs.conf
+%%EXAMPLES%%share/examples/py-gnome/vfs/pygvfsmethod/pyfs.py
+%%EXAMPLES%%share/examples/py-gnome/vfs/shell.py
+%%EXAMPLES%%share/examples/py-gnome/vfs/sync-xfer.py
 share/gtk-doc/html/pygnomevfs/class-gnomevfs-context.html
 share/gtk-doc/html/pygnomevfs/class-gnomevfs-directoryhandle.html
 share/gtk-doc/html/pygnomevfs/class-gnomevfs-drive.html
@@ -90,15 +90,15 @@ share/pygtk/2.0/defs/ui.defs
 @dirrm share/gtk-doc/html/pygnomevfs
 @dirrmtry share/gtk-doc/html
 @dirrmtry share/gtk-doc
-%%PORTDOCS%%@dirrm share/examples/py-gnome/vfs/pygvfsmethod
-%%PORTDOCS%%@dirrm share/examples/py-gnome/vfs
-%%PORTDOCS%%@dirrm share/examples/py-gnome/popt
-%%PORTDOCS%%@dirrm share/examples/py-gnome/gconf
-%%PORTDOCS%%@dirrm share/examples/py-gnome/canvas
-%%PORTDOCS%%@dirrm share/examples/py-gnome/bonobo/echo
-%%PORTDOCS%%@dirrm share/examples/py-gnome/bonobo/bonoboui
-%%PORTDOCS%%@dirrm share/examples/py-gnome/bonobo
-%%PORTDOCS%%@dirrm share/examples/py-gnome
+%%EXAMPLES%%@dirrm share/examples/py-gnome/vfs/pygvfsmethod
+%%EXAMPLES%%@dirrm share/examples/py-gnome/vfs
+%%EXAMPLES%%@dirrm share/examples/py-gnome/popt
+%%EXAMPLES%%@dirrm share/examples/py-gnome/gconf
+%%EXAMPLES%%@dirrm share/examples/py-gnome/canvas
+%%EXAMPLES%%@dirrm share/examples/py-gnome/bonobo/echo
+%%EXAMPLES%%@dirrm share/examples/py-gnome/bonobo/bonoboui
+%%EXAMPLES%%@dirrm share/examples/py-gnome/bonobo
+%%EXAMPLES%%@dirrm share/examples/py-gnome
 @dirrm %%PYTHON_SITELIBDIR%%/gtk-2.0/gnomevfs
 @dirrm %%PYTHON_SITELIBDIR%%/gtk-2.0/gnome
 @dirrm %%PYTHON_SITELIBDIR%%/gtk-2.0/bonobo



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201404220935.s3M9Z8r4042661>