2013-02-16 12:18:58 +01:00
|
|
|
# $NetBSD: Makefile,v 1.16 2013/02/16 11:23:41 wiz Exp $
|
2005-11-04 05:29:14 +01:00
|
|
|
#
|
|
|
|
|
2010-04-09 03:35:47 +02:00
|
|
|
.include "../../multimedia/ming/Makefile.common"
|
|
|
|
|
|
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
2013-02-16 12:18:58 +01:00
|
|
|
PKGREVISION= 1
|
2005-11-04 05:29:14 +01:00
|
|
|
CATEGORIES= multimedia
|
|
|
|
|
2006-09-13 17:54:58 +02:00
|
|
|
MAINTAINER= obache@NetBSD.org
|
2012-05-12 10:58:30 +02:00
|
|
|
HOMEPAGE= http://www.libming.org/
|
2005-11-04 05:29:14 +01:00
|
|
|
COMMENT= Python bindings for Ming library
|
2010-04-09 03:35:47 +02:00
|
|
|
LICENSE= gnu-lgpl-v2.1
|
2005-11-04 05:29:14 +01:00
|
|
|
|
|
|
|
PY_PATCHPLIST= yes
|
|
|
|
|
2010-04-09 03:35:47 +02:00
|
|
|
PYSETUPSUBDIR= py_ext
|
2005-11-04 05:29:14 +01:00
|
|
|
|
2006-09-13 17:54:58 +02:00
|
|
|
PYDISTUTILSPKG= yes
|
2005-11-04 05:29:14 +01:00
|
|
|
|
2011-03-22 09:24:09 +01:00
|
|
|
.include "../../devel/zlib/buildlink3.mk"
|
|
|
|
.include "../../graphics/png/buildlink3.mk"
|
2005-11-04 05:29:14 +01:00
|
|
|
.include "../../multimedia/ming/buildlink3.mk"
|
2011-03-22 09:24:09 +01:00
|
|
|
.include "../../mk/giflib.buildlink3.mk"
|
|
|
|
.if defined(GIFLIB_IMPLEMENTATION) && ${GIFLIB_IMPLEMENTATION} != "libungif"
|
|
|
|
SUBST_CLASSES+= giflib
|
|
|
|
SUBST_STAGE.giflib= pre-configure
|
|
|
|
SUBST_FILES.giflib= py_ext/setup.py
|
|
|
|
SUBST_SED.giflib= -e 's/ungif/gif/g'
|
|
|
|
.endif
|
2005-11-04 05:29:14 +01:00
|
|
|
.include "../../lang/python/extension.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|