ports/66229: new port: www/winhelpcgi winhelp viewer cgi program
Robin Schoonover
end at endif.cjb.net
Mon May 3 23:10:23 UTC 2004
>Number: 66229
>Category: ports
>Synopsis: new port: www/winhelpcgi winhelp viewer cgi program
>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: Mon May 03 16:10:22 PDT 2004
>Closed-Date:
>Last-Modified:
>Originator: Robin Schoonover
>Release: FreeBSD 5.2.1-RELEASE-p5 i386
>Organization:
>Environment:
System: FreeBSD 5.2.1-RELEASE-p5 #11: Sat Apr 17 12:30:40 MDT 2004
end at rogue:/usr/obj/usr/src/sys/ROGUE
>Description:
winhelpcgi is a cgi program that can display winhelp files on the web.
It supports .HLP, .M14, .M13, and .MVP files.
>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:
#
# winhelpcgi
# winhelpcgi/Makefile
# winhelpcgi/distinfo
# winhelpcgi/files
# winhelpcgi/files/patch-Makefile.am
# winhelpcgi/pkg-descr
# winhelpcgi/pkg-plist
# winhelpcgi/pkg-message
#
echo c - winhelpcgi
mkdir -p winhelpcgi > /dev/null 2>&1
echo x - winhelpcgi/Makefile
sed 's/^X//' >winhelpcgi/Makefile << 'END-of-winhelpcgi/Makefile'
X# New ports collection makefile for: winhelpcgi
X# Date created: 3 May 2004
X# Whom: Robin Schoonover (endx7 at users.sf.net)
X#
X# $FreeBSD$
X#
X
XPORTNAME= winhelpcgi
XPORTVERSION= 0.93.1
XCATEGORIES= www textproc
XMASTER_SITES= http://www.herdsoft.com/ftp/
XDISTNAME= ${PORTNAME}_0.93-1
X
XMAINTAINER= endx7 at users.sf.net
XCOMMENT= A winhelp converter cgi program
X
XLIB_DEPENDS= png.5:${PORTSDIR}/graphics/png
X
XWRKSRC= ${WRKDIR}/${PORTNAME}
XGNU_CONFIGURE= yes
XUSE_AUTOMAKE= yes
XAUTOMAKE_ARGS= --add-missing
X
X.include <bsd.port.pre.mk>
X
X# get rid of symlinks
Xpre-patch:
X (cd ${WRKSRC}; ${RM} INSTALL install-sh mkinstalldirs missing COPYING)
X
Xdo-install:
X ${INSTALL_PROGRAM} ${WRKDIR}/winhelpcgi/winhelpcgi/winhelpcgi.cgi ${PREFIX}/bin
X
Xpost-install:
X @${SED} -e 's:%%PREFIX%%:${PREFIX}:' ${PKGMESSAGE}
X
X.include <bsd.port.post.mk>
END-of-winhelpcgi/Makefile
echo x - winhelpcgi/distinfo
sed 's/^X//' >winhelpcgi/distinfo << 'END-of-winhelpcgi/distinfo'
XMD5 (winhelpcgi_0.93-1.tar.gz) = cf6df86cb484fbb506bc721f484ae896
XSIZE (winhelpcgi_0.93-1.tar.gz) = 239842
END-of-winhelpcgi/distinfo
echo c - winhelpcgi/files
mkdir -p winhelpcgi/files > /dev/null 2>&1
echo x - winhelpcgi/files/patch-Makefile.am
sed 's/^X//' >winhelpcgi/files/patch-Makefile.am << 'END-of-winhelpcgi/files/patch-Makefile.am'
X--- winhelpcgi/Makefile.am.orig Thu Apr 10 05:40:05 2003
X+++ winhelpcgi/Makefile.am Sat May 1 15:48:37 2004
X@@ -1,5 +1,5 @@
X ## Process this file using automake to create makefile.in
X-INCLUDES = -I../include -I../include/linux
X+INCLUDES = -I../include -I../include/linux -I${LOCALBASE}/include
X #CFLAGS = -ggdb
X
X bin_PROGRAMS = winhelpcgi.cgi
X@@ -7,7 +7,7 @@
X winhelpcgi_cgi_SOURCES=dib2png.c wc_html.c wc_kwsrch.c winhelpcgi.c
X #winhelpcgi_cgi_LDFLAGS=-static
X #winhelpcgi_cgi_LDADD=-L../libhlpaccess -lhlpaccess -lpng -lz
X-winhelpcgi_cgi_LDADD= \
X+winhelpcgi_cgi_LDADD= -L${LOCALBASE}/lib \
X ../libhlpaccess/libhlpaccess.a \
X -lpng -lz
X
END-of-winhelpcgi/files/patch-Makefile.am
echo x - winhelpcgi/pkg-descr
sed 's/^X//' >winhelpcgi/pkg-descr << 'END-of-winhelpcgi/pkg-descr'
Xwinhelpcgi is a cgi program that can display winhelp files on the web.
XIt supports .HLP, .M14, .M13, and .MVP files.
X
XWWW: http://www.herdsoft.com/linux/produkte/winhelpcgi.html
END-of-winhelpcgi/pkg-descr
echo x - winhelpcgi/pkg-plist
sed 's/^X//' >winhelpcgi/pkg-plist << 'END-of-winhelpcgi/pkg-plist'
Xbin/winhelpcgi.cgi
END-of-winhelpcgi/pkg-plist
echo x - winhelpcgi/pkg-message
sed 's/^X//' >winhelpcgi/pkg-message << 'END-of-winhelpcgi/pkg-message'
X-----------------------------------------------------------------
Xwinhelpcgi.cgi has been installed into %%PREFIX%%/bin.
X
XYou now need to copy winhelpcgi.cgi along with all winhelp files
Xyou wish for it to handle into the cgi-bin/ (or a subdir in
Xcgi-bin/) of a http server that can handle cgi (such as apache).
X-----------------------------------------------------------------
END-of-winhelpcgi/pkg-message
exit
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list