aboutsummaryrefslogtreecommitdiffstats
path: root/databases
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2014-02-19 17:35:53 +0800
committermiwi <miwi@FreeBSD.org>2014-02-19 17:35:53 +0800
commitb0512b070bd1fb3bcd5c252dd001ba6a220f1e43 (patch)
treef0e6d5f38eeec638eac8fee270082f9d3c0597e7 /databases
parent6361f1ae6368c18d1e8869f1eccefa8a67118b2b (diff)
downloadfreebsd-ports-gnome-b0512b070bd1fb3bcd5c252dd001ba6a220f1e43.tar.gz
freebsd-ports-gnome-b0512b070bd1fb3bcd5c252dd001ba6a220f1e43.tar.zst
freebsd-ports-gnome-b0512b070bd1fb3bcd5c252dd001ba6a220f1e43.zip
- Stage support
Diffstat (limited to 'databases')
-rw-r--r--databases/py-sqlalchemy/Makefile26
1 files changed, 7 insertions, 19 deletions
diff --git a/databases/py-sqlalchemy/Makefile b/databases/py-sqlalchemy/Makefile
index 441c30186642..aae2e59449b2 100644
--- a/databases/py-sqlalchemy/Makefile
+++ b/databases/py-sqlalchemy/Makefile
@@ -48,7 +48,6 @@ SYBASE_DESC= Sybase backend
# bypass infrastructure bug
OPTIONSFILE= ${PORT_DBDIR}/py-${PORTNAME}/options
-NO_STAGE= yes
.include <bsd.port.options.mk>
DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}
@@ -104,27 +103,23 @@ pre-build:
.endif
post-install:
-.if ${PORT_OPTIONS:MDOCS}
.if ${PYTHON_REL} >= 300
- @${PY2TO3_CMD} ${PY2TO3_ARGS} ${WRKSRC}/doc
+ @${PY2TO3_CMD} ${PY2TO3_ARGS} ${STAGEDIR}${WRKSRC}/doc
.endif
- @${MKDIR} ${DOCSDIR}
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
.for i in ${AL_PORTDOCS}
- ${INSTALL_DATA} ${WRKSRC}/doc/${i} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/doc/${i} ${STAGEDIR}${DOCSDIR}
.endfor
.for i in ${AL_PORTDOCS_SUBDIR}
- ${MKDIR} ${DOCSDIR}/${i}
- @cd ${WRKSRC}/doc/${i} && ${COPYTREE_SHARE} . ${DOCSDIR}/${i}
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}/${i}
+ @cd ${WRKSRC}/doc/${i} && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}/${i}
.endfor
-.endif
-.if ${PORT_OPTIONS:MEXAMPLES}
- @${MKDIR} ${EXAMPLESDIR}
+ @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
.if ${PYTHON_REL} >= 300
@${PY2TO3_CMD} ${PY2TO3_ARGS} ${WRKSRC}/examples
.endif
- cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} . ${EXAMPLESDIR}
-.endif
+ cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}
.if ${PYTHON_REL} < 300
PLIST_SUB+= SPEEDUPS=""
@@ -132,13 +127,6 @@ PLIST_SUB+= SPEEDUPS=""
# C extensions are not supported in py3k
PLIST_SUB+= SPEEDUPS="@comment "
PYEASYINSTALL_OSARCH=
-
-easyinstall-setopt:
- ${DO_NADA}
-.endif
-
-.if ${PYTHON_REL} >= 320
-.include "${PORTSDIR}/devel/py-virtualenv/files/py3k-fix-pkg-plist.inc"
.endif
regression-test: build