diff options
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/Makefile | 1 | ||||
-rw-r--r-- | textproc/pybook/Makefile | 30 | ||||
-rw-r--r-- | textproc/pybook/distinfo | 1 | ||||
-rw-r--r-- | textproc/pybook/pkg-comment | 1 | ||||
-rw-r--r-- | textproc/pybook/pkg-descr | 9 | ||||
-rw-r--r-- | textproc/pybook/pkg-plist | 4 |
6 files changed, 46 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile index 5d6be7d3fd8f..22f770108c14 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -207,6 +207,7 @@ SUBDIR += py-xml SUBDIR += py-xmltools SUBDIR += py2html + SUBDIR += pybook SUBDIR += rand SUBDIR += raptor SUBDIR += redland diff --git a/textproc/pybook/Makefile b/textproc/pybook/Makefile new file mode 100644 index 000000000000..98be0c56c2a2 --- /dev/null +++ b/textproc/pybook/Makefile @@ -0,0 +1,30 @@ +# ex:ts=8 +# Ports collection makefile for: pybook +# Date created: Jan 27, 2002 +# Whom: ijliao +# +# $FreeBSD$ +# + +PORTNAME= pybook +PORTVERSION= 0.6f +CATEGORIES= textproc python +MASTER_SITES= http://silmarill.org/pybook/ + +MAINTAINER= ports@FreeBSD.org + +USE_PYTHON= yes + +SETUP_CMD= cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} setup.py + +post-patch: + @${PERL} -pi -e "s,python2,python,g" ${WRKSRC}/pybook.py + +do-build: + @${SETUP_CMD} build + +do-install: + @${SETUP_CMD} install + @${MV} -f ${PREFIX}/bin/pybook.py ${PREFIX}/bin/pybook + +.include <bsd.port.mk> diff --git a/textproc/pybook/distinfo b/textproc/pybook/distinfo new file mode 100644 index 000000000000..c17aa7c34b37 --- /dev/null +++ b/textproc/pybook/distinfo @@ -0,0 +1 @@ +MD5 (pybook-0.6f.tar.gz) = 55b3bdb4566f0a9b266e701281f682f4 diff --git a/textproc/pybook/pkg-comment b/textproc/pybook/pkg-comment new file mode 100644 index 000000000000..2c4d6882d997 --- /dev/null +++ b/textproc/pybook/pkg-comment @@ -0,0 +1 @@ +A Project Gutenberg e-texts reader diff --git a/textproc/pybook/pkg-descr b/textproc/pybook/pkg-descr new file mode 100644 index 000000000000..237c87e5e695 --- /dev/null +++ b/textproc/pybook/pkg-descr @@ -0,0 +1,9 @@ +PyBook is a Project Gutenberg e-texts reader written in python. + +Features: + * search by author/title/both + * browse full book list + * choose a random book + * autobookmarks book you're reading (if using vim as a viewer) + +WWW: http://silmarill.org/pybook/ diff --git a/textproc/pybook/pkg-plist b/textproc/pybook/pkg-plist new file mode 100644 index 000000000000..5c5c078c6a63 --- /dev/null +++ b/textproc/pybook/pkg-plist @@ -0,0 +1,4 @@ +bin/pybook +share/pybook/booklist +share/pybook/vimrc +@dirrm share/pybook |