aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/gmetadom/pkg-plist
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/gmetadom/pkg-plist')
-rw-r--r--textproc/gmetadom/pkg-plist2
1 files changed, 2 insertions, 0 deletions
diff --git a/textproc/gmetadom/pkg-plist b/textproc/gmetadom/pkg-plist
index f6896d4db103..768e2032ea83 100644
--- a/textproc/gmetadom/pkg-plist
+++ b/textproc/gmetadom/pkg-plist
@@ -154,6 +154,8 @@ libdata/pkgconfig/gdome2-cpp-smart.pc
@dirrm include/gmetadom/gdome_cpp_smart
@dirrm include/gmetadom
%%OCAML%%@dirrm lib/ocaml/gdome2
+@comment Shim to clean-up a previous bad install - this can be removed
+@comment PORTVERSION > 0.2.6
@exec if [ -d %D/lib/ocaml/gdome2 ] ; then /bin/rm -f %D/lib/ocaml/gdome2/* 2>/dev/null && /bin/rmdir %D/lib/ocaml/gdome2 2>/dev/null ; fi
@exec if [ -f %D/lib/ocaml/stublibs/dllmlgdome.so ] ; then /bin/rm -f %D/lib/ocaml/stublibs/dllmlgdome.so 2>/dev/null ; fi
@exec if [ -f %D/lib/ocaml/stublibs/dllmlgdome.so.owner ] ; then /bin/rm -f %D/lib/ocaml/stublibs/dllmlgdome.so.owner 2>/dev/null ; fi