diff options
author | jwise <jwise@pkgsrc.org> | 1999-11-12 19:59:56 +0000 |
---|---|---|
committer | jwise <jwise@pkgsrc.org> | 1999-11-12 19:59:56 +0000 |
commit | 89855e97263808a7bcc65a31e97cb7899bd4abd0 (patch) | |
tree | 65caa62ef190c4d28e19bbad37c9e480b1395140 /www/ap-dtcl | |
parent | 3aaf173785758763c55d749d563b681f06cbf70e (diff) | |
download | pkgsrc-89855e97263808a7bcc65a31e97cb7899bd4abd0.tar.gz |
Install testdtcl, a deprecated but useful command line dynamic tcl/html
utility which is included with mod_dtcl. This also means moving the
scripts testdtcl depends on from ${PREFIX}/share/examples/mod_dtcl/*tcl
to ${PREFIX}/libexec/mod_dtcl/
Diffstat (limited to 'www/ap-dtcl')
-rw-r--r-- | www/ap-dtcl/Makefile | 19 | ||||
-rw-r--r-- | www/ap-dtcl/pkg/PLIST | 13 |
2 files changed, 22 insertions, 10 deletions
diff --git a/www/ap-dtcl/Makefile b/www/ap-dtcl/Makefile index eb3801a1752..d0971cd40c7 100644 --- a/www/ap-dtcl/Makefile +++ b/www/ap-dtcl/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1.1.1 1999/11/12 15:52:54 jwise Exp $ +# $NetBSD: Makefile,v 1.2 1999/11/12 19:59:56 jwise Exp $ DISTNAME= libapache-mod-dtcl_0.6.4-1 PKGNAME= ap-dtcl-0.6.4 @@ -14,15 +14,24 @@ DEPENDS+= tcl-*:../../lang/tcl80 # For "apxs": BUILD_DEPENDS= ${LOCALBASE}/bin/perl:../../lang/perl5 +INCLUDES= -I${PREFIX}/include/tcl8.0 +LIBS= -L${PREFIX}/lib -Wl,-R${PREFIX}/lib -ltcl80 -lm + do-build: - @cd ${WRKSRC} && ${PREFIX}/sbin/apxs -I${PREFIX}/include/tcl8.0 \ - -L${PREFIX}/lib -Wl,-R${PREFIX}/lib -ltcl80 -lm -c mod_dtcl.c + cd ${WRKSRC} && ${PREFIX}/sbin/apxs ${INCLUDES} ${LIBS} -c mod_dtcl.c + cd ${WRKSRC} && ${CC} -DDEBUG_SCRIPT_DIR=\"${PREFIX}/libexec/mod_dtcl/\" \ + ${INCLUDES} -o testdtcl testdtcl.c ${LIBS} + ${SED} -e s,/usr/lib,${PREFIX}/libexec,g < ${WRKSRC}/testdtcl.1 > ${WRKSRC}/testdtcl.1.new do-install: @cd ${WRKSRC} && ${PREFIX}/sbin/apxs -i mod_dtcl.so -${MKDIR} ${PREFIX}/share/doc/mod_dtcl - ${CP} ${WRKSRC}/*.html ${PREFIX}/share/doc/mod_dtcl + ${INSTALL_DATA} ${WRKSRC}/*.html ${PREFIX}/share/doc/mod_dtcl -${MKDIR} ${PREFIX}/share/examples/mod_dtcl - ${CP} ${WRKSRC}/*.tcl ${WRKSRC}/*.ttml ${PREFIX}/share/examples/mod_dtcl + ${INSTALL_DATA} ${WRKSRC}/*.ttml ${PREFIX}/share/examples/mod_dtcl + -${MKDIR} ${PREFIX}/libexec/mod_dtcl + ${INSTALL_DATA} ${WRKSRC}/*.tcl ${PREFIX}/libexec/mod_dtcl + ${INSTALL_PROGRAM} ${WRKSRC}/testdtcl ${PREFIX}/bin + ${INSTALL_DATA} ${WRKSRC}/testdtcl.1.new ${PREFIX}/man/man1/testdtcl.1 .include "../../mk/bsd.pkg.mk" diff --git a/www/ap-dtcl/pkg/PLIST b/www/ap-dtcl/pkg/PLIST index 88ba5993d27..92d59b9855e 100644 --- a/www/ap-dtcl/pkg/PLIST +++ b/www/ap-dtcl/pkg/PLIST @@ -1,15 +1,18 @@ -@comment $NetBSD: PLIST,v 1.1.1.1 1999/11/12 15:52:54 jwise Exp $ +@comment $NetBSD: PLIST,v 1.2 1999/11/12 19:59:57 jwise Exp $ +bin/testdtcl lib/httpd/mod_dtcl.so +libexec/mod_dtcl/dtcl.tcl +libexec/mod_dtcl/globalscript.tcl +libexec/mod_dtcl/infodebug.tcl +libexec/mod_dtcl/testdtcl.tcl +man/man1/testdtcl.1 share/doc/mod_dtcl/INSTALL.html share/doc/mod_dtcl/benchmark.html share/doc/mod_dtcl/dtcl-tcl.html share/doc/mod_dtcl/readme.html share/doc/mod_dtcl/table.html share/doc/mod_dtcl/use.html -share/examples/mod_dtcl/dtcl.tcl share/examples/mod_dtcl/examples.ttml -share/examples/mod_dtcl/globalscript.tcl -share/examples/mod_dtcl/infodebug.tcl -share/examples/mod_dtcl/testdtcl.tcl +@dirrm libexec/mod_dtcl @dirrm share/doc/mod_dtcl @dirrm share/examples/mod_dtcl |