openbsd-ports/databases/py-mysql/Makefile

38 lines
795 B
Makefile
Raw Normal View History

2013-03-10 22:52:04 -04:00
# $OpenBSD: Makefile,v 1.42 2013/03/11 02:52:07 espie Exp $
SHARED_ONLY = Yes
COMMENT = Python interface to MySQL
MODPY_EGG_VERSION = 1.2.3
DISTNAME = MySQL-python-${MODPY_EGG_VERSION}
PKGNAME = py-mysql-${MODPY_EGG_VERSION}
2011-11-04 04:16:23 -04:00
REVISION = 2
CATEGORIES = databases
HOMEPAGE = http://mysql-python.sourceforge.net/
MAINTAINER = Benoit Lecocq <benoit@openbsd.org>
# GPL
PERMIT_PACKAGE_CDROM= Yes
2011-11-04 04:16:23 -04:00
WANTLIB = crypto m pthread ssl z ${MODPY_WANTLIB}
WANTLIB += lib/mysql/mysqlclient_r>=14
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=mysql-python/}
MODULES = lang/python
LIB_DEPENDS = databases/mysql
2013-03-10 22:52:04 -04:00
NO_TEST = Yes
MODPY_SETUPTOOLS = Yes
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/py-mysql
${INSTALL_DATA} ${WRKBUILD}/doc/*.txt ${PREFIX}/share/doc/py-mysql/
.include <bsd.port.mk>