ports/57550: new port: desktutils/xchm, ebook/helpfile viewer
Pav Lucistnik
pav at oook.cz
Fri Oct 3 20:30:29 UTC 2003
>Number: 57550
>Category: ports
>Synopsis: new port: desktutils/xchm, ebook/helpfile viewer
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Fri Oct 03 13:30:22 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator: Pav Lucistnik
>Release: FreeBSD 4.8-STABLE i386
>Organization:
>Environment:
System: FreeBSD pav.hide.vol.cz 4.8-STABLE FreeBSD 4.8-STABLE #0: Mon Jul 28 12:47:51 CEST 2003 root at pav.hide.vol.cz:/usr/obj/usr/src/sys/PAV i386
>Description:
This is a new port of xchm, a CHM viewer for UNIX. It's written
on top of chmlib (already ported) and wxWindows toolkit.
CHM is quite common format of HTMLized help files on Windows platform.
Also a lot of eBooks are published in CHM format, challenged only
by PDF format in popularity. Basically it's a bunch of html and jpg
files packed in single file. See also misc/chmview.
Port was tested on -STABLE and -CURRENT.
>How-To-Repeat:
>Fix:
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# xchm
# xchm/Makefile
# xchm/pkg-descr
# xchm/pkg-plist
# xchm/distinfo
#
echo c - xchm
mkdir -p xchm > /dev/null 2>&1
echo x - xchm/Makefile
sed 's/^X//' >xchm/Makefile << 'END-of-xchm/Makefile'
X# New ports collection makefile for: xchm
X# Date created: 3th October 2003
X# Whom: Pav Lucistnik <pav at oook.cz>
X#
X# $FreeBSD$
X#
X
XPORTNAME= xchm
XPORTVERSION= 0.8.4
XCATEGORIES= deskutils
XMASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
XMASTER_SITE_SUBDIR= ${PORTNAME}
X
XMAINTAINER= pav at oook.cz
XCOMMENT= Windows HTML Help (.chm) viewer for UNIX
X
XLIB_DEPENDS= wx_gtk.2:${PORTSDIR}/x11-toolkits/wxgtk-devel \
X chm.0:${PORTSDIR}/misc/chmlib
X
XGNU_CONFIGURE= yes
XUSE_X_PREFIX= yes
XCONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
XUSE_REINPLACE= yes
X
Xpost-patch:
X @${REINPLACE_CMD} -e 's|@REZ_COMMAND@||' ${WRKSRC}/src/Makefile.in
X
X.include <bsd.port.mk>
END-of-xchm/Makefile
echo x - xchm/pkg-descr
sed 's/^X//' >xchm/pkg-descr << 'END-of-xchm/pkg-descr'
XxCHM is a .chm viewer for UNIX. CHM is commonly used for a rich-text help
Xfiles on Windows platform, and for publishing eBooks.
X
XxCHM can show the contents tree if one is available, print the displayed page,
Xchange fonts faces and size, work with bookmarks, do the usual history stunts
X(forward, back, home), and seach for text in the whole book.
X
XWWW: http://xchm.sourceforge.net/
END-of-xchm/pkg-descr
echo x - xchm/pkg-plist
sed 's/^X//' >xchm/pkg-plist << 'END-of-xchm/pkg-plist'
Xbin/xchm
END-of-xchm/pkg-plist
echo x - xchm/distinfo
sed 's/^X//' >xchm/distinfo << 'END-of-xchm/distinfo'
XMD5 (xchm-0.8.4.tar.gz) = faf1ab179c2d2a29f4432fff1067d3b3
END-of-xchm/distinfo
exit
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list