pkgsrc/databases/py-mysqldb/Makefile

25 lines
748 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.10 2003/04/13 14:28:53 cjep Exp $
DISTNAME= MySQL-python-0.9.2
PKGNAME= ${PYPKGPREFIX}-mysqldb-0.9.2
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
2002-10-10 14:07:48 +02:00
USE_BUILDLINK2= yes
PYDISTUTILSPKG= yes
2002-01-19 18:06:23 +01:00
PY_PATCHPLIST= yes
post-patch:
2002-10-10 14:07:48 +02:00
${SED} -e "s|@MYSQLPREFIX@|${BUILDLINK_PREFIX.mysql-client}|" \
-e "s|@MYSQLRTPREFIX@|${BUILDLINK_PREFIX.mysql-client}|" \
<${WRKSRC}/setup.py >${WRKSRC}/setup.py.tmp
${MV} ${WRKSRC}/setup.py.tmp ${WRKSRC}/setup.py
2002-10-10 14:07:48 +02:00
.include "../../databases/mysql-client/buildlink2.mk"
.include "../../lang/python/extension.mk"
.include "../../mk/bsd.pkg.mk"