2004-01-29 12:13:37 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.18 2004/01/29 17:13:37 sturm Exp $
|
|
|
|
|
|
|
|
NOT_FOR_ARCHS= ${NO_SHARED_ARCHS}
|
2001-04-18 13:47:05 -04:00
|
|
|
|
2002-09-15 06:54:19 -04:00
|
|
|
COMMENT= "python interface to MySQL"
|
2001-04-18 13:47:05 -04:00
|
|
|
|
2002-09-15 06:54:19 -04:00
|
|
|
VERSION= 0.9.2
|
|
|
|
DISTNAME= MySQL-python-${VERSION}
|
|
|
|
PKGNAME= py-mysql-${VERSION}
|
|
|
|
CATEGORIES= databases
|
2001-08-12 15:02:07 -04:00
|
|
|
|
2002-09-15 06:54:19 -04:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=mysql-python/}
|
2001-08-12 15:02:07 -04:00
|
|
|
|
2002-09-15 06:54:19 -04:00
|
|
|
HOMEPAGE= http://sourceforge.net/projects/mysql-python
|
2001-04-18 13:47:05 -04:00
|
|
|
|
2002-09-15 06:54:19 -04:00
|
|
|
MAINTAINER= Shell Hung <shell@openbsd.org>
|
2001-04-18 13:47:05 -04:00
|
|
|
|
2003-07-31 15:11:59 -04:00
|
|
|
# GPL
|
2001-04-18 13:47:05 -04:00
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
|
2003-07-31 15:11:59 -04:00
|
|
|
MODULES= python
|
2001-08-12 15:02:07 -04:00
|
|
|
|
2004-01-02 00:11:08 -05:00
|
|
|
LIB_DEPENDS= lib/mysql/mysqlclient.10::databases/mysql
|
2001-08-12 15:02:07 -04:00
|
|
|
|
2001-11-05 12:04:11 -05:00
|
|
|
NO_REGRESS= Yes
|
2001-08-12 15:02:07 -04:00
|
|
|
|
|
|
|
DOC_DIR= ${PREFIX}/share/doc/MySQL-python
|
2001-04-18 13:47:05 -04:00
|
|
|
|
2001-10-06 21:19:40 -04:00
|
|
|
do-configure:
|
|
|
|
@perl -i -pe 's|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/setup.py
|
|
|
|
|
2003-07-31 15:11:59 -04:00
|
|
|
post-install:
|
2001-04-18 13:47:05 -04:00
|
|
|
${INSTALL_DATA_DIR} ${DOC_DIR}
|
2003-07-31 15:11:59 -04:00
|
|
|
${INSTALL_DATA} ${WRKBUILD}/doc/*.html ${DOC_DIR}
|
2001-08-12 15:02:07 -04:00
|
|
|
|
2001-04-18 13:47:05 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|