mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-30 01:15:52 +00:00
42 lines
977 B
Makefile
42 lines
977 B
Makefile
# Created by: Tom McLaughlin <tmclaugh@sdf.lonestar.org>
|
|
# $FreeBSD$
|
|
|
|
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
|
|
|
|
USES= pkgconfig
|
|
USE_APACHE= 22
|
|
USE_BZIP2= yes
|
|
USE_AUTOTOOLS= libtool
|
|
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>
|