Skip to content
Permalink
Browse files

Bug:

Submitted by:   olegb@
Reviewed by:
Approved by:
Obtained from:

Port:		abiword2
Version:	2.0.0

Initial checkin of this port. The patches is _very_ much inspired
by the patches from fink. So thanks to the fink'ers ;)

This port has a gnome variant, very much like the abiword port,
which still is in gnome/ along side this port.

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@4197 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
Ole Guldberg Jensen
Ole Guldberg Jensen committed Dec 11, 2003
1 parent 8fae6fb commit 763ab2d3fb661b0309a11d88241baad60aed6588
Showing with 64 additions and 0 deletions.
  1. +30 −0 gnome/abiword2/Portfile
  2. +17 −0 gnome/abiword2/files/patch_abiword.sh
  3. +17 −0 gnome/abiword2/files/patch_wvMakefile.in
@@ -0,0 +1,30 @@
# $Id: Portfile,v 1.1 2003/12/11 19:19:35 olegb Exp $
PortSystem 1.0
name abiword
version 2.0.0
description A word processor with gnome support
long_description A word processor with gnome support
maintainers olegb@opendarwin.org
categories gnome editors textproc
platforms darwin
homepage http://www.gnome.org/gnome-office/abiword.shtml
master_sites gnome:fifth-toe/2.4/2.4.0/sources
checksums md5 1b7153cdb5a8134b995505b6f362bfc1
worksrcdir ${distname}/abi
depends_lib lib:libgtk.2:gtk lib:libz.1:zlib lib:libpng.3:libpng \
lib:libfribidi:fribidi
configure.env CPPFLAGS="-L${prefix}/lib -I${prefix}/include" \
CFLAGS="-no-cpp-precomp -flat_namespace -undefined suppress"
configure.args --disable-Cocoa --disable-Carbon --mandir=${prefix}/share/man
use_bzip2 yes
patchfiles patch_wvMakefile.in patch_abiword.sh
build.target {}

post-destroot {
system "cd ${worksrcpath}/../wv && \
mv xml/wvDocbook.xml xml/wvDocBook.xml &&
make install prefix=${destroot}${prefix}"
}

variant gnome { configure.args-append --enable-gnome
depends_lib-append lib:gnome-session:gnome-session }
@@ -0,0 +1,17 @@
--- abiword.sh.orig Wed Sep 24 14:34:33 2003
+++ abiword.sh Wed Sep 24 14:34:25 2003
@@ -0,0 +1,14 @@
+#!/bin/sh
+# make symlinks in ~/.fonts for applettf .ttf files
+# if they are not already there.
+for file in @PREFIX@/lib/X11/fonts/applettf/*ttf; do
+ if [ ! -d ~/.fonts ]; then
+ mkdir ~/.fonts
+ fi
+ symlink=~/.fonts/`basename $file`
+ if [ -f $file ] && [ ! -L $symlink ] && [ ! -f $symlink ] ; then
+ ln -s $file $symlink
+ fi
+done
+# launch abiword
+@PREFIX@/bin/abiwordx $@
@@ -0,0 +1,17 @@
--- ../wv/Makefile.in.orig Tue Sep 23 11:11:27 2003
+++ ../wv/Makefile.in Tue Sep 23 11:14:11 2003
@@ -300,11 +300,11 @@
wvVersion$(EXEEXT)
endif

-ifeq ($(EPATH_DYLIB),1)
-WVLIB = libwv.dylib
-else
+#ifeq ($(EPATH_DYLIB),1)
+#WVLIB = libwv.dylib
+#else
WVLIB = libwv.a
-endif
+#endif

all: WVSUBDIRS $(WVLIB) $(WVEXECS)

0 comments on commit 763ab2d

Please sign in to comment.
You can’t perform that action at this time.