1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00
freebsd-ports/www/mod_mono/Makefile
David Naylor c8bed2b47d www/mod_mono: update to 3.13
- fix ordering of variables
 - remove mono dependency (as it is provided by USES=mono)
 - no change (log)
2018-06-30 10:05:16 +00:00

35 lines
882 B
Makefile

# Created by: Tom McLaughlin <tmclaugh@sdf.lonestar.org>
# $FreeBSD$
PORTNAME= mod_mono
PORTVERSION= 3.13
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
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= xsp:www/xsp
RUN_DEPENDS= xsp:www/xsp
USES= apache:2.2+ libtool mono pkgconfig
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-static --man=${PREFIX}/man
INSTALL_TARGET= install
PLIST_SUB= MOD_MONOCONFDIR=${MOD_MONOCONFDIR}
MOD_MONOCONFDIR=${APACHEETCDIR}/Includes
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.mk>