diff options
author | sat <sat@FreeBSD.org> | 2007-08-11 03:07:36 +0800 |
---|---|---|
committer | sat <sat@FreeBSD.org> | 2007-08-11 03:07:36 +0800 |
commit | 1020caa28349c2c89b5f4ab196f1840a8910c3e3 (patch) | |
tree | 93ef40bd9ad88f9708d89b227f6a4823beee1e69 | |
parent | e7b945d78bbcbad22ef75b104b4d1e59847bbc56 (diff) | |
download | freebsd-ports-gnome-1020caa28349c2c89b5f4ab196f1840a8910c3e3.tar.gz freebsd-ports-gnome-1020caa28349c2c89b5f4ab196f1840a8910c3e3.tar.zst freebsd-ports-gnome-1020caa28349c2c89b5f4ab196f1840a8910c3e3.zip |
Add port sysutils/fusefs-wikipediafs:
WikipediaFS is a mountable Linux virtual file system that allows to
read and edit articles from Wikipedia (or any Mediawiki-based site) as
if they were real files.
It is thus possible to view and edit articles using your favourite
text-editor. Text-editors tend to be more convenient than a simple
browser form when it comes to editing large texts and they generally
include useful features such as Mediawiki syntax highlighting and spell
checking.
WWW: http://wikipediafs.sourceforge.net/
Author: Mathieu Blondel <mblondel !AT! users.sourceforge.net>
-rw-r--r-- | sysutils/Makefile | 1 | ||||
-rw-r--r-- | sysutils/fusefs-wikipediafs/Makefile | 46 | ||||
-rw-r--r-- | sysutils/fusefs-wikipediafs/distinfo | 3 | ||||
-rw-r--r-- | sysutils/fusefs-wikipediafs/pkg-descr | 12 | ||||
-rw-r--r-- | sysutils/fusefs-wikipediafs/pkg-plist | 29 |
5 files changed, 91 insertions, 0 deletions
diff --git a/sysutils/Makefile b/sysutils/Makefile index 70779e8eed6f..8f768a9acaf9 100644 --- a/sysutils/Makefile +++ b/sysutils/Makefile @@ -221,6 +221,7 @@ SUBDIR += fusefs-sshfs SUBDIR += fusefs-unionfs SUBDIR += fusefs-wdfs + SUBDIR += fusefs-wikipediafs SUBDIR += fuser SUBDIR += fvcool SUBDIR += gag diff --git a/sysutils/fusefs-wikipediafs/Makefile b/sysutils/fusefs-wikipediafs/Makefile new file mode 100644 index 000000000000..348c27abf5cc --- /dev/null +++ b/sysutils/fusefs-wikipediafs/Makefile @@ -0,0 +1,46 @@ +# New ports collection makefile for: fusefs-wikipediafs +# Date created: 10 August 2007 +# Whom: Andrew Pantyukhin <infofarmer@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= wikipediafs +PORTVERSION= 0.3 +CATEGORIES= sysutils +MASTER_SITES= SF +PKGNAMEPREFIX= fusefs- + +MAINTAINER= infofarmer@FreeBSD.org +COMMENT= Mount mediawikis + +LIB_DEPENDS= fuse.2:${PORTSDIR}/sysutils/fusefs-libs +RUN_DEPENDS= ${LOCALBASE}/modules/fuse.ko:${PORTSDIR}/sysutils/fusefs-kmod \ + py*-fusefs>=0.2:${PORTSDIR}/devel/py-fusefs + +USE_PYTHON= yes +USE_PYDISTUTILS=yes +PORTDOCS= AUTHORS ChangeLog HACKING NEWS README TODO +MAN1= mount.${PORTNAME}.1 + +.include <bsd.port.pre.mk> + +.if ${OSVERSION} < 600000 +IGNORE= depends on kernel module that requires FreeBSD 6 or later +.endif + +post-extract: + @${GUNZIP_CMD} ${WRKSRC}/doc/*gz + +post-patch: + @${REINPLACE_CMD} -e 's|0.1|${PORTVERSION}|;/data_files/d'\ + ${WRKSRC}/setup.py + +post-install: + @cd ${WRKSRC}/doc/&&${INSTALL_MAN} ${MAN1} ${MAN1PREFIX}/man/man1/ +.ifndef NOPORTDOCS + @${INSTALL} -d ${DOCSDIR}/ + @cd ${WRKSRC}/&&${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}/ +.endif + +.include <bsd.port.post.mk> diff --git a/sysutils/fusefs-wikipediafs/distinfo b/sysutils/fusefs-wikipediafs/distinfo new file mode 100644 index 000000000000..e9d19e58e230 --- /dev/null +++ b/sysutils/fusefs-wikipediafs/distinfo @@ -0,0 +1,3 @@ +MD5 (wikipediafs-0.3.tar.gz) = 34ff41974ff1ea74a428eaf68892716d +SHA256 (wikipediafs-0.3.tar.gz) = ab77d245dec2c84e6481a020008a65eee63f33ae3733978592b03052379c0f9b +SIZE (wikipediafs-0.3.tar.gz) = 25409 diff --git a/sysutils/fusefs-wikipediafs/pkg-descr b/sysutils/fusefs-wikipediafs/pkg-descr new file mode 100644 index 000000000000..68fd0a59d830 --- /dev/null +++ b/sysutils/fusefs-wikipediafs/pkg-descr @@ -0,0 +1,12 @@ +WikipediaFS is a mountable Linux virtual file system that allows to +read and edit articles from Wikipedia (or any Mediawiki-based site) as +if they were real files. + +It is thus possible to view and edit articles using your favourite +text-editor. Text-editors tend to be more convenient than a simple +browser form when it comes to editing large texts and they generally +include useful features such as Mediawiki syntax highlighting and spell +checking. + +WWW: http://wikipediafs.sourceforge.net/ +Author: Mathieu Blondel <mblondel !AT! users.sourceforge.net> diff --git a/sysutils/fusefs-wikipediafs/pkg-plist b/sysutils/fusefs-wikipediafs/pkg-plist new file mode 100644 index 000000000000..7f05c268aa48 --- /dev/null +++ b/sysutils/fusefs-wikipediafs/pkg-plist @@ -0,0 +1,29 @@ +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 |