pkgsrc/www/ap-dtcl/Makefile

40 lines
1.6 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.11 2001/03/27 03:20:21 hubertf Exp $
DISTNAME= mod_dtcl-0.8.12
PKGNAME= ap-dtcl-0.8.12
WRKSRC= ${WRKDIR}/mod_dtcl
CATEGORIES= www
MASTER_SITES= http://tcl.apache.org/mod_dtcl/download/
MAINTAINER= jwise@netbsd.org
HOMEPAGE= http://tcl.apache.org/
COMMENT= Simple, fast Tcl server side scripting for apache
DEPENDS+= apache-1.3.*:../../www/apache
DEPENDS+= tcl>=8.3.2:../../lang/tcl
# For "apxs":
BUILD_DEPENDS= perl-5.*:../../lang/perl5
Update ap-dtcl from 0.6.4 to 0.8.1 and adapt to tcl-8.3.2. Changes since 0.6.4-1: libapache-mod-dtcl (0.8.1-1) unstable; urgency=low * Put some code in as a workaround for systems with Tcl compiled against threads. -- David N. Welton <davidw@efn.org> Thu, 22 Jun 2000 01:42:26 +0200 libapache-mod-dtcl (0.8.0-1) unstable; urgency=low * Added information about building on HPUX. * Added support for .tcl files. * Fixed bug in HGetVars which manifests itself only when content negotiation is used. * Updated documentation. -- David N. Welton <davidw@efn.org> Tue, 16 May 2000 19:00:05 +0200 libapache-mod-dtcl (0.7.5-1) unstable; urgency=low * Changed hputs to use "" instead of {}, so that { and } may be escaped with backslashes. * Changed output format for errors. -- David N. Welton <davidw@efn.org> Wed, 19 Apr 2000 17:49:47 +0200 libapache-mod-dtcl (0.7.3-2) frozen unstable; urgency=low * Removed "code2html" target from build target. * Fixes #58431. -- David N. Welton <davidw@efn.org> Fri, 3 Mar 2000 13:11:23 +0100 libapache-mod-dtcl (0.7.3-1) frozen unstable; urgency=low * Fixes GET argument parsing bug. * Changed argument parsing to create one list and avoid sublists. -- David N. Welton <davidw@efn.org> Sat, 22 Jan 2000 20:46:34 -0800 libapache-mod-dtcl (0.7.0-2) unstable; urgency=low * Made hputs, include, and buffer_add commands safe for binary and sparse data. * Now able to output different mime types. -- David N. Welton <davidw@efn.org> Sat, 18 Dec 1999 18:50:29 -0800 libapache-mod-dtcl (0.7.0-1) unstable; urgency=low * Major overhaul of header and buffering system. * Several new commands. -- David N. Welton <davidw@efn.org> Sun, 5 Dec 1999 21:24:23 -0800 libapache-mod-dtcl (0.6.4-2) unstable; urgency=low * Fixed Lintian problems: * Set and remove links between /usr/doc and /usr/share/doc. * Added dh_installchangelogs. -- David N. Welton <davidw@efn.org> Sun, 14 Nov 1999 15:15:51 -0800
2000-08-30 02:22:18 +02:00
INCLUDES= -I${PREFIX}/include/
LIBS= -L${PREFIX}/lib -Wl,-R${PREFIX}/lib -ltcl83 -lm
do-build:
cd ${WRKSRC} && ${PREFIX}/sbin/apxs -DDTCL_VERSION=\\\"`cat ${WRKSRC}/VERSION`\\\" ${INCLUDES} ${LIBS} -c mod_dtcl.c
do-install:
@cd ${WRKSRC} && ${PREFIX}/sbin/apxs -i mod_dtcl.so
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/mod_dtcl
${INSTALL_DATA} ${WRKSRC}/docs/*.html ${PREFIX}/share/doc/mod_dtcl
${INSTALL_DATA} ${WRKSRC}/docs/*.gif ${PREFIX}/share/doc/mod_dtcl
${INSTALL_DATA} ${WRKSRC}/docs/*.txt ${PREFIX}/share/doc/mod_dtcl
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/mod_dtcl
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/mod_dtcl/tests
${INSTALL_DATA} ${WRKSRC}/tests/README ${PREFIX}/share/examples/mod_dtcl/tests
${INSTALL_DATA} ${WRKSRC}/tests/dtcl-test.ttml ${PREFIX}/share/examples/mod_dtcl/tests
${INSTALL_DATA} ${WRKSRC}/tests/dtcl.test ${PREFIX}/share/examples/mod_dtcl/tests
Update ap-dtcl from 0.6.4 to 0.8.1 and adapt to tcl-8.3.2. Changes since 0.6.4-1: libapache-mod-dtcl (0.8.1-1) unstable; urgency=low * Put some code in as a workaround for systems with Tcl compiled against threads. -- David N. Welton <davidw@efn.org> Thu, 22 Jun 2000 01:42:26 +0200 libapache-mod-dtcl (0.8.0-1) unstable; urgency=low * Added information about building on HPUX. * Added support for .tcl files. * Fixed bug in HGetVars which manifests itself only when content negotiation is used. * Updated documentation. -- David N. Welton <davidw@efn.org> Tue, 16 May 2000 19:00:05 +0200 libapache-mod-dtcl (0.7.5-1) unstable; urgency=low * Changed hputs to use "" instead of {}, so that { and } may be escaped with backslashes. * Changed output format for errors. -- David N. Welton <davidw@efn.org> Wed, 19 Apr 2000 17:49:47 +0200 libapache-mod-dtcl (0.7.3-2) frozen unstable; urgency=low * Removed "code2html" target from build target. * Fixes #58431. -- David N. Welton <davidw@efn.org> Fri, 3 Mar 2000 13:11:23 +0100 libapache-mod-dtcl (0.7.3-1) frozen unstable; urgency=low * Fixes GET argument parsing bug. * Changed argument parsing to create one list and avoid sublists. -- David N. Welton <davidw@efn.org> Sat, 22 Jan 2000 20:46:34 -0800 libapache-mod-dtcl (0.7.0-2) unstable; urgency=low * Made hputs, include, and buffer_add commands safe for binary and sparse data. * Now able to output different mime types. -- David N. Welton <davidw@efn.org> Sat, 18 Dec 1999 18:50:29 -0800 libapache-mod-dtcl (0.7.0-1) unstable; urgency=low * Major overhaul of header and buffering system. * Several new commands. -- David N. Welton <davidw@efn.org> Sun, 5 Dec 1999 21:24:23 -0800 libapache-mod-dtcl (0.6.4-2) unstable; urgency=low * Fixed Lintian problems: * Set and remove links between /usr/doc and /usr/share/doc. * Added dh_installchangelogs. -- David N. Welton <davidw@efn.org> Sun, 14 Nov 1999 15:15:51 -0800
2000-08-30 02:22:18 +02:00
${INSTALL_DATA} ${WRKSRC}/contrib/*.ttml ${PREFIX}/share/examples/mod_dtcl
${INSTALL_DATA} ${WRKSRC}/contrib/*.tcl ${PREFIX}/share/examples/mod_dtcl
${INSTALL_DATA} ${WRKSRC}/docs/examples.ttml ${PREFIX}/share/examples/mod_dtcl
.include "../../mk/bsd.pkg.mk"