1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00
freebsd-ports/www/mod_mono/Makefile
Baptiste Daroussin 5027847d0b Support stage
Convert to:
USES=libtool
USES=mono
2014-05-26 13:24:21 +00:00

40 lines
944 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= libtool:oldver mono pkgconfig tar:bzip2
GNU_CONFIGURE= yes
USE_APACHE= 22
CONFIGURE_ARGS= --man=${PREFIX}/man
INSTALL_TARGET= install
.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 <bsd.port.post.mk>