blob: 6200cca52a9b4e375db3b2f6f90bbf9a570bfeb2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
# $NetBSD: Makefile,v 1.2 2002/06/10 02:25:03 shell Exp $
DISTNAME= pychecker-0.8.10
PKGNAME= ${PYPKGPREFIX}-checker-0.8.10
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=pychecker/}
MAINTAINER= shell@netbsd.org
HOMEPAGE= http://pychecker.sourceforge.net/
COMMENT= python code checker
PYDISTUTILSPKG= # defined
PYSETUP= setup.py.new
PLIST_SUBST+= PYPKGPREFIX=${PYPKGPREFIX}
PLIST_SUBST+= PYVERSSUFFIX=${PYVERSSUFFIX}
post-patch:
@${SED} -e "s|@PREFIX@|${PREFIX}|" \
-e "s|@PYPKGPREFIX@|${PYPKGPREFIX}|" \
<${WRKSRC}/setup.py > ${WRKSRC}/setup.py.new
.include "../../lang/python/extension.buildlink.mk"
.include "../../mk/bsd.pkg.mk"
|