# New ports collection makefile for: mod_mono # Date created: 20040828 # Whom: Tom McLaughlin # # $FreeBSD$ # $Id: Makefile,v 1.39 2007/12/13 19:35:47 killfill Exp $ # PORTNAME= mod_mono PORTVERSION= 2.10 PORTREVISION= 1 CATEGORIES= www MASTER_SITES= http://ftp.novell.com/pub/mono/sources/${PORTNAME}/ PKGNAMEPREFIX= ${APACHE_PKGNAMEPREFIX} MAINTAINER= mono@FreeBSD.org COMMENT= Apache module for serving ASP.NET applications BUILD_DEPENDS= mono:${PORTSDIR}/lang/mono \ xsp:${PORTSDIR}/www/xsp RUN_DEPENDS= mono:${PORTSDIR}/lang/mono \ xsp:${PORTSDIR}/www/xsp USE_APACHE= 20+ USE_BZIP2= yes USE_AUTOTOOLS= libtool CONFIGURE_ARGS= --man=${PREFIX}/man MAN8= mod_mono.8 .include .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