2010-09-30 12:49:10 +02:00
|
|
|
# $NetBSD: Makefile,v 1.32 2010/09/30 10:49:15 obache Exp $
|
2000-02-26 19:45:48 +01:00
|
|
|
|
2009-09-22 15:09:30 +02:00
|
|
|
DISTNAME= MySQL-python-${DIST_VERSION}
|
|
|
|
PKGNAME= ${PYPKGPREFIX}-mysqldb-${DIST_VERSION:S/c/rc/}
|
2010-08-10 10:49:40 +02:00
|
|
|
DIST_VERSION= 1.2.3
|
2010-09-30 12:49:10 +02:00
|
|
|
PKGREVISION= 1
|
2004-07-22 11:15:59 +02:00
|
|
|
CATEGORIES= databases python
|
2002-01-29 15:39:38 +01:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=mysql-python/}
|
2000-02-26 19:45:48 +01:00
|
|
|
|
2003-07-17 23:21:03 +02:00
|
|
|
MAINTAINER= tsarna@NetBSD.org
|
2002-01-29 15:39:38 +01:00
|
|
|
HOMEPAGE= http://sourceforge.net/projects/mysql-python
|
2001-02-16 15:17:22 +01:00
|
|
|
COMMENT= MySQL interface for Python
|
2009-05-24 12:51:06 +02:00
|
|
|
LICENSE= gnu-gpl-v2
|
2000-02-26 19:45:48 +01:00
|
|
|
|
2009-09-22 15:09:30 +02:00
|
|
|
DEPENDS+= ${PYPKGPREFIX}-setuptools>=0.6c6:../../devel/py-setuptools
|
|
|
|
|
2008-06-12 04:14:13 +02:00
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
|
2002-01-29 15:39:38 +01:00
|
|
|
PYDISTUTILSPKG= yes
|
2002-01-19 18:06:23 +01:00
|
|
|
PY_PATCHPLIST= yes
|
2008-08-06 19:16:49 +02:00
|
|
|
PYSETUPINSTALLARGS= --single-version-externally-managed --record plist.txt
|
2009-09-22 15:09:30 +02:00
|
|
|
PLIST_SUBST+= DIST_VERSION=${DIST_VERSION} PYVERSSUFFIX=${PYVERSSUFFIX}
|
2002-01-19 18:06:23 +01:00
|
|
|
|
2008-04-25 21:47:58 +02:00
|
|
|
|
2004-10-29 07:59:23 +02:00
|
|
|
.include "../../mk/mysql.buildlink3.mk"
|
2000-02-26 19:45:48 +01:00
|
|
|
|
2008-08-06 19:16:49 +02:00
|
|
|
.include "../../lang/python/extension.mk"
|
2000-02-26 19:45:48 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|