1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00

Move part of bsd.mono.mk into USES=mono

Drop code for nant support which is not used at all in the ports tree
Add dependency handling on lang/mono
Pass maintainership to mono@
This commit is contained in:
Baptiste Daroussin 2014-05-26 11:41:33 +00:00
parent 24c29c702f
commit 4f347620f2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=355304

33
Mk/Uses/mono.mk Normal file
View File

@ -0,0 +1,33 @@
# $FreeBSD$
#
# mono (c#) support
#
# Feature: mono
# Usage: USES=mono
#
# MAINTAINER= mono@FreeBSD.org
.if !defined(_INCLUDE_USES_MONO_MK)
_INCLUDE_USES_MONO_MK= yes
.if defined(objc_ARGS)
IGNORE= USES=objc takes no arguments
.endif
# Set the location of the .wapi directory so we write to a location we
# can always assume to be writable.
MONO_SHARED_DIR= ${WRKDIR}
CONFIGURE_ENV+= MONO_SHARED_DIR="${MONO_SHARED_DIR}"
MAKE_ENV+= MONO_SHARED_DIR="${MONO_SHARED_DIR}"
BUILD_DEPENDS+= mono:${PORTSDIR}/lang/mono
RUN_DEPENDS+= mono:${PORTSDIR}/lang/mono
# Set the location that webaps served by XSP should use.
XSP_DOCROOT= ${PREFIX}/www/xsp
# gac utilities
GACUTIL=${LOCALBASE}/bin/gacutil /root ${PREFIX}/lib/ /gacdir ${PREFIX}/lib
GACUTIL_INSTALL=${GACUTIL} /i
GACUTIL_INSTALL_PACKAGE=${GACUTIL} /i /package 1.0 /package 2.0
.endif