summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2005-01-12 22:31:44 +0000
committerminskim <minskim@pkgsrc.org>2005-01-12 22:31:44 +0000
commitc3f79683372551de65b8e9f501fd3567b1a1748a (patch)
tree1d2ab69ded6725501b4ad690c200265d6b8cc9d6 /www
parent34bb5a42835549fd2446384b37115634950edf12 (diff)
downloadpkgsrc-c3f79683372551de65b8e9f501fd3567b1a1748a.tar.gz
Use the buildlink framewark and switch to Tcl-8.4.
Bump PKGREVISION due to the tcl dependency change.
Diffstat (limited to 'www')
-rw-r--r--www/ap-dtcl/Makefile16
1 files changed, 10 insertions, 6 deletions
diff --git a/www/ap-dtcl/Makefile b/www/ap-dtcl/Makefile
index b0d93bed6b9..2d8fba16311 100644
--- a/www/ap-dtcl/Makefile
+++ b/www/ap-dtcl/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.20 2004/03/08 19:52:52 minskim Exp $
+# $NetBSD: Makefile,v 1.21 2005/01/12 22:31:44 minskim Exp $
DISTNAME= mod_dtcl-0.11.6
PKGNAME= ap-dtcl-0.11.2
+PKGREVISION= 1
CATEGORIES= www
MASTER_SITES= http://tcl.apache.org/mod_dtcl/download/
@@ -9,20 +10,23 @@ MAINTAINER= jwise@NetBSD.org
HOMEPAGE= http://tcl.apache.org/
COMMENT= Simple, fast Tcl server side scripting for apache
-DEPENDS+= apache{,6}-1.3.*:../../www/apache
-DEPENDS+= tcl>=8.3.2nb2:../../lang/tcl83
-
WRKSRC= ${WRKDIR}/mod_dtcl
-TCLSH= ${LOCALBASE}/bin/tclsh
-CPPFLAGS+= -I${PREFIX}/include/httpd -DEAPI
+USE_BUILDLINK3= yes
+
+TCLSH= ${BUILDLINK_PREFIX.tcl}/bin/tclsh
+CPPFLAGS+= -I${BUILDLINK_PREFIX.apache}/include/httpd -DEAPI
MAKE_ENV+= TCLSH="${TCLSH}"
MAKE_ENV+= INCLUDES="${CPPFLAGS}"
+APACHE_MODULE= yes
APACHEMODDIR= ${PREFIX}/lib/httpd
HTMLDIR= ${PREFIX}/share/doc/html/mod_dtcl
EGDIR= ${PREFIX}/share/examples/mod_dtcl
+.include "../../lang/tcl/buildlink3.mk"
+.include "../../www/apache/buildlink3.mk"
+
do-build:
@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${SH} builddtcl.sh