summaryrefslogtreecommitdiffstats
path: root/devel/py-gobject3/Makefile
diff options
context:
space:
mode:
authorkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2014-04-26 02:12:46 +0800
committerkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2014-04-26 02:12:46 +0800
commitdfc30719d9758d9e6b3e06963e4bf5175ae16825 (patch)
tree3c84ec64b1dd1a9a2618a75efa664a18033890bd /devel/py-gobject3/Makefile
parentd0d9889c61e774a633eda7b5bce0688ca50d1ac8 (diff)
downloadmarcuscom-ports-dfc30719d9758d9e6b3e06963e4bf5175ae16825.tar
marcuscom-ports-dfc30719d9758d9e6b3e06963e4bf5175ae16825.tar.gz
marcuscom-ports-dfc30719d9758d9e6b3e06963e4bf5175ae16825.tar.bz2
marcuscom-ports-dfc30719d9758d9e6b3e06963e4bf5175ae16825.tar.lz
marcuscom-ports-dfc30719d9758d9e6b3e06963e4bf5175ae16825.tar.xz
marcuscom-ports-dfc30719d9758d9e6b3e06963e4bf5175ae16825.tar.zst
marcuscom-ports-dfc30719d9758d9e6b3e06963e4bf5175ae16825.zip
Update MC-ports to GNOME 3.12.
Dragons beware! Although most of them should be sleeping. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@19571 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'devel/py-gobject3/Makefile')
-rw-r--r--devel/py-gobject3/Makefile49
1 files changed, 7 insertions, 42 deletions
diff --git a/devel/py-gobject3/Makefile b/devel/py-gobject3/Makefile
index 93ad0fad5..564f40904 100644
--- a/devel/py-gobject3/Makefile
+++ b/devel/py-gobject3/Makefile
@@ -2,51 +2,16 @@
# $FreeBSD$
# $MCom$
-PORTNAME= gobject
-PORTVERSION= 3.8.1
-CATEGORIES= devel python
-MASTER_SITES= GNOME
-MASTER_SITE_SUBDIR= sources/pygobject/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}
+PORTREVISION= 1
+
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
PKGNAMESUFFIX= 3
-DISTNAME= pygobject-${PORTVERSION}
-DIST_SUBDIR= gnome3
-
-MAINTAINER= gnome@FreeBSD.org
-COMMENT= Python bindings for GObject
-
-LICENSE= LGPL21
-LICENSE_FILE= ${WRKSRC}/COPYING
-
-BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/pycairo.pc:${PORTSDIR}/graphics/py-cairo
-LIB_DEPENDS= libffi.so:${PORTSDIR}/devel/libffi
-RUN_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/pycairo.pc:${PORTSDIR}/graphics/py-cairo
-
-USE_XZ= yes
-USES= gmake pathfix pkgconfig
-USE_GNOME= glib20 introspection
-USE_PYTHON= 2.6+
-GNU_CONFIGURE= yes
-USE_LDCONFIG= yes
-
-# this port doesn't work with py-gobject < 2.28.6_2, clungle below
-CONFLICTS= py*-gtk-0* py*-gobject-2.*.[0-6] py*-gobject-2.*.[7-9] \
- py*-gobject-2.*.6_1
-
-PLIST_SUB= PYTHON_VER="${PYTHON_VER}" ARCH=${ARCH} UNAME_R=${UNAME_R} \
- VERSION=${PORTVERSION}
-
-.include <bsd.port.pre.mk>
-UNAME_R!= ${UNAME} -r
+COMMENT= Python 2 bindings for GObject
-post-patch:
- @${REINPLACE_CMD} -e 's|SUBDIRS = examples gi tests|SUBDIRS = examples gi|g' \
- ${WRKSRC}/Makefile.in
+SLAVE_PORT= python2
-post-install:
- @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libpyglib-gi-2.0-${PYTHON_VERSION}.so.0
- @${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/gi/*.so
- @${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/gi/*/*.so
+MASTERDIR= ${.CURDIR}/../../devel/pygobject3-common
+PLIST= ${.CURDIR}/pkg-plist
-.include <bsd.port.post.mk>
+.include "${MASTERDIR}/Makefile"