mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-07 02:06:57 +00:00
c6476cad43
- Update to 3.0.7 [1] - Allow staging - Remove useless gmake - Use auto plist PR: ports/180580 [1] Submitted by: maintainer [1]
32 lines
685 B
Makefile
32 lines
685 B
Makefile
# Created by: April 15 2009
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= pyodbc
|
|
PORTVERSION= 3.0.7
|
|
CATEGORIES= databases python
|
|
MASTER_SITES= GOOGLE_CODE
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= rob.kruus@gmail.com
|
|
COMMENT= ODBC connections for python
|
|
|
|
USE_ZIP= yes
|
|
USE_PYTHON= yes
|
|
USE_PYDISTUTILS= easy_install
|
|
PYDISTUTILS_AUTOPLIST= yes
|
|
PYEASYINSTALL_ARCHDEP= yes
|
|
|
|
OPTIONS_DEFINE= UNIXODBC
|
|
OPTIONS_DEFAULT=UNIXODBC
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
.if ${PORT_OPTIONS:MUNIXODBC}
|
|
LIB_DEPENDS+= libodbc.so:${PORTSDIR}/databases/unixODBC
|
|
BUILD_DEPENDS+= unixODBC>=2.2.14_1:${PORTSDIR}/databases/unixODBC
|
|
.else
|
|
LIB_DEPENDS+= libiodbc.so:${PORTSDIR}/databases/libiodbc
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|