openbsd-ports/databases/py-mysql/Makefile
sturm 239ae26a0f - simple conversions to use the new python module
- while here, remove WWW from DESCR

all work done by Xavier Santolaria <xavier@santolaria.net>
2003-07-31 19:11:59 +00:00

39 lines
823 B
Makefile

# $OpenBSD: Makefile,v 1.16 2003/07/31 19:12:00 sturm Exp $
COMMENT= "python interface to MySQL"
VERSION= 0.9.2
DISTNAME= MySQL-python-${VERSION}
PKGNAME= py-mysql-${VERSION}
CATEGORIES= databases
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=mysql-python/}
HOMEPAGE= http://sourceforge.net/projects/mysql-python
MAINTAINER= Shell Hung <shell@openbsd.org>
# GPL
PERMIT_PACKAGE_FTP= Yes
PERMIT_PACKAGE_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
MODULES= python
LIB_DEPENDS= lib/mysql/mysqlclient.10:mysql-client-3.23.*:databases/mysql
NO_REGRESS= Yes
DOC_DIR= ${PREFIX}/share/doc/MySQL-python
do-configure:
@perl -i -pe 's|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/setup.py
post-install:
${INSTALL_DATA_DIR} ${DOC_DIR}
${INSTALL_DATA} ${WRKBUILD}/doc/*.html ${DOC_DIR}
.include <bsd.port.mk>