use OSREV in PLIST/SUBST_VARS to handle 5.3. bump.

This commit is contained in:
sthen 2013-02-02 10:35:24 +00:00
parent 4f75e7dc04
commit 7828965ecc
2 changed files with 5 additions and 3 deletions

View File

@ -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

View File

@ -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