diff options
author | bapt <bapt@FreeBSD.org> | 2014-05-26 19:41:33 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2014-05-26 19:41:33 +0800 |
commit | 55e3d8e7ae64b72989efaee9b659c24805d1aefa (patch) | |
tree | 9aef578920107944dd993bbc6e8926d0cce20c58 /Mk | |
parent | bdb56a77808233a653240a233ad68c77e9cf7d92 (diff) | |
download | freebsd-ports-gnome-55e3d8e7ae64b72989efaee9b659c24805d1aefa.tar.gz freebsd-ports-gnome-55e3d8e7ae64b72989efaee9b659c24805d1aefa.tar.zst freebsd-ports-gnome-55e3d8e7ae64b72989efaee9b659c24805d1aefa.zip |
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@
Diffstat (limited to 'Mk')
-rw-r--r-- | Mk/Uses/mono.mk | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/Mk/Uses/mono.mk b/Mk/Uses/mono.mk new file mode 100644 index 000000000000..fad2245778ca --- /dev/null +++ b/Mk/Uses/mono.mk @@ -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 |