aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormezz <mezz@FreeBSD.org>2005-08-03 10:34:06 +0800
committermezz <mezz@FreeBSD.org>2005-08-03 10:34:06 +0800
commit50dd66a7a0b65a98fb061efcd39a0a76d24ea236 (patch)
treea17234e06e3810094d4f448e1386dd47f0ea98b4
parent513232b3924975f0ff09991bf4b4db77fb3353c8 (diff)
downloadfreebsd-ports-gnome-50dd66a7a0b65a98fb061efcd39a0a76d24ea236.tar.gz
freebsd-ports-gnome-50dd66a7a0b65a98fb061efcd39a0a76d24ea236.tar.zst
freebsd-ports-gnome-50dd66a7a0b65a98fb061efcd39a0a76d24ea236.zip
Fix the plist by taking care of directories in X11BASE too.
lib/mono/1.0 lib/mono/2.0 Approved by: portmgr (marcus) Reported by: krion via pointyhat
-rw-r--r--lang/mono/Makefile4
-rw-r--r--lang/mono/pkg-plist4
2 files changed, 7 insertions, 1 deletions
diff --git a/lang/mono/Makefile b/lang/mono/Makefile
index b6e2f3f8223a..979f6c30d795 100644
--- a/lang/mono/Makefile
+++ b/lang/mono/Makefile
@@ -8,7 +8,7 @@
PORTNAME= mono
PORTVERSION= 1.1.8.2
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= lang
MASTER_SITES= http://www.go-mono.com/sources/mono-1.1/
@@ -73,6 +73,8 @@ tests: build
${MAKE_FLAGS} Makefile ${MAKE_ARGS} test)
pre-su-install:
+ ${MKDIR} ${X11BASE}/lib/mono/1.0
+ ${MKDIR} ${X11BASE}/lib/mono/2.0
${MKDIR} ${X11BASE}/lib/mono/gac
.include <bsd.port.post.mk>
diff --git a/lang/mono/pkg-plist b/lang/mono/pkg-plist
index c266b69ba288..208368ebb989 100644
--- a/lang/mono/pkg-plist
+++ b/lang/mono/pkg-plist
@@ -691,6 +691,10 @@ share/jay/skeleton.cs
@dirrm etc/mono/2.0
@dirrm etc/mono/1.0
@dirrm etc/mono
+@exec mkdir -p %%X11BASE%%/lib/mono/1.0
+@exec mkdir -p %%X11BASE%%/lib/mono/2.0
@exec mkdir -p %%X11BASE%%/lib/mono/gac
@unexec rmdir %%X11BASE%%/lib/mono/gac 2>/dev/null || true
+@unexec rmdir %%X11BASE%%/lib/mono/2.0 2>/dev/null || true
+@unexec rmdir %%X11BASE%%/lib/mono/1.0 2>/dev/null || true
@unexec rmdir %%X11BASE%%/lib/mono 2>/dev/null || true