aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits/gtk-sharp10
diff options
context:
space:
mode:
Diffstat (limited to 'x11-toolkits/gtk-sharp10')
-rw-r--r--x11-toolkits/gtk-sharp10/Makefile4
-rw-r--r--x11-toolkits/gtk-sharp10/pkg-plist2
2 files changed, 6 insertions, 0 deletions
diff --git a/x11-toolkits/gtk-sharp10/Makefile b/x11-toolkits/gtk-sharp10/Makefile
index 9a253eadaff4..da627a328ba8 100644
--- a/x11-toolkits/gtk-sharp10/Makefile
+++ b/x11-toolkits/gtk-sharp10/Makefile
@@ -8,6 +8,7 @@
PORTNAME= gtk-sharp
PORTVERSION= 1.0.10
+PORTREVISION= 1
CATEGORIES= x11-toolkits
MASTER_SITES= http://go-mono.com/sources/${PORTNAME}/
@@ -31,4 +32,7 @@ post-patch:
@${FIND} ${WRKSRC} -name '*.pl' | ${XARGS} ${REINPLACE_CMD} -e \
's|^#!/usr/bin/perl|#!${PERL}|'
+pre-su-install:
+ ${MKDIR} ${LOCALBASE}/share/gapi
+
.include <bsd.port.mk>
diff --git a/x11-toolkits/gtk-sharp10/pkg-plist b/x11-toolkits/gtk-sharp10/pkg-plist
index 1d39dc72a74e..b25ad52dc1e4 100644
--- a/x11-toolkits/gtk-sharp10/pkg-plist
+++ b/x11-toolkits/gtk-sharp10/pkg-plist
@@ -117,3 +117,5 @@ share/gapi/vte-api.xml
@unexec rmdir %D/lib/mono/gac/atk-sharp 2> /dev/null || true
@dirrm lib/mono/gac/art-sharp/1.0.0.0__35e10195dab3c99f
@unexec rmdir %D/lib/mono/gac/art-sharp 2> /dev/null || true
+@exec mkdir -p %%LOCALBASE%%/share/gapi
+@unexec rmdir %%LOCALBASE%%/share/gapi 2>/dev/null || true