# New ports collection makefile for: mod_dtcl # Date created: January 9, 1999 # Whom: Mikhail Teterin # # $FreeBSD$ # PORTNAME= mod_dtcl PORTVERSION= 0.12.0 PORTREVISION= 1 CATEGORIES= www tcl MASTER_SITES= http://tcl.apache.org/mod_dtcl/download/ PKGNAMEPREFIX= ${APACHE_PKGNAMEPREFIX} MAINTAINER= mi@aldan.algebra.com COMMENT= Embeds a TCL8 interpreter in the Apache server BUILD_DEPENDS= ${APXS}:${PORTSDIR}/${APACHE_PORT} MAKE_JOBS_SAFE= yes USE_TCL= 83+ WRKSRC= ${WRKDIR}/mod_dtcl MAKEFILE= ${FILESDIR}/Makefile.bsd USE_APACHE= 1.3 MAKE_ENV+= TCL_VERSION=${TCL_VER} .include .if ${OSVERSION} >= 800000 BROKEN= does not build .endif do-install: ${INSTALL_DATA} ${WRKSRC}/libmod_dtcl.so.1* \ ${PREFIX}/libexec/apache/mod_dtcl.so ${PREFIX}/sbin/apxs -e -A -n dtcl ${PREFIX}/libexec/apache/mod_dtcl.so .if !defined(NOPORTDOCS) ${MKDIR} ${PREFIX}/share/doc/mod_dtcl ${INSTALL_DATA} ${WRKSRC}/docs/*.?tml ${WRKSRC}/docs/*.gif \ ${PREFIX}/share/doc/mod_dtcl ${SED} 's,/usr/local,${LOCALBASE},g' ${PKGMESSAGE} .endif .include