aboutsummaryrefslogtreecommitdiff
path: root/www/mod_rivet/Makefile
blob: c7786bb785be33972c3e743479d610e84183835b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Created by: Peter Lai <cowbert@gmail.com>

PORTNAME=	mod_rivet
PORTVERSION=	3.2.0
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:lang/itcl

USES+=		apache:2.2-2.4 compiler:c11 gmake \
		libtool tcl:86+,tea
USE_LDCONFIG=	${PREFIX}/lib/rivet

INSTALL_TARGET=	install-strip

SUB_FILES=	pkg-message

CONFIGURE_ARGS+=--with-apxs=${APXS} \
		--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>