aboutsummaryrefslogtreecommitdiff
path: root/net/py-s3cmd/Makefile
diff options
context:
space:
mode:
authorBryan Drewery <bdrewery@FreeBSD.org>2014-04-10 02:30:10 +0000
committerBryan Drewery <bdrewery@FreeBSD.org>2014-04-10 02:30:10 +0000
commit0829a684e1734f9e808cb1f342ae220fb169e64f (patch)
treecbed724c881dc366065129f8f129e5a984e01fc5 /net/py-s3cmd/Makefile
parenta0139ffa24514b58e7b369a1778a9269f06e907e (diff)
downloadports-0829a684e1734f9e808cb1f342ae220fb169e64f.tar.gz
ports-0829a684e1734f9e808cb1f342ae220fb169e64f.zip
- Support stage
- Convert to optionsng
Notes
Notes: svn path=/head/; revision=350760
Diffstat (limited to 'net/py-s3cmd/Makefile')
-rw-r--r--net/py-s3cmd/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/net/py-s3cmd/Makefile b/net/py-s3cmd/Makefile
index 7c975f540957..289aadb4618b 100644
--- a/net/py-s3cmd/Makefile
+++ b/net/py-s3cmd/Makefile
@@ -14,12 +14,11 @@ COMMENT= Unix-like tools to manipulate stored files from the command line
USE_PYDISTUTILS= yes
USE_PYTHON= 2
-MAN1= s3cmd.1
+.include <bsd.port.options.mk>
-NO_STAGE= yes
post-patch:
${REINPLACE_CMD} -e 's,share/man,man,' ${WRKSRC}/setup.py
-.ifndef(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
${REINPLACE_CMD} -e 's,doc/packages,doc,' ${WRKSRC}/setup.py
.else
${REINPLACE_CMD} -e '/(doc_path+/d' ${WRKSRC}/setup.py