aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/pychm
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2004-12-02 05:46:14 +0800
committerpav <pav@FreeBSD.org>2004-12-02 05:46:14 +0800
commit3252742d7ded86278921fa9b07d2e76aeacbeaf9 (patch)
tree866e5df4e2541513aabefb882cfab2a269e990d3 /textproc/pychm
parentf6761fc0f0169064186e0090ba92d4874ce5fac6 (diff)
downloadfreebsd-ports-gnome-3252742d7ded86278921fa9b07d2e76aeacbeaf9.tar.gz
freebsd-ports-gnome-3252742d7ded86278921fa9b07d2e76aeacbeaf9.tar.zst
freebsd-ports-gnome-3252742d7ded86278921fa9b07d2e76aeacbeaf9.zip
Add pychm, a package that provides bindings for Jed Wing's CHMLIB library.
PR: ports/74458 Submitted by: Radek Kozlowski <radek@raadradd.com>
Diffstat (limited to 'textproc/pychm')
-rw-r--r--textproc/pychm/Makefile25
-rw-r--r--textproc/pychm/distinfo2
-rw-r--r--textproc/pychm/pkg-descr3
-rw-r--r--textproc/pychm/pkg-plist12
4 files changed, 42 insertions, 0 deletions
diff --git a/textproc/pychm/Makefile b/textproc/pychm/Makefile
new file mode 100644
index 000000000000..b5683f872806
--- /dev/null
+++ b/textproc/pychm/Makefile
@@ -0,0 +1,25 @@
+# New ports collection makefile for: pychm
+# Date created: 25 November 2004
+# Whom: Radek Kozlowski <radek@raadradd.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= pychm
+PORTVERSION= 0.8.1
+CATEGORIES= textproc python
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= gnochm
+
+MAINTAINER= radek@raadradd.com
+COMMENT= A package that provides bindings for CHMLIB library
+
+LIB_DEPENDS= chm.0:${PORTSDIR}/misc/chmlib
+
+NO_BUILD= yes
+USE_PYTHON= yes
+USE_PYDISTUTILS= yes
+PYDISTUTILS_INSTALLARGS= build_ext -I${LOCALBASE}/include -L${LOCALBASE}/lib \
+ install -c -O1 --prefix=${PREFIX}
+
+.include <bsd.port.mk>
diff --git a/textproc/pychm/distinfo b/textproc/pychm/distinfo
new file mode 100644
index 000000000000..3d684bcb839a
--- /dev/null
+++ b/textproc/pychm/distinfo
@@ -0,0 +1,2 @@
+MD5 (pychm-0.8.1.tar.gz) = 5cac8aa20aa20ef6658c5156c1f72b67
+SIZE (pychm-0.8.1.tar.gz) = 27323
diff --git a/textproc/pychm/pkg-descr b/textproc/pychm/pkg-descr
new file mode 100644
index 000000000000..9831c98e8457
--- /dev/null
+++ b/textproc/pychm/pkg-descr
@@ -0,0 +1,3 @@
+PyCHM is a package that provides bindings for Jed Wing's CHMLIB library.
+
+WWW: http://gnochm.sourceforge.net/pychm.html
diff --git a/textproc/pychm/pkg-plist b/textproc/pychm/pkg-plist
new file mode 100644
index 000000000000..a733b2261896
--- /dev/null
+++ b/textproc/pychm/pkg-plist
@@ -0,0 +1,12 @@
+%%PYTHON_SITELIBDIR%%/chm/__init__.py
+%%PYTHON_SITELIBDIR%%/chm/chm.py
+%%PYTHON_SITELIBDIR%%/chm/chmlib.py
+%%PYTHON_SITELIBDIR%%/chm/_chmlib.so
+%%PYTHON_SITELIBDIR%%/chm/extra.so
+%%PYTHON_SITELIBDIR%%/chm/__init__.pyc
+%%PYTHON_SITELIBDIR%%/chm/chm.pyc
+%%PYTHON_SITELIBDIR%%/chm/chmlib.pyc
+%%PYTHON_SITELIBDIR%%/chm/__init__.pyo
+%%PYTHON_SITELIBDIR%%/chm/chm.pyo
+%%PYTHON_SITELIBDIR%%/chm/chmlib.pyo
+@dirrm %%PYTHON_SITELIBDIR%%/chm