Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 May 2014 12:33:00 +0000 (UTC)
From:      "Vanilla I. Shu" <vanilla@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r354531 - head/databases/py-psycopg
Message-ID:  <201405191233.s4JCX09s003754@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: vanilla
Date: Mon May 19 12:33:00 2014
New Revision: 354531
URL: http://svnweb.freebsd.org/changeset/ports/354531
QAT: https://qat.redports.org/buildarchive/r354531/

Log:
  Support staging.
  
  Approved by:	portmgr@

Modified:
  head/databases/py-psycopg/Makefile
  head/databases/py-psycopg/pkg-plist

Modified: head/databases/py-psycopg/Makefile
==============================================================================
--- head/databases/py-psycopg/Makefile	Mon May 19 12:24:39 2014	(r354530)
+++ head/databases/py-psycopg/Makefile	Mon May 19 12:33:00 2014	(r354531)
@@ -49,7 +49,6 @@ EXAMPLES=	binary.py bool.py bounded.py c
 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)

Modified: head/databases/py-psycopg/pkg-plist
==============================================================================
--- head/databases/py-psycopg/pkg-plist	Mon May 19 12:24:39 2014	(r354530)
+++ head/databases/py-psycopg/pkg-plist	Mon May 19 12:33:00 2014	(r354531)
@@ -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



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