Package: abiword Version: 2.0.1 Revision: 2 Depends: glib2-shlibs, pango1-xft2-shlibs, atk1-shlibs, gtk+2-shlibs, freetype2-shlibs, libglade2-shlibs, fribidi-shlibs, libxml2-shlibs, libpng3-shlibs, libjpeg-shlibs, dillo, applesystemfonts, dlcompat-shlibs, popt-shlibs BuildDepends: pkgconfig, glib2-dev, glib2, pango1-xft2-dev, atk1, gtk+2, libglade2, fribidi, fribidi-dev, libxml2, libjpeg, libpng3, dlcompat-dev, gettext-dev, gettext-bin, gettext-tools, libiconv-dev, freetype2, popt, x11-dev Suggests: abiword-plugins-aiksaurus PatchScript: << #!/bin/sh cd ../ sed 's|@PREFIX@|%p|g' < %a/%n.patch | patch -p1 << Description: Open-source word processor DescUsage: << set the BROWSER environment variable to "open" to have your default web browser be the help viewer. << Source: mirror:sourceforge:%n/%n-%v.tar.gz Source-MD5: 21ecc166b14e7e5c51f3a7b061e87c24 GCC: 3.3 SourceDirectory: %n-%v/abi NoSetMAKEFLAGS: true SetMAKEFLAGS: -j1 ConfigureParams: --disable-gnome --disable-Cocoa --disable-Carbon --with-libxml2 --disable-gucharmap --with-libjpeg NoSetCPPFLAGS: true CompileScript: << #!/bin/sh # set CPPFLAGS so that freetype2 headers found before freetype headers. export CPPFLAGS="-I%p/include/freetype2 -I%p/include" ./configure %c make << InstallScript: << #!/bin/sh make install DESTDIR=%d # make abiword a shell script that sets symlinks for applettf # fonts in ~/.fonts (if necessary) on launch. mv %i/bin/abiword %i/bin/abiwordx cp abiword.sh %i/bin/abiword chmod 755 %i/bin/abiword # install abiword-docs dir. mkdir -p %i/share/doc/%n cd ../ cp -R abiword-docs %i/share/doc/%n # install man page mkdir -p %i/share/man/man8 cp abiword-docs/man/abiword.8 %i/share/man/man8 # remove help dir (to be installed by PostInstScript) /bin/rm -rf %i/share/AbiSuite-2.0/AbiWord/help << PostInstScript: << #!/bin/sh echo "building html help files ..." # build html help files, copy to help directory. cd %p/share/doc/%n/abiword-docs cp -R ABW ABW-save cp -R help help-save ./make-html.sh mkdir %p/share/AbiSuite-2.0/AbiWord/help cp -R ABW/* %p/share/AbiSuite-2.0/AbiWord/help /bin/rm -rf ABW /bin/rm -rf help mv ABW-save ABW mv help-save help << PreRmScript: << # remove help dir /bin/rm -rf %p/share/AbiSuite-2.0/AbiWord/help << DescPort: << Patch to force linking of static libwv (dynamic one is broken on OS X). Patch to use dillo as default help browser (set the BROWSER environment variable to override this). html help files must be built after abiword installed, so they are built and installed in a PostInstScript. abiword is a wrapper script that sets up symlinks to applettf fonts in ~/.fonts, so that abiword will find them. << DocFiles: BUILD.TXT COPYING README.TXT COPYRIGHT.TXT License: GPL Homepage: http://www.abiword.com Maintainer: Jeffrey Whitaker