2014-05-26 11:41:33 +00: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 16:36:31 +00:00
|
|
|
.if !empty(mono_ARGS)
|
2014-05-26 13:10:11 +00:00
|
|
|
IGNORE= USES=mono takes no arguments
|
2014-05-26 11:41:33 +00: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 12:58:43 +00:00
|
|
|
MAKE_ENV+= MONO_SHARED_DIR="${MONO_SHARED_DIR}" TZ=UTC
|
2014-05-26 11:41:33 +00: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
|