diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2014-06-04 06:25:25 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2014-06-04 06:25:25 +0000 |
commit | 973a0d9190828d185a86ff3ef3a51a08824a83f1 (patch) | |
tree | 4de1d6b1158712b1ed012a26cfc2ddd0cfdf0dfc /sysutils/fusefs-wikipediafs | |
parent | f4635cbdb31640b716eab498ca1233d5e59e32d8 (diff) | |
download | ports-973a0d9190828d185a86ff3ef3a51a08824a83f1.tar.gz ports-973a0d9190828d185a86ff3ef3a51a08824a83f1.zip |
- Add stage support
PR: 190560
Submitted by: maintainer
Notes
Notes:
svn path=/head/; revision=356434
Diffstat (limited to 'sysutils/fusefs-wikipediafs')
-rw-r--r-- | sysutils/fusefs-wikipediafs/Makefile | 19 | ||||
-rw-r--r-- | sysutils/fusefs-wikipediafs/pkg-plist | 29 |
2 files changed, 13 insertions, 35 deletions
diff --git a/sysutils/fusefs-wikipediafs/Makefile b/sysutils/fusefs-wikipediafs/Makefile index 483ebfad6781..ffe7b0d62f05 100644 --- a/sysutils/fusefs-wikipediafs/Makefile +++ b/sysutils/fusefs-wikipediafs/Makefile @@ -3,6 +3,7 @@ PORTNAME= wikipediafs PORTVERSION= 0.4 +PORTREVISION= 1 CATEGORIES= sysutils MASTER_SITES= SF PKGNAMEPREFIX= fusefs- @@ -10,23 +11,29 @@ PKGNAMEPREFIX= fusefs- MAINTAINER= 5u623l20@gmail.com COMMENT= Mount mediawikis +LICENSE= GPLv2 + RUN_DEPENDS= py*-fusefs>=0.2:${PORTSDIR}/devel/py-fusefs USES= fuse USE_PYTHON= yes USE_PYDISTUTILS=yes +PYDISTUTILS_AUTOPLIST=yes PORTDOCS= AUTHORS ChangeLog HACKING NEWS README TODO -MAN1= mount.${PORTNAME}.1 -NO_STAGE= yes +OPTIONS_DEFINE= DOCS + +PLIST_FILES= man/man1/mount.${PORTNAME}.1.gz + +.include <bsd.port.options.mk> post-extract: @${GUNZIP_CMD} ${WRKSRC}/doc/*gz post-install: - @cd ${WRKSRC}/doc/&&${INSTALL_MAN} ${MAN1} ${MAN1PREFIX}/man/man1/ -.ifndef NOPORTDOCS - @${INSTALL} -d ${DOCSDIR}/ - @cd ${WRKSRC}/&&${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}/ + @cd ${WRKSRC}/doc/&&${INSTALL_MAN} mount.${PORTNAME}.1 ${STAGEDIR}${PREFIX}/man/man1/ +.if ${PORT_OPTIONS:MDOCS} + @${INSTALL} -d ${STAGEDIR}${DOCSDIR}/ + @cd ${WRKSRC}/&&${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/ .endif .include <bsd.port.mk> diff --git a/sysutils/fusefs-wikipediafs/pkg-plist b/sysutils/fusefs-wikipediafs/pkg-plist index 7f05c268aa48..e69de29bb2d1 100644 --- a/sysutils/fusefs-wikipediafs/pkg-plist +++ b/sysutils/fusefs-wikipediafs/pkg-plist @@ -1,29 +0,0 @@ -bin/mount.wikipediafs -%%PYTHON_SITELIBDIR%%/wikipediafs/__init__.py -%%PYTHON_SITELIBDIR%%/wikipediafs/__init__.pyc -%%PYTHON_SITELIBDIR%%/wikipediafs/__init__.pyo -%%PYTHON_SITELIBDIR%%/wikipediafs/article.py -%%PYTHON_SITELIBDIR%%/wikipediafs/article.pyc -%%PYTHON_SITELIBDIR%%/wikipediafs/article.pyo -%%PYTHON_SITELIBDIR%%/wikipediafs/config.py -%%PYTHON_SITELIBDIR%%/wikipediafs/config.pyc -%%PYTHON_SITELIBDIR%%/wikipediafs/config.pyo -%%PYTHON_SITELIBDIR%%/wikipediafs/fs.py -%%PYTHON_SITELIBDIR%%/wikipediafs/fs.pyc -%%PYTHON_SITELIBDIR%%/wikipediafs/fs.pyo -%%PYTHON_SITELIBDIR%%/wikipediafs/http.py -%%PYTHON_SITELIBDIR%%/wikipediafs/http.pyc -%%PYTHON_SITELIBDIR%%/wikipediafs/http.pyo -%%PYTHON_SITELIBDIR%%/wikipediafs/logger.py -%%PYTHON_SITELIBDIR%%/wikipediafs/logger.pyc -%%PYTHON_SITELIBDIR%%/wikipediafs/logger.pyo -%%PYTHON_SITELIBDIR%%/wikipediafs/metadir.py -%%PYTHON_SITELIBDIR%%/wikipediafs/metadir.pyc -%%PYTHON_SITELIBDIR%%/wikipediafs/metadir.pyo -%%PYTHON_SITELIBDIR%%/wikipediafs/user.py -%%PYTHON_SITELIBDIR%%/wikipediafs/user.pyc -%%PYTHON_SITELIBDIR%%/wikipediafs/user.pyo -%%PYTHON_SITELIBDIR%%/wikipediafs/version.py -%%PYTHON_SITELIBDIR%%/wikipediafs/version.pyc -%%PYTHON_SITELIBDIR%%/wikipediafs/version.pyo -@dirrm %%PYTHON_SITELIBDIR%%/wikipediafs |