Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Oct 2003 22:27:34 +0200 (CEST)
From:      Pav Lucistnik <pav@oook.cz>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/57550: new port: desktutils/xchm, ebook/helpfile viewer
Message-ID:  <200310032027.h93KRYQ5005303@pav.hide.vol.cz>
Resent-Message-ID: <200310032030.h93KUNpK009912@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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@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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200310032027.h93KRYQ5005303>