freebsd-ports/databases/py-odbc/Makefile
Frederic Culot 430f42032a - Fix Makefile's header [1]
- Add LICENSE (MIT) [1]
- Pet portlint(1) by reformatting WWW link

PR:		ports/188242 [1]
Submitted by: 	Rober Kruus <rob.kruus@gmail.com> (maintainer)
2014-04-05 06:34:54 +00:00

33 lines
718 B
Makefile

# Created by: Robert Kruus <rob.kruus@gmail.com>
# $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
LICENSE= MIT
USES= zip
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>