aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormezz <mezz@FreeBSD.org>2005-01-21 14:13:48 +0800
committermezz <mezz@FreeBSD.org>2005-01-21 14:13:48 +0800
commit58d5631dc6df35093d3b58b1e5b19ca89d4dfbba (patch)
treed4788d8eae0c3cf6f0a1b34969ff2d8312ddec7e
parent247ce61c789b08ac9130755d1b3cd3b477189ebe (diff)
downloadfreebsd-ports-gnome-58d5631dc6df35093d3b58b1e5b19ca89d4dfbba.tar.gz
freebsd-ports-gnome-58d5631dc6df35093d3b58b1e5b19ca89d4dfbba.tar.zst
freebsd-ports-gnome-58d5631dc6df35093d3b58b1e5b19ca89d4dfbba.zip
Fix the pkg-plist issue in gtk-sharp when it installs in mono's directory. Let
mono to take of ${X11BASE} directories same as in ${LOCALBASE}. Project by: BSD# - http://forge.novell.com/modules/xfmod/project/?bsd-sharp Approved by: maintainer timeout (still no contact for months)
-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 2d02b14a0060..8298733e8aea 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 6c0e303ae067..4b092c3d5ae1 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