From f6da1f0f806b7bdf8e419ee55f829703b7b653ef Mon Sep 17 00:00:00 2001 From: Jeremy Messenger Date: Wed, 3 Aug 2005 02:34:06 +0000 Subject: [PATCH] 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 --- lang/mono/Makefile | 4 +++- lang/mono/pkg-plist | 4 ++++ 2 files changed, 7 insertions(+), 1 deletion(-) 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 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