e8c6ab42c6
- Convert munch of Makefile echo's to pkg-mesage - Add LICENSE_FILE - Silence post-patch PR: 200396 Submitted by: jeff@bovine.net (maintainer)
36 lines
856 B
Makefile
36 lines
856 B
Makefile
# Created by: Peter Lai <cowbert@gmail.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= mod_rivet
|
|
PORTVERSION= 2.2.3
|
|
CATEGORIES= www tcl
|
|
MASTER_SITES= APACHE/tcl/rivet
|
|
DISTNAME= rivet-${PORTVERSION}
|
|
|
|
MAINTAINER= jeff.lawson@flightaware.com
|
|
COMMENT= Embeds a Tcl interpreter in the Apache server
|
|
|
|
LICENSE= APACHE20
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
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
|
|
|
|
SUB_FILES= pkg-message
|
|
|
|
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
|
|
|
|
.include <bsd.port.mk>
|