aboutsummaryrefslogtreecommitdiff
path: root/databases/py-psycopg
diff options
context:
space:
mode:
authorVanilla I. Shu <vanilla@FreeBSD.org>2014-05-19 12:33:00 +0000
committerVanilla I. Shu <vanilla@FreeBSD.org>2014-05-19 12:33:00 +0000
commite242c792ec5b3efb71e49e7074a3fef3b9de21fe (patch)
tree403ab7afcc6517b330e844d19a89b9fa600fd06b /databases/py-psycopg
parente04086f95a5df47df2b8e18a76aec1a05ce68f00 (diff)
downloadports-e242c792ec5b3efb71e49e7074a3fef3b9de21fe.tar.gz
ports-e242c792ec5b3efb71e49e7074a3fef3b9de21fe.zip
Support staging.
Approved by: portmgr@
Notes
Notes: svn path=/head/; revision=354531
Diffstat (limited to 'databases/py-psycopg')
-rw-r--r--databases/py-psycopg/Makefile16
-rw-r--r--databases/py-psycopg/pkg-plist64
2 files changed, 40 insertions, 40 deletions
diff --git a/databases/py-psycopg/Makefile b/databases/py-psycopg/Makefile
index 6842f04494fe..0a42ed7b4ea1 100644
--- a/databases/py-psycopg/Makefile
+++ b/databases/py-psycopg/Makefile
@@ -49,7 +49,6 @@ EXAMPLES= binary.py bool.py bounded.py commit.py copy_from.py \
DOCS= AUTHORS COPYING CREDITS ChangeLog FAQ INSTALL NEWS \
README RELEASE-1.0 SUCCESS TODO
-NO_STAGE= yes
pre-everything::
.if !defined(WITH_ZOPE)
@${ECHO} ""
@@ -63,22 +62,23 @@ post-build:
.endif
do-install:
+ @${MKDIR} ${STAGEDIR}${PYTHON_SITELIBDIR}
${INSTALL_PROGRAM} ${WRKSRC}/psycopgmodule.so \
- ${PYTHON_SITELIBDIR}
+ ${STAGEDIR}${PYTHON_SITELIBDIR}
.if defined(WITH_ZOPE)
- ${MKDIR} ${ZOPEBASEDIR}/${ZOPEPRODUCTDIR}/ZPsycopgDA
- ${CP} -R ${WRKSRC}/ZPsycopgDA ${ZOPEBASEDIR}/${ZOPEPRODUCTDIR}/
+ ${MKDIR} ${STAGEDIR}${ZOPEBASEDIR}/${ZOPEPRODUCTDIR}/ZPsycopgDA
+ ${CP} -R ${WRKSRC}/ZPsycopgDA ${STAGEDIR}${ZOPEBASEDIR}/${ZOPEPRODUCTDIR}/
.endif
post-install:
.if !defined(NOPORTDOCS)
- @${MKDIR} ${EXAMPLESDIR}
+ @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
.for f in ${EXAMPLES}
- @${INSTALL_DATA} ${WRKSRC}/doc/examples/${f} ${EXAMPLESDIR}
+ @${INSTALL_DATA} ${WRKSRC}/doc/examples/${f} ${STAGEDIR}${EXAMPLESDIR}
.endfor
- @${MKDIR} ${DOCSDIR}
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
.for f in ${DOCS}
- @${INSTALL_MAN} ${WRKSRC}/${f} ${DOCSDIR}
+ @${INSTALL_MAN} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
.endfor
.endif
.if !defined(BATCH) && defined(WITH_ZOPE)
diff --git a/databases/py-psycopg/pkg-plist b/databases/py-psycopg/pkg-plist
index b59212a01b94..11b5f731749e 100644
--- a/databases/py-psycopg/pkg-plist
+++ b/databases/py-psycopg/pkg-plist
@@ -1,36 +1,36 @@
%%PYTHON_SITELIBDIR%%/psycopgmodule.so
-%%PORTDOCS%%share/doc/py-psycopg/AUTHORS
-%%PORTDOCS%%share/doc/py-psycopg/COPYING
-%%PORTDOCS%%share/doc/py-psycopg/CREDITS
-%%PORTDOCS%%share/doc/py-psycopg/ChangeLog
-%%PORTDOCS%%share/doc/py-psycopg/FAQ
-%%PORTDOCS%%share/doc/py-psycopg/INSTALL
-%%PORTDOCS%%share/doc/py-psycopg/NEWS
-%%PORTDOCS%%share/doc/py-psycopg/README
-%%PORTDOCS%%share/doc/py-psycopg/RELEASE-1.0
-%%PORTDOCS%%share/doc/py-psycopg/SUCCESS
-%%PORTDOCS%%share/doc/py-psycopg/TODO
-%%PORTDOCS%%share/examples/py-psycopg/binary.py
-%%PORTDOCS%%share/examples/py-psycopg/bool.py
-%%PORTDOCS%%share/examples/py-psycopg/bounded.py
-%%PORTDOCS%%share/examples/py-psycopg/commit.py
-%%PORTDOCS%%share/examples/py-psycopg/copy_from.py
-%%PORTDOCS%%share/examples/py-psycopg/copy_from2.py
-%%PORTDOCS%%share/examples/py-psycopg/copy_to.py
-%%PORTDOCS%%share/examples/py-psycopg/dictfetch.py
-%%PORTDOCS%%share/examples/py-psycopg/dt.py
-%%PORTDOCS%%share/examples/py-psycopg/first.py
-%%PORTDOCS%%share/examples/py-psycopg/integrity.py
-%%PORTDOCS%%share/examples/py-psycopg/interval.py
-%%PORTDOCS%%share/examples/py-psycopg/notify.py
-%%PORTDOCS%%share/examples/py-psycopg/oid.py
-%%PORTDOCS%%share/examples/py-psycopg/somehackers.jpg
-%%PORTDOCS%%share/examples/py-psycopg/threads.py
-%%PORTDOCS%%share/examples/py-psycopg/usercast.py
-%%PORTDOCS%%share/examples/py-psycopg/whereareyou.jpg
-%%PORTDOCS%%share/examples/py-psycopg/work.py
-%%PORTDOCS%%@dirrm share/examples/py-psycopg
-%%PORTDOCS%%@dirrm share/doc/py-psycopg
+%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
+%%PORTDOCS%%%%DOCSDIR%%/COPYING
+%%PORTDOCS%%%%DOCSDIR%%/CREDITS
+%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
+%%PORTDOCS%%%%DOCSDIR%%/FAQ
+%%PORTDOCS%%%%DOCSDIR%%/INSTALL
+%%PORTDOCS%%%%DOCSDIR%%/NEWS
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%%%DOCSDIR%%/RELEASE-1.0
+%%PORTDOCS%%%%DOCSDIR%%/SUCCESS
+%%PORTDOCS%%%%DOCSDIR%%/TODO
+%%PORTDOCS%%%%EXAMPLESDIR%%/binary.py
+%%PORTDOCS%%%%EXAMPLESDIR%%/bool.py
+%%PORTDOCS%%%%EXAMPLESDIR%%/bounded.py
+%%PORTDOCS%%%%EXAMPLESDIR%%/commit.py
+%%PORTDOCS%%%%EXAMPLESDIR%%/copy_from.py
+%%PORTDOCS%%%%EXAMPLESDIR%%/copy_from2.py
+%%PORTDOCS%%%%EXAMPLESDIR%%/copy_to.py
+%%PORTDOCS%%%%EXAMPLESDIR%%/dictfetch.py
+%%PORTDOCS%%%%EXAMPLESDIR%%/dt.py
+%%PORTDOCS%%%%EXAMPLESDIR%%/first.py
+%%PORTDOCS%%%%EXAMPLESDIR%%/integrity.py
+%%PORTDOCS%%%%EXAMPLESDIR%%/interval.py
+%%PORTDOCS%%%%EXAMPLESDIR%%/notify.py
+%%PORTDOCS%%%%EXAMPLESDIR%%/oid.py
+%%PORTDOCS%%%%EXAMPLESDIR%%/somehackers.jpg
+%%PORTDOCS%%%%EXAMPLESDIR%%/threads.py
+%%PORTDOCS%%%%EXAMPLESDIR%%/usercast.py
+%%PORTDOCS%%%%EXAMPLESDIR%%/whereareyou.jpg
+%%PORTDOCS%%%%EXAMPLESDIR%%/work.py
+%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
%%ZOPE%%%%ZOPEPRODUCTDIR%%/ZPsycopgDA/DA.py
%%ZOPE%%%%ZOPEPRODUCTDIR%%/ZPsycopgDA/DA.pyc
%%ZOPE%%%%ZOPEPRODUCTDIR%%/ZPsycopgDA/DABase.py