2014-05-26 13:41:33 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
# mono (c#) support
|
|
|
|
#
|
|
|
|
# Feature: mono
|
|
|
|
# Usage: USES=mono
|
|
|
|
#
|
|
|
|
# MAINTAINER= mono@FreeBSD.org
|
|
|
|
|
|
|
|
.if !defined(_INCLUDE_USES_MONO_MK)
|
|
|
|
_INCLUDE_USES_MONO_MK= yes
|
|
|
|
|
2014-09-28 18:36:31 +02:00
|
|
|
.if !empty(mono_ARGS)
|
2014-05-26 15:10:11 +02:00
|
|
|
IGNORE= USES=mono takes no arguments
|
2014-05-26 13:41:33 +02:00
|
|
|
.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}"
|
2015-03-10 13:58:43 +01:00
|
|
|
MAKE_ENV+= MONO_SHARED_DIR="${MONO_SHARED_DIR}" TZ=UTC
|
2014-05-26 13:41:33 +02:00
|
|
|
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
|