diff options
author | bdrewery <bdrewery@FreeBSD.org> | 2014-04-10 10:30:10 +0800 |
---|---|---|
committer | bdrewery <bdrewery@FreeBSD.org> | 2014-04-10 10:30:10 +0800 |
commit | 4f2637a02cb7c68f1ea288a27a38ca60b832572d (patch) | |
tree | cbed724c881dc366065129f8f129e5a984e01fc5 /net | |
parent | 240cdec73dde4747609d03f2cbdae24d782bfae3 (diff) | |
download | freebsd-ports-gnome-4f2637a02cb7c68f1ea288a27a38ca60b832572d.tar.gz freebsd-ports-gnome-4f2637a02cb7c68f1ea288a27a38ca60b832572d.tar.zst freebsd-ports-gnome-4f2637a02cb7c68f1ea288a27a38ca60b832572d.zip |
- Support stage
- Convert to optionsng
Diffstat (limited to 'net')
-rw-r--r-- | net/py-s3cmd/Makefile | 5 | ||||
-rw-r--r-- | net/py-s3cmd/pkg-plist | 1 |
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%% |