Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 04 Nov 1997 17:35:05 +0000
From:      Ian Vaudrey <i.vaudrey@cableinet.co.uk>
To:        FreeBSD-gnats-submit <FreeBSD-gnats-submit@FreeBSD.ORG>
Cc:        ports@FreeBSD.ORG
Subject:   Re: ports/4933: New port: cgihtml
Message-ID:  <3.0.3.32.19971104173505.007ae940@mail.cableinet.co.uk>
In-Reply-To: <01BCE93F.78EADA80@nemkoltd.nildram.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
--=====================_878664905==_
Content-Type: text/plain; charset="us-ascii"

Arrghh! Micro$oft's finest made a complete mess of the shell archive, so
here it comes again - with Eudora this time (don't ask why I can send it
from my FreeBSD box, it's a long story).

Just in case Eudora screws it up too, I've uploaded a copy to
ftp://ftp.freebsd.org/pub/FreeBSD/incoming/cgihtml.port.shar.gz

 - Ian


--=====================_878664905==_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

# 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:
#
#=
	cgihtml
#=
	cgihtml/Makefile
#=
	cgihtml/files
#=
	cgihtml/files/md5
#=
	cgihtml/files/Makefile
#=
	cgihtml/pkg
#	cgihtml/pkg/PLIST
#	cgihtml/pkg/COMMENT
#	cgihtml/pkg/DESCR
#
echo c - cgihtml
mkdir -p cgihtml > /dev/null 2>&1
echo x - cgihtml/Makefile
sed 's/^X//' >cgihtml/Makefile << 'END-of-cgihtml/Makefile'
X# New ports collection makefile for:	cgihtml
X# Version required:     1.67
X# Date created:		3 Nov 1997
X# Whom:			Ian Vaudrey <i.vaudrey@cableinet.co.uk>
X#
X# $Id$
X#
X
XDISTNAME=3D	cgihtml-1.67
XCATEGORIES=3D	devel=
 www
XMASTER_SITES=3D=
	ftp://ftp.eekim.com/users/eekim/cgihtml/
X
XMAINTAINER=3D=
	i.vaudrey@cableinet.co.uk
X
XNO_CONFIGURE=3D	yes
X
Xpost-extract:
X	@${MV} ${WRKSRC}/Makefile ${WRKSRC}/Makefile.dist
X	@${CP} ${FILESDIR}/Makefile ${WRKSRC}
X
Xpost-install:
X.if !defined(NOPORTDOCS)
X	@${MKDIR} ${PREFIX}/share/doc/cgihtml/html
X.for file in CHANGES CREDITS README TODO
X	${INSTALL_DATA} ${WRKSRC}/${file}=
 ${PREFIX}/share/doc/cgihtml
X.endfor
X	${INSTALL_DATA} ${WRKSRC}/docs/*.html=
 ${PREFIX}/share/doc/cgihtml/html
X.endif
X
X.include <bsd.port.mk>
END-of-cgihtml/Makefile
echo c - cgihtml/files
mkdir -p cgihtml/files > /dev/null 2>&1
echo x - cgihtml/files/md5
sed 's/^X//' >cgihtml/files/md5 << 'END-of-cgihtml/files/md5'
XMD5 (cgihtml-1.67.tar.gz) =3D=
 d9d7076e0603c53cd945f53a89ea45e2
END-of-cgihtml/files/md5
echo x - cgihtml/files/Makefile
sed 's/^X//' >cgihtml/files/Makefile << 'END-of-cgihtml/files/Makefile'
X# Makefile for cgihtml libraries
X
XCFLAGS=3D -O #-DUPLOADDIR=3D'"/tmp"'
XLIB =3D cgihtml
XSHLIB_VER =3D 1.0
X
XOBJS =3D string-lib.o cgi-llist.o cgi-lib.o html-lib.o
XHDRS =3D	${OBJS:.o=3D.h}
XSRCS =3D	${OBJS:.o=3D.c}
XSOBJS =3D	${OBJS:.o=3D.so}
X
X.SUFFIXES:
X.SUFFIXES: .o .so .c
X
X.c.o:
X	${CC} ${CFLAGS} -c ${.IMPSRC} -o ${.TARGET}
X	@${LD} -O ${.TARGET} -x -r ${.TARGET}
X
X.c.so:
X	${CC} -fpic -DPIC ${CFLAGS} -c ${.IMPSRC} -o ${.TARGET}
X	@${LD} -O ${.TARGET} -x -r ${.TARGET}
X
Xlib${LIB}.a: ${OBJS}
X	@${ECHO} building standard ${LIB} library
X	@rm -f ${.TARGET}
X	@${AR} cr ${.TARGET} `lorder ${OBJS} | tsort -q`
X	${RANLIB} ${.TARGET}
X
Xlib${LIB}.so.${SHLIB_VER}: ${SOBJS}
X	@${ECHO} building shared ${LIB} library \(version ${SHLIB_VER}\)
X	@rm -f ${.TARGET}
X	${CC} -shared -Wl,-x -o ${.TARGET} `lorder ${SOBJS} | tsort -q`
X
Xall: depend lib${LIB}.a lib${LIB}.so.${SHLIB_VER}
X
Xinstall:
X	@mkdir -p ${PREFIX}/lib
X	@mkdir -p ${PREFIX}/include
X	${INSTALL} -c -m 644 lib${LIB}.a ${PREFIX}/lib
X	${RANLIB} -t ${PREFIX}/lib/lib${LIB}.a
X	${INSTALL} -c -m 644 lib${LIB}.so.${SHLIB_VER}=
 ${PREFIX}/lib
X	/sbin/ldconfig -m ${PREFIX}/lib
X.for file in ${HDRS}
X	${INSTALL} -c -m 644 ${file} ${PREFIX}/include
X.endfor
X
Xclean:
X	rm -f *.o *.so lib${LIB}.a lib${LIB}.so.${SHLIB_VER}
X
Xdistclean: clean
X	rm -f .depend
X
Xdepend:
X	mkdep ${CFLAGS} ${SRCS}
X
END-of-cgihtml/files/Makefile
echo c - cgihtml/pkg
mkdir -p cgihtml/pkg > /dev/null 2>&1
echo x - cgihtml/pkg/PLIST
sed 's/^X//' >cgihtml/pkg/PLIST <<=
 'END-of-cgihtml/pkg/PLIST'
Xinclude/string-lib.h
Xinclude/html-lib.h
Xinclude/cgi-llist.h
Xinclude/cgi-lib.h
Xlib/libcgihtml.a
Xlib/libcgihtml.so.1.0
X@exec /sbin/ldconfig -m=
 %B
Xshare/doc/cgihtml/CHANGES
Xshare/doc/cgihtml/CREDITS
Xshare/doc/cgihtml/README
Xshare/doc/cgihtml/TODO
Xshare/doc/cgihtml/html/cgihtml.html
Xshare/doc/cgihtml/html/cgihtml_0.html
Xshare/doc/cgihtml/html/cgihtml_1.html
Xshare/doc/cgihtml/html/cgihtml_2.html
Xshare/doc/cgihtml/html/cgihtml_3.html
Xshare/doc/cgihtml/html/cgihtml_4.html
Xshare/doc/cgihtml/html/cgihtml_5.html
X@dirrm share/doc/cgihtml/html
X@dirrm share/doc/cgihtml
END-of-cgihtml/pkg/PLIST
echo x - cgihtml/pkg/COMMENT
sed 's/^X//' >cgihtml/pkg/COMMENT << 'END-of-cgihtml/pkg/COMMENT'
XLibrary that simplifies the task of writing CGI programs in=
 C.
END-of-cgihtml/pkg/COMMENT
echo x - cgihtml/pkg/DESCR
sed 's/^X//' >cgihtml/pkg/DESCR << 'END-of-cgihtml/pkg/DESCR'
XCgihtml is a C library that simplifies the task of parsing World Wide Web=
 
X(WWW) Common Gateway Interface (CGI) input and outputting HyperText Markup=
 
XLanguage (HTML). Tasks which would normally require many lines of C can be=
 
Xreduced to just a few.
END-of-cgihtml/pkg/DESCR
exit


--=====================_878664905==_
Content-Type: text/plain; charset="us-ascii"



--=====================_878664905==_--




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