1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-12 03:00:28 +00:00
freebsd-ports/www/mod_rivet/Makefile
Vanilla I. Shu 080771aa2d Upgrade to 2.2.1.
PR:		199280
Submitted by:	maintainer
2015-04-08 08:44:03 +00:00

50 lines
1.4 KiB
Makefile

# Created by: Peter Lai <cowbert@gmail.com>
# $FreeBSD$
PORTNAME= mod_rivet
PORTVERSION= 2.2.1
CATEGORIES= www tcl
MASTER_SITES= ${MASTER_SITE_APACHE}
MASTER_SITE_SUBDIR= tcl/rivet
DISTNAME= rivet-${PORTVERSION}
MAINTAINER= jeff.lawson@flightaware.com
COMMENT= Embeds a Tcl interpreter in the Apache server
LICENSE= APACHE20
LIB_DEPENDS= libitcl.so:${PORTSDIR}/lang/itcl
GNU_CONFIGURE= yes
USE_APACHE= 22+
USE_LDCONFIG= ${PREFIX}/lib/rivet
USES+= gmake libtool tcl:85+
INSTALL_TARGET= install-strip
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-patch:
${REINPLACE_CMD} -e 's|`$${apxs_found} -q LIBEXECDIR`|${PREFIX}/${APACHEMODDIR}|g' \
${WRKSRC}/configure
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.mk>