1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-12 03:00:28 +00:00
freebsd-ports/www/mod_mono/Makefile
Mathieu Arnold 72ea7e696b Remove ${PORTSDIR}/ from dependencies, categories v, w, x, y, and z.
With hat:	portmgr
Sponsored by:	Absolight
2016-04-01 14:33:55 +00:00

43 lines
999 B
Makefile

# Created by: Tom McLaughlin <tmclaugh@sdf.lonestar.org>
# $FreeBSD$
PORTNAME= mod_mono
PORTVERSION= 3.12
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= libtool mono pkgconfig
USE_APACHE= 22+
.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
@${REINPLACE_CMD} '/^mod_mono_la_LDFLAGS =/s/$$/ -avoid-version/' \
${WRKSRC}/src/Makefile.in
.include <bsd.port.post.mk>