pkgsrc/comms/py-gammu/Makefile

26 lines
729 B
Makefile

# $NetBSD: Makefile,v 1.6 2014/11/23 10:06:41 mef Exp $
#
.include "../../comms/gammu/Makefile.common"
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
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 34 # 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"