blob: 0a32fae7626d5b1490870a6427071c563ecf4074 (
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
# New ports collection makefile for: mod_mono
# Date created: 20040828
# Whom: Tom McLaughlin <tmclaugh@sdf.lonestar.org>
#
# $FreeBSD$
# $Id: Makefile,v 1.39 2007/12/13 19:35:47 killfill Exp $
#
PORTNAME= mod_mono
PORTVERSION= 2.4.3
PORTREVISION= 2
CATEGORIES= www
MASTER_SITES= http://ftp.novell.com/pub/mono/sources/${PORTNAME}/
MAINTAINER= mono@FreeBSD.org
COMMENT= Apache module for serving ASP.NET applications
LIB_DEPENDS= apr-1:${PORTSDIR}/devel/apr1
BUILD_DEPENDS= mono:${PORTSDIR}/lang/mono \
xsp:${PORTSDIR}/www/xsp
RUN_DEPENDS= mono:${PORTSDIR}/lang/mono \
xsp:${PORTSDIR}/www/xsp
USE_APACHE= 2.0+
USE_BZIP2= yes
USE_GNOME= gnometarget
USE_AUTOTOOLS= libtool:22
CONFIGURE_ARGS= --man=${PREFIX}/man
MAN8= mod_mono.8
.include <bsd.port.pre.mk>
.if ${APACHE_VERSION} == 13
MOD_MONOCONFDIR=${APACHEETCDIR}
.else
MOD_MONOCONFDIR=${APACHEETCDIR}/Includes
.endif
PLIST_SUB+= MOD_MONOCONFDIR=${MOD_MONOCONFDIR}
post-patch:
@${REINPLACE_CMD} 's|%%MOD_MONOCONFDIR%%|${PREFIX}/${MOD_MONOCONFDIR}|g' \
${WRKSRC}/Makefile.in
.include "${.CURDIR}/../../lang/mono/bsd.mono.mk"
.include <bsd.port.post.mk>
|