mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-19 03:52:17 +00:00
53 lines
1.4 KiB
Makefile
53 lines
1.4 KiB
Makefile
# New ports collection makefile for: mod_rivet
|
|
# Date created: June 16, 2010
|
|
# Whom: Peter Lai <cowbert@gmail.com>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= mod_rivet
|
|
PORTVERSION= 2.0.2
|
|
CATEGORIES= www tcl
|
|
MASTER_SITES= ${MASTER_SITE_APACHE}
|
|
MASTER_SITE_SUBDIR= tcl/rivet
|
|
DISTNAME= rivet-${PORTVERSION}
|
|
|
|
MAINTAINER= cowbert@gmail.com
|
|
COMMENT= Embeds a Tcl interpreter in the Apache server
|
|
|
|
WRKSRC= ${WRKDIR}/libapache2-mod-rivet-${PORTVERSION}
|
|
|
|
MAKE_JOBS_SAFE= yes
|
|
LICENSE= ASL
|
|
|
|
USE_APACHE= 22+
|
|
USE_AUTOTOOLS= automake autoconf
|
|
USE_TCL= 84+
|
|
GMAKE= yes
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
CONFIGURE_ARGS+= --with-apache-version=2 \
|
|
--prefix=${PREFIX} --with-apxs=${APXS} \
|
|
--with-tcl=${TCL_LIBDIR} --with-tclsh=${TCLSH} \
|
|
--with-rivet-target-dir=${PREFIX}/lib/rivet
|
|
|
|
post-install:
|
|
@${ECHO_MSG} ""
|
|
@${ECHO_MSG} "===================================================="
|
|
@${ECHO_MSG} "Remember to modify your apache configuration file
|
|
@${ECHO_MSG} "to load mod_rivet and set the appropriate handlers:"
|
|
@${ECHO_MSG} ""
|
|
@${ECHO_MSG} "LoadModule rivet_module ${APACHEMODDIR}/mod_rivet.so"
|
|
@${ECHO_MSG} ""
|
|
@${ECHO_MSG} "AddType application/x-httpd-rivet .rvt"
|
|
@${ECHO_MSG} "AddType application/x-rivet-tcl .tcl"
|
|
@${ECHO_MSG} ""
|
|
@${ECHO_MSG} "Visit http://tcl.apache.org/rivet/ for documentation"
|
|
@${ECHO_MSG} ""
|
|
@${ECHO_MSG} "===================================================="
|
|
|
|
.include <bsd.port.post.mk>
|