summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lang/mono/Makefile6
-rw-r--r--lang/mono/pkg-plist7
2 files changed, 10 insertions, 3 deletions
diff --git a/lang/mono/Makefile b/lang/mono/Makefile
index 2d02b14..8298733 100644
--- a/lang/mono/Makefile
+++ b/lang/mono/Makefile
@@ -2,12 +2,13 @@
# Date created: 22 July 2002
# Whom: Yukihiro Nakai <nakai@FreeBSD.org>
#
-# $Id: Makefile,v 1.16 2004/12/10 07:09:02 tmclau02 Exp $
+# $Id: Makefile,v 1.17 2005/01/09 23:53:24 mezz7 Exp $
# $FreeBSD$
#
PORTNAME= mono
PORTVERSION= 1.0.5
+PORTREVISION= 1
CATEGORIES= lang
MASTER_SITES= http://www.go-mono.com/archive/${PORTVERSION}/
@@ -49,4 +50,7 @@ post-patch:
@${REINPLACE_CMD} -e 's|%%X11BASE%%|${X11BASE}|g' \
${WRKSRC}/mono/metadata/assembly.c
+pre-su-install:
+ ${MKDIR} ${X11BASE}/lib/mono/gac
+
.include <bsd.port.post.mk>
diff --git a/lang/mono/pkg-plist b/lang/mono/pkg-plist
index 6c0e303..4b092c3 100644
--- a/lang/mono/pkg-plist
+++ b/lang/mono/pkg-plist
@@ -339,10 +339,10 @@ share/mono/cil/cil-opcodes.xml
@dirrm lib/mono/gac/ByteFX.Data
@dirrm lib/mono/gac/Accessibility/1.0.5000.0__b03f5f7f11d50a3a
@dirrm lib/mono/gac/Accessibility
-@dirrm lib/mono/gac
+@unexec rmdir %D/lib/mono/gac 2>/dev/null || true
@dirrm lib/mono/2.0
@dirrm lib/mono/1.0
-@dirrm lib/mono
+@unexec rmdir %D/lib/mono 2>/dev/null || true
@dirrm include/mono/utils
@dirrm include/mono/private
@dirrm include/mono/metadata
@@ -352,3 +352,6 @@ share/mono/cil/cil-opcodes.xml
@dirrm include/mono/cil
@dirrm include/mono
@dirrm etc/mono
+@exec mkdir -p %%X11BASE%%/lib/mono/gac
+@unexec rmdir %%X11BASE%%/lib/mono/gac 2>/dev/null || true
+@unexec rmdir %%X11BASE%%/lib/mono 2>/dev/null || true
OpenPOWER on IntegriCloud