aboutsummaryrefslogtreecommitdiff
path: root/databases/py-sqlalchemy/Makefile
diff options
context:
space:
mode:
authorPhilip M. Gollucci <pgollucci@FreeBSD.org>2010-10-12 06:09:48 +0000
committerPhilip M. Gollucci <pgollucci@FreeBSD.org>2010-10-12 06:09:48 +0000
commite8861b6a418a9494e0dd32a52aa9ce9dd8e277fd (patch)
tree7843845eadace9f4ec7c0896fc39e82fa911e922 /databases/py-sqlalchemy/Makefile
parent95be2d979199bda49466272c9c01c8dc4e62e9d6 (diff)
downloadports-e8861b6a418a9494e0dd32a52aa9ce9dd8e277fd.tar.gz
ports-e8861b6a418a9494e0dd32a52aa9ce9dd8e277fd.zip
Notes
Diffstat (limited to 'databases/py-sqlalchemy/Makefile')
-rw-r--r--databases/py-sqlalchemy/Makefile16
1 files changed, 9 insertions, 7 deletions
diff --git a/databases/py-sqlalchemy/Makefile b/databases/py-sqlalchemy/Makefile
index b2495c8fce00..6c6c55a414cb 100644
--- a/databases/py-sqlalchemy/Makefile
+++ b/databases/py-sqlalchemy/Makefile
@@ -6,18 +6,17 @@
#
PORTNAME= sqlalchemy
-PORTVERSION= 0.6.3
+PORTVERSION= 0.6.4
CATEGORIES= databases python
MASTER_SITES= SF \
CHEESESHOP
-
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= SQLAlchemy-${DISTVERSION}
MAINTAINER= nivit@FreeBSD.org
COMMENT= A Python SQL toolkit and Object Relational Mapper
-USE_PYTHON= 2.4+
+USE_PYTHON= yes
USE_PYDISTUTILS= easy_install
PYDISTUTILS_PKGNAME= SQLAlchemy
PYDISTUTILS_PKGVERSION= ${DISTVERSION}
@@ -32,11 +31,12 @@ OPTIONS+= MYSQL "support MySql" on
OPTIONS+= POSTGRE "support PostGreSQL" on
OPTIONS+= SQLITE "support Sqlite" on
-DOCSDIR= ${PREFIX}/share/doc/${PYTHON_PKGNAMEPREFIX}${PORTNAME}
-EXAMPLESDIR= ${PREFIX}/share/examples/${PYTHON_PKGNAMEPREFIX}${PORTNAME}
+DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME}
+EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME}
.if !defined(NOPORTDOCS)
AL_PORTDOCS= *.html *.js
+AL_PORTDOCS_SUBDIR= core dialects orm
.endif
.include <bsd.port.pre.mk>
@@ -67,8 +67,10 @@ post-install:
.for i in ${AL_PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/doc/${i} ${DOCSDIR}
.endfor
- ${MKDIR} ${DOCSDIR}/reference
- @cd ${WRKSRC}/doc/reference && ${COPYTREE_SHARE} . ${DOCSDIR}/reference
+.for i in ${AL_PORTDOCS_SUBDIR}
+ ${MKDIR} ${DOCSDIR}/${i}
+ @cd ${WRKSRC}/doc/${i} && ${COPYTREE_SHARE} . ${DOCSDIR}/${i}
+.endfor
.endif
.if !defined(NOPORTEXAMPLES)