2006-06-02 20:27:54 +02:00
|
|
|
# $NetBSD: Makefile,v 1.27 2006/06/02 18:27:59 joerg Exp $
|
1999-11-12 16:52:54 +01:00
|
|
|
|
2002-04-19 20:32:37 +02:00
|
|
|
DISTNAME= mod_dtcl-0.11.6
|
2006-06-02 20:27:54 +02:00
|
|
|
PKGNAME= ap13-dtcl-0.11.2
|
1999-11-12 16:52:54 +01:00
|
|
|
CATEGORIES= www
|
2000-12-28 00:04:27 +01:00
|
|
|
MASTER_SITES= http://tcl.apache.org/mod_dtcl/download/
|
1999-11-12 16:52:54 +01:00
|
|
|
|
2003-07-18 00:50:55 +02:00
|
|
|
MAINTAINER= jwise@NetBSD.org
|
2000-12-28 00:04:27 +01:00
|
|
|
HOMEPAGE= http://tcl.apache.org/
|
2001-02-17 18:21:28 +01:00
|
|
|
COMMENT= Simple, fast Tcl server side scripting for apache
|
1999-11-12 16:52:54 +01:00
|
|
|
|
2006-06-02 20:27:54 +02:00
|
|
|
CONFLICTS= ap-dtcl-[0-9]*
|
|
|
|
|
2004-01-20 13:18:15 +01:00
|
|
|
WRKSRC= ${WRKDIR}/mod_dtcl
|
2005-01-12 23:31:44 +01:00
|
|
|
|
|
|
|
TCLSH= ${BUILDLINK_PREFIX.tcl}/bin/tclsh
|
|
|
|
CPPFLAGS+= -I${BUILDLINK_PREFIX.apache}/include/httpd -DEAPI
|
2001-05-24 05:04:05 +02:00
|
|
|
|
2005-12-05 21:49:47 +01:00
|
|
|
MAKE_ENV+= TCLSH=${TCLSH:Q}
|
|
|
|
MAKE_ENV+= INCLUDES=${CPPFLAGS:M*:Q}
|
2001-05-24 05:04:05 +02:00
|
|
|
|
2005-01-12 23:31:44 +01:00
|
|
|
APACHE_MODULE= yes
|
2001-05-24 05:04:05 +02:00
|
|
|
APACHEMODDIR= ${PREFIX}/lib/httpd
|
|
|
|
HTMLDIR= ${PREFIX}/share/doc/html/mod_dtcl
|
|
|
|
EGDIR= ${PREFIX}/share/examples/mod_dtcl
|
1999-11-12 20:59:56 +01:00
|
|
|
|
2005-01-12 23:31:44 +01:00
|
|
|
.include "../../lang/tcl/buildlink3.mk"
|
|
|
|
.include "../../www/apache/buildlink3.mk"
|
|
|
|
|
1999-11-12 16:52:54 +01:00
|
|
|
do-build:
|
2001-05-24 05:04:05 +02:00
|
|
|
@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${SH} builddtcl.sh
|
1999-11-12 16:52:54 +01:00
|
|
|
|
|
|
|
do-install:
|
2005-06-17 05:50:19 +02:00
|
|
|
${INSTALL_DATA_DIR} ${APACHEMODDIR}
|
2001-05-24 05:04:05 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/mod_dtcl.so ${APACHEMODDIR}
|
|
|
|
${INSTALL_DATA_DIR} ${HTMLDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/docs/*.gif ${HTMLDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/docs/*.html ${HTMLDIR}
|
|
|
|
${INSTALL_DATA_DIR} ${EGDIR}/tests
|
|
|
|
cd ${WRKSRC}; ${INSTALL_DATA} tests/README ${EGDIR}/tests
|
2002-04-19 20:32:37 +02:00
|
|
|
cd ${WRKSRC}; ${INSTALL_DATA} tests/dtcl-test.tcl ${EGDIR}/tests
|
|
|
|
cd ${WRKSRC}; ${INSTALL_DATA} tests/dtcl-test2.ttml ${EGDIR}/tests
|
2001-05-24 05:04:05 +02:00
|
|
|
cd ${WRKSRC}; ${INSTALL_DATA} tests/dtcl.test ${EGDIR}/tests
|
2002-04-19 20:32:37 +02:00
|
|
|
cd ${WRKSRC}; ${INSTALL_DATA} tests/makeconf.tcl ${EGDIR}/tests
|
|
|
|
cd ${WRKSRC}; ${INSTALL_DATA} tests/runtests.tcl ${EGDIR}/tests
|
|
|
|
cd ${WRKSRC}; ${INSTALL_DATA} tests/template.conf.tcl ${EGDIR}/tests
|
2001-05-24 05:04:05 +02:00
|
|
|
cd ${WRKSRC}; ${INSTALL_DATA} contrib/*.ttml ${EGDIR}
|
|
|
|
cd ${WRKSRC}; ${INSTALL_DATA} contrib/*.tcl ${EGDIR}
|
|
|
|
cd ${WRKSRC}; ${INSTALL_DATA} docs/examples.ttml ${EGDIR}
|
1999-11-12 16:52:54 +01:00
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|