pkgsrc/www/tcl-cgi/Makefile

29 lines
725 B
Makefile
Raw Normal View History

2009-07-07 20:53:17 +02:00
# $NetBSD: Makefile,v 1.14 2009/07/07 18:53:17 joerg Exp $
#
DISTNAME= cgi.tcl
Update to tcl-cgi-1.3, and adapt to tcl-8.3.2. Changes since tcl-cgi-0.8 include: 5/19/00 1.3.0 Changed many cgi_puts to cgi_put in hopes of addressing more of Zygo's 5/9/00 complaint (i.e., same problem in tables). 5/9/00 1.2.2 Zygo Blaxell <zblaxell@feedme.hungrycats.org> provided signif. cgi_input regexp speedup for long x=y-style values. He also noted that some browsers are sensitive to leading/following \n's in textarea and provided a patch to avoid adding them in the first place. James Ward <jew@rincon.com> noted absence of pkgIndex.tcl (presumably due to really old Tcl) broke installation. Fixed pkgcreate to create stub file to allow Make to complete. Robin Lauren <robin.lauren@novostore.com> contributed the doc in HTML form. Really need to automate this now, sigh. Jan.Vlcek@sasprg.cz observed that converting %XX to \u00XX and then using subst is only good for us-ascii and corrupts iso8859-1, iso8859-2, etc. He provided a patch for cgi_unquote_input. Ross Mohn <rpmohn@waxandwane.com> corrected syntax error in cgi_span and made <hr> handle width= better. Tore Morkemo provided a patch to his prior patch for cgi_eval. Asari Hirotsugu <asari@math.uiuc.edu> provided additional installation advice for Mac. 12/27/99 1.2.1 Tore Morkemo noted expires=never value of 9999 inappropriate as Netscape ignores anything beyond mid-January 2038. Tore also provided patch for cgi_eval when running inside of a proc. 12/20/99 1.2.0 Keith Lea <keith@cs.oswego.edu> noted 2-digit years as per RFC2109. Despite RFC, Netscape now accepts 4-digit years. Some browsers won't like this but it hardly matters anyway since they'll do the wrong thing on old 2-digit years come Y2K anyway. Petrus Vloet noted example/nistguest missing from distrib. 12/18/99 1.1.0 Tomas Soucek" <tomas.soucek@sasprg.cz> noted cgi_input was adding eol characters to uploaded files if they didn't contain them. Fixed this and also enhanced file upload example so that it could do both cat/od and also warn when Tcl couldn't do binary upload. Added braces around unprotected expressions. Added check to unimail example for HTTP_REFERER. Petrus Vloet requested Makefile install example data files. Added img.cgi example and modified frame example so it accepts "example=whatever" so that I can post URLs that go right to a particular example and have it framed. 9/12/99 1.0.0 Bumped version to 1 to pacify management. Jeffrey Hobbs rewrote cgi_unquote_input to take advantage of 8.2 features. 300% speed improvement! 7/16/99 0.8.1 Douglas Ridgway provided mod to make cgi_image_button handle optional args. Made code use straight cgi_input_multipart if on Tcl 8.1. Jeffrey Hobbs provided cgi_unquote_input that works better for 8.1. Petrus Vloet <petrus.vloet@siemens.at> requested sample data files for examples that need them; ability to change example install destination.
2000-08-30 17:42:58 +02:00
PKGNAME= tcl-cgi-1.3.0
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_BACKUP}
2003-07-18 00:50:55 +02:00
MAINTAINER= bouyer@NetBSD.org
HOMEPAGE= http://expect.nist.gov/cgi.tcl/
COMMENT= Library of Tcl procedures to assist in writing CGI scripts
2009-07-07 20:53:17 +02:00
PKG_DESTDIR_SUPPORT= user-destdir
2004-04-13 04:57:02 +02:00
DEPENDS+= tcl>=8.3.2:../../lang/tcl
1999-07-07 18:07:09 +02:00
WRKSRC= ${WRKDIR}/cgi.tcl-1.3
DIST_SUBDIR= ${PKGNAME_NOREV}
GNU_CONFIGURE= yes
2009-07-07 20:53:17 +02:00
INSTALLATION_DIRS= share/doc/tcl/cgi-tcl share/examples/tcl/cgi-tcl
post-install:
2009-07-07 20:53:17 +02:00
${INSTALL_DATA} ${WRKSRC}/doc/* ${DESTDIR}${PREFIX}/share/doc/tcl/cgi-tcl
${INSTALL_DATA} ${WRKSRC}/example/* ${DESTDIR}${PREFIX}/share/examples/tcl/cgi-tcl
.include "../../mk/bsd.pkg.mk"