diff options
Diffstat (limited to 'databases/py-sqlalchemy06/Makefile')
-rw-r--r-- | databases/py-sqlalchemy06/Makefile | 89 |
1 files changed, 0 insertions, 89 deletions
diff --git a/databases/py-sqlalchemy06/Makefile b/databases/py-sqlalchemy06/Makefile deleted file mode 100644 index 0a215d25ffb6..000000000000 --- a/databases/py-sqlalchemy06/Makefile +++ /dev/null @@ -1,89 +0,0 @@ -# Ports collection makefile for: py-sqlalchemy -# Date created: 12 Auguest 2004 -# Whom: Dryice Dong Liu <dryice@dryice.name> -# -# $FreeBSD$ -# - -PORTNAME= sqlalchemy -PORTVERSION= 0.4.4 -PORTREVISION= 1 -CATEGORIES= databases python -MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \ - http://pypi.python.org/packages/source/S/SQLAlchemy/ \ - http://dryice.name/computer/FreeBSD/distfiles/ -MASTER_SITE_SUBDIR= sqlalchemy -PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} -DISTNAME= SQLAlchemy-${PORTVERSION} - -MAINTAINER= dryice@FreeBSD.org -COMMENT= A Python SQL toolkit and Object Relational Mapper - -USE_PYTHON= 2.3+ -PLIST_SUB+= PORTVERSION=${PORTVERSION} \ - PYTHONVERSION=${_PYTHON_VERSION} \ - EGG="SQLAlchemy==${PORTVERSION}" \ - EXAMPLEDIR=share/examples/${PORTNAME} -USE_PYDISTUTILS= yes -PYDISTUTILS_PKGNAME= SQLAlchemy -PYDISTUTILS_NOEGGINFO= yes - -BUILD_DEPENDS+= easy_install:${PORTSDIR}/devel/py-setuptools -# make sure we have it @deinstall time to remove the egg -RUN_DEPENDS+= easy_install:${PORTSDIR}/devel/py-setuptools - -# bypass infrastructure bug -OPTIONSFILE= ${PORT_DBDIR}/py-${PORTNAME}/options - -OPTIONS= FIREBIRD "support FireBird" off -OPTIONS+= MSSQL "support MS SQL Server" off -OPTIONS+= MYSQL "support MySql" on -OPTIONS+= POSTGRE "support PostGreSQL" on -OPTIONS+= SQLITE "support Sqlite" on - -.if !defined(NOPORTDOCS) -PORTDOCS= *.html *.css *.js -.endif - -PORTEXAMPLES= adjacencytree association collections \ - derived_attributes elementtree graphs pickle polymorph \ - poly_assoc sharding vertical - -.include <bsd.port.pre.mk> - -.if defined(WITH_FIREBIRD) -RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/kinterbasdb/__init__.py:${PORTSDIR}/databases/kinterbasdb -.endif - -.if defined(WITH_MSSQL) -RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/pymssql.py:${PORTSDIR}/databases/py-mssql -.endif - -.if !defined(WITHOUT_MYSQL) -RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/MySQLdb/__init__.py:${PORTSDIR}/databases/py-MySQLdb -.endif - -.if !defined(WITHOUT_POSTGRE) -RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/psycopg2/__init__.py:${PORTSDIR}/databases/py-psycopg2 -.endif - -.if !defined(WITHOUT_SQLITE) -RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/pysqlite2/__init__.py:${PORTSDIR}/databases/py-pysqlite23 -.endif - -PYALCHEMY_EGG= SQLAlchemy-${PORTVERSION}-py${PYTHON_VERSION:S/^python//}.egg - -post-install: -.if !defined(NOPORTDOCS) - ${MKDIR} ${DOCSDIR} -.for i in ${PORTDOCS} - ${INSTALL_DATA} ${WRKSRC}/doc/${i} ${DOCSDIR} -.endfor -.endif - - ${MKDIR} ${EXAMPLESDIR} -.for i in ${PORTEXAMPLES} - ${CP} -r ${WRKSRC}/examples/${i} ${EXAMPLESDIR} -.endfor - -.include <bsd.port.post.mk> |