mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-30 21:49:25 +00:00
10db431aa7
PR: 19878 Submitted by: maintainer
50 lines
1.4 KiB
Makefile
50 lines
1.4 KiB
Makefile
# 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.8.1.1
|
|
CATEGORIES= www tcl83
|
|
MASTER_SITES= http://master.debian.org/~davidw/mod_dtcl/
|
|
DISTNAME= libapache-mod-dtcl_0.8.1-1
|
|
|
|
MAINTAINER= mi@aldan.algebra.com
|
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/apache13
|
|
LIB_DEPENDS= tcl83:${PORTSDIR}/lang/tcl83
|
|
|
|
WRKSRC= ${WRKDIR}/mod_dtcl
|
|
|
|
MAKEFILE= ${FILESDIR}/Makefile.bsd
|
|
|
|
MAN1= testdtcl.1
|
|
MANCOMPRESSED= no
|
|
|
|
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
|
|
${INSTALL_PROGRAM} ${WRKSRC}/testdtcl ${PREFIX}/bin
|
|
${INSTALL_MAN} ${WRKSRC}/testdtcl.1 ${PREFIX}/man/man1/
|
|
${MKDIR} ${PREFIX}/share/mod_dtcl
|
|
${INSTALL_DATA} ${WRKSRC}/*.tcl ${PREFIX}/share/mod_dtcl
|
|
.if !defined(NOPORTDOCS)
|
|
${MKDIR} ${PREFIX}/share/doc/mod_dtcl
|
|
${INSTALL_DATA} ${WRKSRC}/*.?tml ${WRKSRC}/*.gif \
|
|
${PREFIX}/share/doc/mod_dtcl
|
|
${CAT} ${PKGMESSAGE}
|
|
.else
|
|
# Not installing the documentation. Consult the
|
|
# file:/${WRKSRC}/INSTALL.html
|
|
# for information on how to proceed to enable mod_dtcl.
|
|
# Note, that the dtcl.tcl mentioned there is installed as
|
|
# ${PREFIX}/share/mod_dtcl/dtcl.tcl
|
|
# but the comment in it suggests it should not be used
|
|
# in a "production environment"...
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|