openbsd-ports/databases/py-odbc/Makefile

37 lines
646 B
Makefile
Raw Normal View History

2013-03-10 22:52:04 -04:00
# $OpenBSD: Makefile,v 1.9 2013/03/11 02:52:07 espie Exp $
SHARED_ONLY = Yes
COMMENT = ODBC bindings for Python
MODPY_EGG_VERSION=2.1.8
DISTNAME = pyodbc-${MODPY_EGG_VERSION}
2011-11-04 04:16:23 -04:00
REVISION = 2
PKGNAME = ${DISTNAME:S/py/py-/}
CATEGORIES = databases
HOMEPAGE = http://pyodbc.googlecode.com/
# MIT
PERMIT_PACKAGE_CDROM = Yes
2011-11-04 04:16:23 -04:00
WANTLIB += m stdc++ ${MODPY_WANTLIB}
MASTER_SITES = ${HOMEPAGE}files/
EXTRACT_SUFX = .zip
MODPY_SETUPTOOLS = Yes
MODULES = lang/python
LIB_DEPENDS = databases/iodbc
2010-11-06 18:50:02 -04:00
WANTLIB += iodbc
CFLAGS += -fPIC -I${LOCALBASE}/include -L${LOCALBASE}/lib
2013-03-10 22:52:04 -04:00
NO_TEST = Yes
post-extract:
chmod -R og-w ${WRKSRC}
.include <bsd.port.mk>