aboutsummaryrefslogtreecommitdiffstats
path: root/devel/osc
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2013-09-25 01:11:51 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2013-09-25 01:11:51 +0800
commit3b2165e9eaafa0d9f72e44aa4bdb0350afed489e (patch)
tree3c99f3a1a21cf5fb7a083b51b578bdf1986b347a /devel/osc
parenta330789faaff97cf917d2bfa46b7dbc42895364b (diff)
downloadfreebsd-ports-gnome-3b2165e9eaafa0d9f72e44aa4bdb0350afed489e.tar.gz
freebsd-ports-gnome-3b2165e9eaafa0d9f72e44aa4bdb0350afed489e.tar.zst
freebsd-ports-gnome-3b2165e9eaafa0d9f72e44aa4bdb0350afed489e.zip
Support staging
Diffstat (limited to 'devel/osc')
-rw-r--r--devel/osc/Makefile12
1 files changed, 5 insertions, 7 deletions
diff --git a/devel/osc/Makefile b/devel/osc/Makefile
index 2dba3697e6f0..87baee6377ba 100644
--- a/devel/osc/Makefile
+++ b/devel/osc/Makefile
@@ -24,13 +24,12 @@ PYDISTUTILS_PKGVERSION=${PORTVERSION:C/^([0-9]+\.[0-9]+)\.[0-9]+/\1/}
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>