openbsd-ports/databases/py-mysql/Makefile
espie 2314c85f45 convert to new style depends
zap default spec that are not needed
convert libspecs as well
convert p* to REVISION.

No package changes
2010-11-15 00:22:45 +00:00

40 lines
846 B
Makefile

# $OpenBSD: Makefile,v 1.38 2010/11/15 00:22:53 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}
CATEGORIES = databases
HOMEPAGE = http://mysql-python.sourceforge.net/
MAINTAINER = Benoit Lecocq <benoit@openbsd.org>
# GPL
PERMIT_PACKAGE_FTP= Yes
PERMIT_PACKAGE_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
WANTLIB = crypto m pthread ssl z
WANTLIB += lib/mysql/mysqlclient_r>=14
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=mysql-python/}
MODULES = lang/python
LIB_DEPENDS = databases/mysql
NO_REGRESS = 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>