Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Jan 2014 19:02:48 +0000 (UTC)
From:      Marcus von Appen <mva@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r340923 - head/databases/py-pyPgSQL
Message-ID:  <201401241902.s0OJ2mZP077950@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mva
Date: Fri Jan 24 19:02:47 2014
New Revision: 340923
URL: http://svnweb.freebsd.org/changeset/ports/340923
QAT: https://qat.redports.org/buildarchive/r340923/

Log:
  - Enable stagedir support

Modified:
  head/databases/py-pyPgSQL/Makefile

Modified: head/databases/py-pyPgSQL/Makefile
==============================================================================
--- head/databases/py-pyPgSQL/Makefile	Fri Jan 24 18:10:39 2014	(r340922)
+++ head/databases/py-pyPgSQL/Makefile	Fri Jan 24 19:02:47 2014	(r340923)
@@ -29,7 +29,6 @@ BYTEA_CONN_DESC=	Apply Bytea connection 
 # bypass infrastructure bug
 OPTIONSFILE=	${PORT_DBDIR}/py-${PORTNAME}/options
 
-NO_STAGE=	yes
 .include <bsd.port.options.mk>
 
 .if ${PORT_OPTIONS:MBYTEA_CONN}
@@ -41,17 +40,13 @@ DOCSDIR=	${PREFIX}/share/doc/py-pyPgSQL
 EXAMPLESDIR=	${PREFIX}/share/examples/py-pyPgSQL
 
 post-install:
-.if ${PORT_OPTIONS:MDOCS}
-	@${MKDIR} ${DOCSDIR}
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 .for f in ${DOCS}
-	@${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
+	@${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
 .endfor
-.endif
-.if ${PORT_OPTIONS:MEXAMPLES}
-	@${MKDIR} ${EXAMPLESDIR}
+	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
 .for f in ${EXAMPLES}
-	@${INSTALL_DATA} ${WRKSRC}/${f} ${EXAMPLESDIR}
+	@${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${EXAMPLESDIR}
 .endfor
-.endif
 
 .include <bsd.port.mk>



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