From 2b4538f7ef26a6534ba036823e9a8ce702664014 Mon Sep 17 00:00:00 2001 From: mezz Date: Fri, 23 Jul 2004 00:58:12 +0000 Subject: Add a manual of mkdir the plugin directory. Hint, hint, it's on the way. I just need to finish the pre-everything. It's about over 30 plugins so far. ;-) But, about 1/4 are not work, crash, can't load or untest. There are few things that I will need to update few ports and create a new port to allow some of plugins work. I disable them for now, however. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@2541 df743ca5-7f9a-e211-a948-0013205c9059 --- editors/AbiWord2/Makefile | 2 ++ editors/AbiWord2/pkg-install | 5 +++++ editors/AbiWord2/pkg-plist | 2 ++ 3 files changed, 9 insertions(+) create mode 100644 editors/AbiWord2/pkg-install (limited to 'editors') 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%% -- cgit v1.2.3