35 lines
747 B
Makefile
35 lines
747 B
Makefile
# $OpenBSD: Makefile,v 1.32 2007/12/10 21:07:51 martynas Exp $
|
|
|
|
SHARED_ONLY= Yes
|
|
|
|
COMMENT= Python interface to MySQL
|
|
|
|
VERSION= 1.2.2
|
|
DISTNAME= MySQL-python-${VERSION}
|
|
PKGNAME= py-mysql-${VERSION}p1
|
|
CATEGORIES= databases
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=mysql-python/}
|
|
|
|
HOMEPAGE= http://mysql-python.sourceforge.net/
|
|
|
|
# GPL
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
WANTLIB= crypto m pthread ssl z
|
|
|
|
MODULES= lang/python
|
|
LIB_DEPENDS= lib/mysql/mysqlclient_r.>=14::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>
|