diff options
author | wen <wen@FreeBSD.org> | 2012-10-24 14:08:13 +0800 |
---|---|---|
committer | wen <wen@FreeBSD.org> | 2012-10-24 14:08:13 +0800 |
commit | f6f04dcb58a81a438936cfd9c69fcd0c3b53314f (patch) | |
tree | dcf9015253dadcfbd22a8276a06710b271714d54 /databases/py-sqlobject | |
parent | 6daf68c9fccef65cf3a83a92196753ad46b34614 (diff) | |
download | freebsd-ports-gnome-f6f04dcb58a81a438936cfd9c69fcd0c3b53314f.tar.gz freebsd-ports-gnome-f6f04dcb58a81a438936cfd9c69fcd0c3b53314f.tar.zst freebsd-ports-gnome-f6f04dcb58a81a438936cfd9c69fcd0c3b53314f.zip |
- Update to 1.3.2
- Trim Makefile headers
- Convert to optionsNG
Feature safe: yes
Diffstat (limited to 'databases/py-sqlobject')
-rw-r--r-- | databases/py-sqlobject/Makefile | 43 | ||||
-rw-r--r-- | databases/py-sqlobject/distinfo | 4 |
2 files changed, 22 insertions, 25 deletions
diff --git a/databases/py-sqlobject/Makefile b/databases/py-sqlobject/Makefile index 70115897a43b..20adc0a8ee5a 100644 --- a/databases/py-sqlobject/Makefile +++ b/databases/py-sqlobject/Makefile @@ -1,12 +1,8 @@ -# Ports collection makefile for: py-sqlobject -# Date created: 24 June 2004 -# Whom: "Choe, Cheng-Dae" whitekid -# +# Created by: "Choe, Cheng-Dae" whitekid # $FreeBSD$ -# PORTNAME= sqlobject -PORTVERSION= 1.3.1 +PORTVERSION= 1.3.2 CATEGORIES= databases python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -23,50 +19,51 @@ USE_PYDISTUTILS= easy_install PYDISTUTILS_PKGNAME= SQLObject PYDISTUTILS_NOEGGINFO= yes -PORTDOCS= * - -OPTIONS= MYSQL "MySQL supports" off \ - PGSQL "PostgreSQL Supports" off \ - SQLITE "SQLite Supports" off \ - MSSQL "MSSQL Supports" off \ - FIREBIRD "FireBird Supports" Off \ - SYBASE "Sybase Supports" Off +OPTIONS_DEFINE= MYSQL PGSQL SQLITE MSSQL FIREBIRD SYBASE +SYBASE_DESC= sybase support # bypass infrastructure bug OPTIONSFILE= ${PORT_DBDIR}/py-${PORTNAME}/options -.include <bsd.port.pre.mk> -.if defined(WITH_MYSQL) +PORTDOCS= * +.if empty(PORT_OPTIONS:MDOCS) +PLIST_SUB+= PORTDOCS="@comment " +.else +PLIST_SUB+= PORTDOCS="" +.endif + +.include <bsd.port.options.mk> +.if ${PORT_OPTIONS:MMYSQL} RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}MySQLdb>=0:${PORTSDIR}/databases/py-MySQLdb .endif -.if defined(WITH_PGSQL) +.if ${PORT_OPTIONS:MPGSQL} RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/psycopg2/__init__.py:${PORTSDIR}/databases/py-psycopg2 .endif -.if defined(WITH_SQLITE) +.if ${PORT_OPTIONS:MSQLITE} RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/_sqlite3.so:${PORTSDIR}/databases/py-sqlite3 .endif -.if defined(WITH_MSSQL) +.if ${PORT_OPTIONS:MMSSQL} RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/pymssql.py:${PORTSDIR}/databases/py-mssql .endif -.if defined(WITH_FIREBIRD) +.if ${PORT_OPTIONS:MFIREBIRD} RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}kinterbasdb>=3.2:${PORTSDIR}/databases/kinterbasdb .endif -.if defined(WITH_SYBASE) +.if ${PORT_OPTIONS:MSYBASE} RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}sybase>=0.37:${PORTSDIR}/databases/py-sybase .endif # currently MaxDB(SAP), ADODB are not supported post-install: -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${DOCSDIR} ${INSTALL_MAN} ${WRKSRC}/README.txt ${DOCSDIR} ${CP} -r ${WRKSRC}/docs/* ${DOCSDIR} .endif -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/databases/py-sqlobject/distinfo b/databases/py-sqlobject/distinfo index 7d94302c45f0..9bfc174a486b 100644 --- a/databases/py-sqlobject/distinfo +++ b/databases/py-sqlobject/distinfo @@ -1,2 +1,2 @@ -SHA256 (SQLObject-1.3.1.tar.gz) = a3a33eb6fb2c683c8a379f5a51a45505b8c4b2153b61114a4708f868366abcb3 -SIZE (SQLObject-1.3.1.tar.gz) = 261767 +SHA256 (SQLObject-1.3.2.tar.gz) = f45ab1ef285b32e83732d5a2539245353fcf89e107e087713cb1e2f0aaeb0b89 +SIZE (SQLObject-1.3.2.tar.gz) = 261984 |