pkgsrc/comms/py-gammu/Makefile
wiz aa67e11089 Mark packages as not ready for python-3.x where applicable;
either because they themselves are not ready or because a
dependency isn't. This is annotated by
PYTHON_VERSIONS_INCOMPATIBLE=  33 # not yet ported as of x.y.z
or
PYTHON_VERSIONS_INCOMPATIBLE=  33 # py-foo, py-bar
respectively, please use the same style for other packages,
and check during updates.

Use versioned_dependencies.mk where applicable.
Use REPLACE_PYTHON instead of handcoded alternatives, where applicable.
Reorder Makefile sections into standard order, where applicable.

Remove PYTHON_VERSIONS_INCLUDE_3X lines since that will be default
with the next commit.

Whitespace cleanups and other nits corrected, where necessary.
2014-01-25 10:29:56 +00:00

27 lines
741 B
Makefile

# $NetBSD: Makefile,v 1.4 2014/01/25 10:29:58 wiz Exp $
#
.include "../../comms/gammu/Makefile.common"
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
PKGREVISION= 1
COMMENT= Python bindings for gammu
DISTINFO_FILE= ${.CURDIR}/../../comms/gammu/distinfo
PATCHDIR= ${.CURDIR}/../../comms/gammu/patches
USE_TOOLS+= pkg-config
CONFLICTS= gammu<=1.24.0
PYSETUPSUBDIR= python
PYSETUPBUILDTARGET= build_ext
PYSETUPBUILDARGS= --gammu-incs=${BUILDLINK_PREFIX.gammu}/include/gammu
PYSETUPBUILDARGS+= --gammu-libs=${BUILDLINK_PREFIX.gammu}/lib
PYTHON_VERSIONS_INCOMPATIBLE= 33 # not yet ported as of 1.26.1
EGG_NAME= python_${DISTNAME}
.include "../../lang/python/distutils.mk"
.include "../../comms/gammu/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"