aboutsummaryrefslogtreecommitdiffstats
path: root/lang/mono/bsd.mono.mk
diff options
context:
space:
mode:
Diffstat (limited to 'lang/mono/bsd.mono.mk')
-rw-r--r--lang/mono/bsd.mono.mk24
1 files changed, 24 insertions, 0 deletions
diff --git a/lang/mono/bsd.mono.mk b/lang/mono/bsd.mono.mk
new file mode 100644
index 000000000000..c7e0224c72a6
--- /dev/null
+++ b/lang/mono/bsd.mono.mk
@@ -0,0 +1,24 @@
+# New ports collection makefile for: Mono and it's consumers
+# Date created: 15 October 2005
+# Whom: Tom McLaughlin <tmclaugh@FreeBSD.org>
+#
+# bsd.mono.mk: accomodate the peculiarities of building C# ports within
+# the FreeBSD ports system.
+#
+# $FreeBSD$
+# $Id: bsd.mono.mk,v 1.5 2005/11/06 03:26:36 tmclau02 Exp $
+#
+
+# 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}"
+
+
+# Clean up the semaphore produced by the .wapi
+post-install: mono-semdel
+pre-clean: mono-semdel
+
+mono-semdel:
+ @${SETENV} MONO_SHARED_DIR="${MONO_SHARED_DIR}" ${LOCALBASE}/bin/mono-semdel 2> /dev/null || true