Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Oct 2012 06:08:14 +0000 (UTC)
From:      Wen Heping <wen@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r306336 - head/databases/py-sqlobject
Message-ID:  <201210240608.q9O68EWZ053336@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: wen
Date: Wed Oct 24 06:08:13 2012
New Revision: 306336
URL: http://svn.freebsd.org/changeset/ports/306336

Log:
  - Update to 1.3.2
  - Trim Makefile headers
  - Convert to optionsNG
  
  Feature safe:	yes

Modified:
  head/databases/py-sqlobject/Makefile
  head/databases/py-sqlobject/distinfo

Modified: head/databases/py-sqlobject/Makefile
==============================================================================
--- head/databases/py-sqlobject/Makefile	Wed Oct 24 05:42:06 2012	(r306335)
+++ head/databases/py-sqlobject/Makefile	Wed Oct 24 06:08:13 2012	(r306336)
@@ -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>

Modified: head/databases/py-sqlobject/distinfo
==============================================================================
--- head/databases/py-sqlobject/distinfo	Wed Oct 24 05:42:06 2012	(r306335)
+++ head/databases/py-sqlobject/distinfo	Wed Oct 24 06:08:13 2012	(r306336)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201210240608.q9O68EWZ053336>