summaryrefslogtreecommitdiff
path: root/www/mod_dtcl/Makefile
blob: 959ac7db98f6d8dcb2ab450c7ddc521f1e9ba303 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# New ports collection makefile for:	mod_dtcl
# Date created:				January 9, 1999
# Whom:					Mikhail Teterin <mi@aldan.algebra.com>
#
# $FreeBSD$
#

PORTNAME=	mod_dtcl
PORTVERSION=	0.12.0
CATEGORIES=	www tcl83
MASTER_SITES=	http://tcl.apache.org/mod_dtcl/download/

MAINTAINER=	mi@aldan.algebra.com
COMMENT=	Embeds a TCL8 interpreter in the Apache server

BUILD_DEPENDS=	${APXS}:${PORTSDIR}/${APACHE_PORT}
LIB_DEPENDS=	tcl83:${PORTSDIR}/lang/tcl83

WRKSRC=		${WRKDIR}/mod_dtcl
MAKEFILE=	${FILESDIR}/Makefile.bsd
APACHE_COMPAT=	yes

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 <bsd.port.mk>