aboutsummaryrefslogtreecommitdiff
path: root/deskutils/xchm
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2003-10-04 12:34:20 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2003-10-04 12:34:20 +0000
commitd3421e37e4010bba0724ed31467a0dc27302dc3f (patch)
tree84ee8d6b3c0ff205a71d744518671254b38569bb /deskutils/xchm
parentc7565ebbb9f6160bde9defbedf9afef1fbd3d079 (diff)
downloadports-d3421e37e4010bba0724ed31467a0dc27302dc3f.tar.gz
ports-d3421e37e4010bba0724ed31467a0dc27302dc3f.zip
Add xchm 0.8.4, windows HTML Help (.chm) viewer for UNIX.
PR: 57550 Submitted by: Pav Lucistnik <pav@oook.cz>
Notes
Notes: svn path=/head/; revision=90237
Diffstat (limited to 'deskutils/xchm')
-rw-r--r--deskutils/xchm/Makefile28
-rw-r--r--deskutils/xchm/distinfo1
-rw-r--r--deskutils/xchm/pkg-descr8
-rw-r--r--deskutils/xchm/pkg-plist1
4 files changed, 38 insertions, 0 deletions
diff --git a/deskutils/xchm/Makefile b/deskutils/xchm/Makefile
new file mode 100644
index 000000000000..505dd45e0a13
--- /dev/null
+++ b/deskutils/xchm/Makefile
@@ -0,0 +1,28 @@
+# New ports collection makefile for: xchm
+# Date created: 3th October 2003
+# Whom: Pav Lucistnik <pav@oook.cz>
+#
+# $FreeBSD$
+#
+
+PORTNAME= xchm
+PORTVERSION= 0.8.4
+CATEGORIES= deskutils
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= ${PORTNAME}
+
+MAINTAINER= pav@oook.cz
+COMMENT= Windows HTML Help (.chm) viewer for UNIX
+
+LIB_DEPENDS= wx_gtk.2:${PORTSDIR}/x11-toolkits/wxgtk-devel \
+ chm.0:${PORTSDIR}/misc/chmlib
+
+GNU_CONFIGURE= yes
+USE_X_PREFIX= yes
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
+USE_REINPLACE= yes
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|@REZ_COMMAND@||' ${WRKSRC}/src/Makefile.in
+
+.include <bsd.port.mk>
diff --git a/deskutils/xchm/distinfo b/deskutils/xchm/distinfo
new file mode 100644
index 000000000000..25a15200e97a
--- /dev/null
+++ b/deskutils/xchm/distinfo
@@ -0,0 +1 @@
+MD5 (xchm-0.8.4.tar.gz) = faf1ab179c2d2a29f4432fff1067d3b3
diff --git a/deskutils/xchm/pkg-descr b/deskutils/xchm/pkg-descr
new file mode 100644
index 000000000000..ad5a68d482a2
--- /dev/null
+++ b/deskutils/xchm/pkg-descr
@@ -0,0 +1,8 @@
+xCHM is a .chm viewer for UNIX. CHM is commonly used for a rich-text help
+files on Windows platform, and for publishing eBooks.
+
+xCHM can show the contents tree if one is available, print the displayed page,
+change fonts faces and size, work with bookmarks, do the usual history stunts
+(forward, back, home), and seach for text in the whole book.
+
+WWW: http://xchm.sourceforge.net/
diff --git a/deskutils/xchm/pkg-plist b/deskutils/xchm/pkg-plist
new file mode 100644
index 000000000000..c547c17eda1c
--- /dev/null
+++ b/deskutils/xchm/pkg-plist
@@ -0,0 +1 @@
+bin/xchm