openbsd-ports/databases/py-mysql/Makefile

41 lines
839 B
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.18 2004/01/29 17:13:37 sturm Exp $
NOT_FOR_ARCHS= ${NO_SHARED_ARCHS}
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
2004-01-02 00:11:08 -05:00
LIB_DEPENDS= lib/mysql/mysqlclient.10::databases/mysql
2001-11-05 12:04:11 -05:00
NO_REGRESS= Yes
DOC_DIR= ${PREFIX}/share/doc/MySQL-python
2001-10-06 21:19:40 -04:00
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>