mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-28 05:29:48 +00:00
b59a04e94c
configure.ac:53: error: possibly undefined macro: AC_DISABLE_STATIC If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation. configure:6086: error: possibly undefined macro: m4_ifval configure:9277: error: possibly undefined macro: _LT_SET_OPTIONS configure:9277: error: possibly undefined macro: LT_INIT gmake: *** [configure] Error 1 *** Error code 1 Reported by: pkg-fallout since november 2013
52 lines
1.5 KiB
Makefile
52 lines
1.5 KiB
Makefile
# Created by: Peter Lai <cowbert@gmail.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= mod_rivet
|
|
PORTVERSION= 2.1.3
|
|
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
|
|
|
|
BROKEN= Does not configure
|
|
|
|
LICENSE= APACHE20
|
|
|
|
LIB_DEPENDS= libitcl.so:${PORTSDIR}/lang/itcl
|
|
|
|
USE_APACHE= 22+
|
|
USE_AUTOTOOLS= aclocal automake
|
|
USE_LDCONFIG= ${PREFIX}/lib/rivet
|
|
USES+= gmake tcl:85+
|
|
|
|
INSTALL_TARGET= install
|
|
|
|
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.ac ${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>
|