2012-09-21 21:56:26 +02:00
|
|
|
# Created by: Peter Lai <cowbert@gmail.com>
|
2010-09-09 05:21:49 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= mod_rivet
|
2016-04-21 19:28:10 +02:00
|
|
|
PORTVERSION= 2.3.1
|
2010-09-09 05:21:49 +02:00
|
|
|
CATEGORIES= www tcl
|
2015-05-14 12:15:04 +02:00
|
|
|
MASTER_SITES= APACHE/tcl/rivet
|
2015-04-08 10:44:03 +02:00
|
|
|
DISTNAME= rivet-${PORTVERSION}
|
2010-09-09 05:21:49 +02:00
|
|
|
|
2014-03-16 22:30:48 +01:00
|
|
|
MAINTAINER= jeff.lawson@flightaware.com
|
2010-09-09 05:21:49 +02:00
|
|
|
COMMENT= Embeds a Tcl interpreter in the Apache server
|
|
|
|
|
2013-12-30 21:55:18 +01:00
|
|
|
LICENSE= APACHE20
|
2015-05-28 08:13:03 +02:00
|
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
2012-09-21 21:56:26 +02:00
|
|
|
|
2016-04-01 16:33:55 +02:00
|
|
|
LIB_DEPENDS= libitcl.so:lang/itcl
|
2010-09-09 05:21:49 +02:00
|
|
|
|
2011-08-20 19:27:52 +02:00
|
|
|
USE_APACHE= 22+
|
2012-01-18 05:50:40 +01:00
|
|
|
USE_LDCONFIG= ${PREFIX}/lib/rivet
|
2016-04-21 13:33:16 +02:00
|
|
|
USES+= gmake libtool tcl:85+,tea
|
2010-09-09 05:21:49 +02:00
|
|
|
|
2014-10-03 15:43:33 +02:00
|
|
|
INSTALL_TARGET= install-strip
|
2010-09-09 05:21:49 +02:00
|
|
|
|
2015-05-28 08:13:03 +02:00
|
|
|
SUB_FILES= pkg-message
|
|
|
|
|
2016-04-21 19:28:10 +02:00
|
|
|
CONFIGURE_ARGS+=--with-apxs=${APXS} \
|
2013-11-12 23:15:08 +01:00
|
|
|
--with-rivet-target-dir=${PREFIX}/lib/rivet
|
2010-09-09 05:21:49 +02:00
|
|
|
|
2012-01-18 05:50:40 +01:00
|
|
|
post-patch:
|
2015-05-28 08:13:03 +02:00
|
|
|
@${REINPLACE_CMD} -e 's|`$${apxs_found} -q LIBEXECDIR`|${PREFIX}/${APACHEMODDIR}|g' \
|
2014-10-03 15:43:33 +02:00
|
|
|
${WRKSRC}/configure
|
2012-01-18 05:50:40 +01:00
|
|
|
|
2013-11-12 23:15:08 +01:00
|
|
|
.include <bsd.port.mk>
|