summaryrefslogtreecommitdiffstats
path: root/editors/AbiWord2
diff options
context:
space:
mode:
Diffstat (limited to 'editors/AbiWord2')
-rw-r--r--editors/AbiWord2/Makefile2
-rw-r--r--editors/AbiWord2/pkg-install5
-rw-r--r--editors/AbiWord2/pkg-plist2
3 files changed, 9 insertions, 0 deletions
diff --git a/editors/AbiWord2/Makefile b/editors/AbiWord2/Makefile
index b6abe39b6..daabfd96f 100644
--- a/editors/AbiWord2/Makefile
+++ b/editors/AbiWord2/Makefile
@@ -7,6 +7,7 @@
PORTNAME= AbiWord2
PORTVERSION= 2.1.3
+PORTREVISION= 1
CATEGORIES= editors
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
http://www.abisource.com/downloads/Version-${PORTVERSION}/lf/
@@ -88,6 +89,7 @@ post-patch:
s|[(]libdir[)]/bonobo/servers|(prefix)/libdata/bonobo/servers|g'
post-install:
+ @${MKDIR} ${PREFIX}/lib/AbiWord-${ABIVERSION}/plugins
.if defined(GNOME_ENABLED)
@${INSTALL_DATA} ${WRKSRC}/abiword.desktop \
${X11BASE}/share/gnome/apps/Applications/abiword.desktop
diff --git a/editors/AbiWord2/pkg-install b/editors/AbiWord2/pkg-install
new file mode 100644
index 000000000..a499e32b7
--- /dev/null
+++ b/editors/AbiWord2/pkg-install
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+if [ "$2" = "POST-INSTALL" ]; then
+ mkdir -p ${PKG_PREFIX}/lib/AbiWord-2.2/plugins
+fi
diff --git a/editors/AbiWord2/pkg-plist b/editors/AbiWord2/pkg-plist
index a36a710c8..02755c38a 100644
--- a/editors/AbiWord2/pkg-plist
+++ b/editors/AbiWord2/pkg-plist
@@ -278,3 +278,5 @@ share/AbiSuite-%%ABIVERSION%%/templates/normal.awt-zh_TW
@dirrm share/AbiSuite-%%ABIVERSION%%/AbiWord/glade
@dirrm share/AbiSuite-%%ABIVERSION%%/AbiWord
@dirrm share/AbiSuite-%%ABIVERSION%%
+@dirrm lib/AbiWord-%%ABIVERSION%%/plugins
+@dirrm lib/AbiWord-%%ABIVERSION%%