aboutsummaryrefslogtreecommitdiff
path: root/net/py-s3cmd
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
parenta0139ffa24514b58e7b369a1778a9269f06e907e (diff)
downloadports-0829a684e1734f9e808cb1f342ae220fb169e64f.tar.gz
ports-0829a684e1734f9e808cb1f342ae220fb169e64f.zip
Notes
Diffstat (limited to 'net/py-s3cmd')
-rw-r--r--net/py-s3cmd/Makefile5
-rw-r--r--net/py-s3cmd/pkg-plist1
2 files changed, 3 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
diff --git a/net/py-s3cmd/pkg-plist b/net/py-s3cmd/pkg-plist
index afe311310cdc..6dc209604ec7 100644
--- a/net/py-s3cmd/pkg-plist
+++ b/net/py-s3cmd/pkg-plist
@@ -44,5 +44,6 @@
%%PYTHON_SITELIBDIR%%/S3/__init__.pyc
%%PYTHON_SITELIBDIR%%/S3/__init__.pyo
bin/s3cmd
+man/man1/s3cmd.1.gz
@dirrmtry %%PYTHON_SITELIBDIR%%/S3
%%PORTDOCS%%@dirrm %%DOCSDIR%%