Date: Tue, 24 Sep 2013 17:11:51 +0000 (UTC) From: Dmitry Marakasov <amdmi3@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r328170 - head/devel/osc Message-ID: <201309241711.r8OHBpj8020957@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: amdmi3 Date: Tue Sep 24 17:11:51 2013 New Revision: 328170 URL: http://svnweb.freebsd.org/changeset/ports/328170 Log: Support staging Modified: head/devel/osc/Makefile Modified: head/devel/osc/Makefile ============================================================================== --- head/devel/osc/Makefile Tue Sep 24 16:49:15 2013 (r328169) +++ head/devel/osc/Makefile Tue Sep 24 17:11:51 2013 (r328170) @@ -24,13 +24,12 @@ PYDISTUTILS_PKGVERSION=${PORTVERSION:C/^ MAN1= osc.1 MANCOMPRESSED= yes -PORTDOCS= AUTHORS README NEWS TODO +PORTDOCS= * OPTIONS_DEFINE= CA_BUNDLE DOCS OPTIONS_DEFAULT=CA_BUNDLE CA_BUNDLE_DESC= Install CA Certificates -NO_STAGE= yes .include <bsd.port.options.mk> .if ${PORT_OPTIONS:MCA_BUNDLE} @@ -46,12 +45,11 @@ post-patch: ${WRKSRC}/osc/conf.py post-install: - ${LN} -s osc-wrapper.py ${PREFIX}/bin/osc + ${LN} -s osc-wrapper.py ${STAGEDIR}${PREFIX}/bin/osc .if ${PORT_OPTIONS:MDOCS} - ${MKDIR} ${DOCSDIR} -.for f in ${PORTDOCS} - ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}/ -.endfor + ${MKDIR} ${STAGEDIR}${DOCSDIR} + cd ${WRKSRC} && ${INSTALL_DATA} AUTHORS README NEWS TODO \ + ${STAGEDIR}${DOCSDIR} .endif .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201309241711.r8OHBpj8020957>