From 7828965ecc0aa5fd609fb9b3f64e9c95b099660e Mon Sep 17 00:00:00 2001 From: sthen Date: Sat, 2 Feb 2013 10:35:24 +0000 Subject: [PATCH] use OSREV in PLIST/SUBST_VARS to handle 5.3. bump. --- devel/py-gobject3/Makefile | 4 +++- devel/py-gobject3/pkg/PLIST | 4 ++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/devel/py-gobject3/Makefile b/devel/py-gobject3/Makefile index 701a17d4874..34a9e51f8eb 100644 --- a/devel/py-gobject3/Makefile +++ b/devel/py-gobject3/Makefile @@ -1,9 +1,10 @@ -# $OpenBSD: Makefile,v 1.14 2012/11/12 14:42:48 ajacoutot Exp $ +# $OpenBSD: Makefile,v 1.15 2013/02/02 10:35:24 sthen Exp $ COMMENT= Python bindings for glib2 gobject GNOME_PROJECT= pygobject GNOME_VERSION= 3.4.2 +REVISION= 0 MODPY_EGG_VERSION=${GNOME_VERSION} PKGNAME= py-gobject3-${GNOME_VERSION} @@ -35,6 +36,7 @@ MODULES= devel/gettext \ BUILD_DEPENDS= ${RUN_DEPENDS} RUN_DEPENDS= graphics/py-cairo LIB_DEPENDS= devel/gobject-introspection>=1.34.1.1 +SUBST_VARS+= OSREV CONFIGURE_STYLE=gnu CONFIGURE_ARGS= --enable-cairo diff --git a/devel/py-gobject3/pkg/PLIST b/devel/py-gobject3/pkg/PLIST index da08dfbe272..e8c54380b11 100644 --- a/devel/py-gobject3/pkg/PLIST +++ b/devel/py-gobject3/pkg/PLIST @@ -1,4 +1,4 @@ -@comment $OpenBSD: PLIST,v 1.5 2012/10/22 08:05:25 ajacoutot Exp $ +@comment $OpenBSD: PLIST,v 1.6 2013/02/02 10:35:24 sthen Exp $ @conflict py-gtk2-2.8.6* @conflict py-gobject-<2.28.6p2v0 include/pygobject-3.0/ @@ -76,4 +76,4 @@ lib/python${MODPY_VERSION}/site-packages/gi/repository/__init__.pyo lib/python${MODPY_VERSION}/site-packages/gi/types.py lib/python${MODPY_VERSION}/site-packages/gi/types.pyc lib/python${MODPY_VERSION}/site-packages/gi/types.pyo -lib/python${MODPY_VERSION}/site-packages/pygobject-${MODPY_EGG_VERSION}-py${MODPY_VERSION}-openbsd-5.2-${ARCH}.egg-info +lib/python${MODPY_VERSION}/site-packages/pygobject-${MODPY_EGG_VERSION}-py${MODPY_VERSION}-openbsd-${OSREV}-${ARCH}.egg-info