svn commit: r336578 - head/databases/py-sqlobject
William Grzybowski
wg at FreeBSD.org
Sun Dec 15 20:19:49 UTC 2013
Author: wg
Date: Sun Dec 15 20:19:48 2013
New Revision: 336578
URL: http://svnweb.freebsd.org/changeset/ports/336578
Log:
databases/py-sqlobject: stagify and minor changes
- Allow staging
- Switch distutils from easy_install
- Use auto plist
Deleted:
head/databases/py-sqlobject/pkg-plist
Modified:
head/databases/py-sqlobject/Makefile
Modified: head/databases/py-sqlobject/Makefile
==============================================================================
--- head/databases/py-sqlobject/Makefile Sun Dec 15 20:18:01 2013 (r336577)
+++ head/databases/py-sqlobject/Makefile Sun Dec 15 20:19:48 2013 (r336578)
@@ -15,25 +15,16 @@ BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}fo
RUN_DEPENDS:= ${BUILD_DEPENDS}
USE_PYTHON= yes
-USE_PYDISTUTILS= easy_install
-PYDISTUTILS_PKGNAME= SQLObject
-PYDISTUTILS_NOEGGINFO= yes
+USE_PYDISTUTILS= yes
+PYDISTUTILS_AUTOPLIST= yes
OPTIONS_DEFINE= MYSQL PGSQL SQLITE MSSQL FIREBIRD SYBASE
SYBASE_DESC= sybase support
-# bypass infrastructure bug
-OPTIONSFILE= ${PORT_DBDIR}/py-${PORTNAME}/options
-
PORTDOCS= *
-.if empty(PORT_OPTIONS:MDOCS)
-PLIST_SUB+= PORTDOCS="@comment "
-.else
-PLIST_SUB+= PORTDOCS=""
-.endif
-NO_STAGE= yes
.include <bsd.port.options.mk>
+
.if ${PORT_OPTIONS:MMYSQL}
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}MySQLdb>=0:${PORTSDIR}/databases/py-MySQLdb
.endif
@@ -61,10 +52,8 @@ RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}syb
# currently MaxDB(SAP), ADODB are not supported
post-install:
-.if ${PORT_OPTIONS:MDOCS}
- ${MKDIR} ${DOCSDIR}
- ${INSTALL_MAN} ${WRKSRC}/README.txt ${DOCSDIR}
- ${CP} -r ${WRKSRC}/docs/* ${DOCSDIR}
-.endif
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_MAN} ${WRKSRC}/README.txt ${STAGEDIR}${DOCSDIR}
+ (cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})
.include <bsd.port.mk>
More information about the svn-ports-head
mailing list