blob: eb179498026bb122d3b84db579a8809c1431082c (
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.7 2002/01/29 14:39:38 drochner Exp $
DISTNAME= MySQL-python-0.9.1
PKGNAME= ${PYPKGPREFIX}-mysqldb-0.9.1
CATEGORIES= databases
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=mysql-python/}
MAINTAINER= tsarna@netbsd.org
HOMEPAGE= http://sourceforge.net/projects/mysql-python
COMMENT= MySQL interface for Python
PYDISTUTILSPKG= yes
PY_PATCHPLIST= yes
post-patch:
${SED} -e "s|@MYSQLPREFIX@|${BUILDLINK_DIR}|" \
-e "s|@MYSQLRTPREFIX@|${BUILDLINK_PREFIX.mysql-client}|" \
<${WRKSRC}/setup.py >${WRKSRC}/setup.py.tmp
${MV} ${WRKSRC}/setup.py.tmp ${WRKSRC}/setup.py
.include "../../databases/mysql-client/buildlink.mk"
.include "../../lang/python/extension.buildlink.mk"
.include "../../mk/bsd.pkg.mk"
|