| @@ -1,25 +1,34 @@ | | | @@ -1,25 +1,34 @@ |
1 | # $NetBSD: Makefile,v 1.10 2011/01/13 13:38:58 wiz Exp $ | | 1 | # $NetBSD: Makefile,v 1.11 2011/03/22 08:24:09 obache Exp $ |
2 | # | | 2 | # |
3 | | | 3 | |
4 | .include "../../multimedia/ming/Makefile.common" | | 4 | .include "../../multimedia/ming/Makefile.common" |
5 | | | 5 | |
6 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME} | | 6 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME} |
7 | PKGREVISION= 2 | | 7 | PKGREVISION= 3 |
8 | CATEGORIES= multimedia | | 8 | CATEGORIES= multimedia |
9 | | | 9 | |
10 | MAINTAINER= obache@NetBSD.org | | 10 | MAINTAINER= obache@NetBSD.org |
11 | HOMEPAGE= http://ming.sourceforge.net/ | | 11 | HOMEPAGE= http://ming.sourceforge.net/ |
12 | COMMENT= Python bindings for Ming library | | 12 | COMMENT= Python bindings for Ming library |
13 | LICENSE= gnu-lgpl-v2.1 | | 13 | LICENSE= gnu-lgpl-v2.1 |
14 | | | 14 | |
15 | PKG_DESTDIR_SUPPORT= user-destdir | | 15 | PKG_DESTDIR_SUPPORT= user-destdir |
16 | | | 16 | |
17 | PY_PATCHPLIST= yes | | 17 | PY_PATCHPLIST= yes |
18 | | | 18 | |
19 | PYSETUPSUBDIR= py_ext | | 19 | PYSETUPSUBDIR= py_ext |
20 | | | 20 | |
21 | PYDISTUTILSPKG= yes | | 21 | PYDISTUTILSPKG= yes |
22 | | | 22 | |
| | | 23 | .include "../../devel/zlib/buildlink3.mk" |
| | | 24 | .include "../../graphics/png/buildlink3.mk" |
23 | .include "../../multimedia/ming/buildlink3.mk" | | 25 | .include "../../multimedia/ming/buildlink3.mk" |
| | | 26 | .include "../../mk/giflib.buildlink3.mk" |
| | | 27 | .if defined(GIFLIB_IMPLEMENTATION) && ${GIFLIB_IMPLEMENTATION} != "libungif" |
| | | 28 | SUBST_CLASSES+= giflib |
| | | 29 | SUBST_STAGE.giflib= pre-configure |
| | | 30 | SUBST_FILES.giflib= py_ext/setup.py |
| | | 31 | SUBST_SED.giflib= -e 's/ungif/gif/g' |
| | | 32 | .endif |
24 | .include "../../lang/python/extension.mk" | | 33 | .include "../../lang/python/extension.mk" |
25 | .include "../../mk/bsd.pkg.mk" | | 34 | .include "../../mk/bsd.pkg.mk" |