blob: 25bdaedc0c0861f75b220ab032d174de89c3b743 (
plain)
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
|
# Created by: Tom McLaughlin <tmclaugh@sdf.lonestar.org>
# $FreeBSD$
PORTNAME= mod_mono
PORTVERSION= 3.12
PORTREVISION= 1
CATEGORIES= www
MASTER_SITES= http://download.mono-project.com/sources/${PORTNAME}/
PKGNAMEPREFIX= ${APACHE_PKGNAMEPREFIX}
MAINTAINER= mono@FreeBSD.org
COMMENT= Apache module for serving ASP.NET applications
LICENSE= APACHE20
BUILD_DEPENDS= mono:lang/mono \
xsp:www/xsp
RUN_DEPENDS= mono:lang/mono \
xsp:www/xsp
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-static --man=${PREFIX}/man
INSTALL_TARGET= install
USES= apache:2.2+ libtool mono pkgconfig
.include <bsd.port.pre.mk>
MOD_MONOCONFDIR=${APACHEETCDIR}/Includes
PLIST_SUB+= MOD_MONOCONFDIR=${MOD_MONOCONFDIR}
post-patch:
@${REINPLACE_CMD} 's|%%MOD_MONOCONFDIR%%|${PREFIX}/${MOD_MONOCONFDIR}|g' \
${WRKSRC}/Makefile.in
@${REINPLACE_CMD} '/^mod_mono_la_LDFLAGS =/s/$$/ -avoid-version/' \
${WRKSRC}/src/Makefile.in
.include <bsd.port.post.mk>
|