From 2ebbc9b6d9493f1180c9c286e9a5586ccc50cc70 Mon Sep 17 00:00:00 2001 From: Joe Marcus Clarke Date: Thu, 20 May 2004 05:53:54 +0000 Subject: * Update to 2.0.7 * Do not install GNOME files into the wrong location * Protect more files behind GNOME_ENABLED that rely on the GNOME heirarchy --- editors/AbiWord2/Makefile | 4 ++-- editors/AbiWord2/distinfo | 4 ++-- editors/AbiWord2/files/patch-GNUmakefile.am | 24 ++++++++++++++++++++---- editors/AbiWord2/pkg-plist | 6 ++---- 4 files changed, 26 insertions(+), 12 deletions(-) (limited to 'editors/AbiWord2') diff --git a/editors/AbiWord2/Makefile b/editors/AbiWord2/Makefile index 813682454e9a..ab4bb8f538e3 100644 --- a/editors/AbiWord2/Makefile +++ b/editors/AbiWord2/Makefile @@ -6,7 +6,7 @@ # PORTNAME= AbiWord2 -PORTVERSION= 2.0.6 +PORTVERSION= 2.0.7 CATEGORIES= editors MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \ http://www.abisource.com/downloads/Version-${PORTVERSION}/lf/ @@ -97,11 +97,11 @@ pre-configure: s|@DEFS@|-I${WRKSRC}/../libiconv/include @DEFS@|g' && ${TRUE} post-install: +.if defined(GNOME_ENABLED) @${INSTALL_DATA} ${WRKSRC}/src/pkg/linux/rpm/data/abiword.desktop \ ${PREFIX}/share/gnome/apps/Applications/abiword.desktop @${LN} -sf ${PREFIX}/share/AbiSuite-2.0/icons/abiword_48.png \ ${PREFIX}/share/gnome/pixmaps/abiword_48.png -.if defined(GNOME_ENABLED) @${LN} -sf ${PREFIX}/share/AbiSuite-2.0/GNOME_AbiWord_Control_2_0.server\ ${PREFIX}/libdata/bonobo/servers/GNOME_AbiWord_Control_2_0.server @${LN} -sf ${PREFIX}/share/AbiSuite-2.0/abi-nautilus-view-file.xml \ diff --git a/editors/AbiWord2/distinfo b/editors/AbiWord2/distinfo index 5cca74d11854..7fb4d8a10cdd 100644 --- a/editors/AbiWord2/distinfo +++ b/editors/AbiWord2/distinfo @@ -1,2 +1,2 @@ -MD5 (AbiWord/abiword-2.0.6.tar.bz2) = 80379d6a61ec0faad0665e9b83f47e62 -SIZE (AbiWord/abiword-2.0.6.tar.bz2) = 21994261 +MD5 (AbiWord/abiword-2.0.7.tar.bz2) = bb1de0c969f1b93280ff7e661efb1025 +SIZE (AbiWord/abiword-2.0.7.tar.bz2) = 22012687 diff --git a/editors/AbiWord2/files/patch-GNUmakefile.am b/editors/AbiWord2/files/patch-GNUmakefile.am index 3e4cc389dd55..5aa14570ff3d 100644 --- a/editors/AbiWord2/files/patch-GNUmakefile.am +++ b/editors/AbiWord2/files/patch-GNUmakefile.am @@ -1,6 +1,22 @@ ---- GNUmakefile.am.orig Mon Aug 18 09:45:27 2003 -+++ GNUmakefile.am Mon Aug 25 04:25:53 2003 -@@ -76,7 +76,6 @@ +--- GNUmakefile.am.orig Fri Sep 12 09:18:10 2003 ++++ GNUmakefile.am Thu May 20 01:35:58 2004 +@@ -7,11 +7,11 @@ + libpng_peerdir=@LIBPNG_PEERDIR@ + libpopt_peerdir=$(top_builddir)/../popt + +-desktop_DATA = abiword.desktop +-desktopdir = $(datadir)/applications ++#desktop_DATA = abiword.desktop ++#desktopdir = $(datadir)/applications + +-icon_DATA = abiword_48.png +-icondir= $(datadir)/icons ++#icon_DATA = abiword_48.png ++#icondir= $(datadir)/icons + + # Hack: make sure that the PEERS stuff is build first + # We can not use the all target, because on parallel builds there is no +@@ -82,7 +82,6 @@ # Install the datafiles. This is quick-and-dirty. install-data-local: @@ -8,7 +24,7 @@ if test -d $(top_srcdir)/../abidistfiles ; then \ for dir in `cd $(top_srcdir)/../abidistfiles; find . -type d ! -name CVS` ; do \ $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/$$dir ;\ -@@ -89,11 +88,7 @@ +@@ -95,11 +94,7 @@ for file in $(top_srcdir)/../abidistfiles/$$dir/* ; do \ if test -f $$file ; then \ sfile=`echo "$$file" | sed 's/\.[^.]*$$//'`; \ diff --git a/editors/AbiWord2/pkg-plist b/editors/AbiWord2/pkg-plist index 1eafe31a256e..10cf0ceeb05e 100644 --- a/editors/AbiWord2/pkg-plist +++ b/editors/AbiWord2/pkg-plist @@ -253,11 +253,9 @@ share/AbiSuite-2.0/templates/normal.awt-ur_PK share/AbiSuite-2.0/templates/normal.awt-yi share/AbiSuite-2.0/templates/normal.awt-zh_CN share/AbiSuite-2.0/templates/normal.awt-zh_TW -share/applications/abiword.desktop -share/icons/abiword_48.png -share/gnome/apps/Applications/abiword.desktop +%%GNOME:%%share/gnome/apps/Applications/abiword.desktop %%GNOME:%%share/gnome/gnome-2.0/ui/abi-nautilus-view-file.xml -share/gnome/pixmaps/abiword_48.png +%%GNOME:%%share/gnome/pixmaps/abiword_48.png @dirrm share/AbiSuite-2.0/templates @dirrm share/AbiSuite-2.0/icons @dirrm share/AbiSuite-2.0/dictionary -- cgit v1.2.3