t1lib5 stable port information

Info2: <<
Package: t1lib5%type_pkg[-nox]
Version: 5.1.2
Revision: 1
Type: -nox (-nox -x11)
Depends: %N-shlibs (= %v-%r)
BuildDepends: fink (>= 0.27.2-1), (%type_raw[-nox] = -x11) x11-dev, (%type_raw[-nox] = -x11) t1lib5-nox
BuildDependsOnly: True
Conflicts: t1lib1, t1lib5
Replaces: t1lib1, t1lib5
PatchScript: <<
perl -pi -e 's/-o .* \$\(T1LIBX_OBJS\)/$& \$(X_LIBS) \$(XLIB)/' lib/Makefile.in
<<
UseMaxBuildJobs: false
ConfigureParams: (%type_raw[-nox] = -nox) --without-x (%type_raw[-nox] = -x11) --x-includes=/usr/X11R6/include (%type_raw[-nox] = -x11) --x-libraries=/usr/X11R6/lib
CompileScript: <<
./configure %c
make without_doc
<<
InstallScript: <<
#!/bin/sh -ev
make install prefix=%i
if [ %type_raw[-nox] = "-x11" ]; then
rm %i/bin/type1afm %i/include/t1lib.h %i/lib/libt1.*
elif [ %type_raw[-nox] = "-nox" ]; then
mv %i/share/t1lib/t1lib.config %i/share/t1lib/t1lib-nox.config
fi
mkdir -p %i/share/doc/%n
mv %i/share/t1lib/doc/t1lib_doc.pdf %i/share/doc/%n
/bin/rm -rf %i/share/t1lib/doc
<<
SplitOff: <<
Package: %N-shlibs
Depends: <<
(%type_raw[-nox] = -x11) x11,
(%type_raw[-nox] = -x11) t1lib5-nox-shlibs
<<
Replaces: t1lib5-shlibs (<= 5.1.1-1)
Files: lib/*.5*dylib
Shlibs: <<
(%type_raw[-nox] = -nox) %p/lib/libt1.5.dylib 7.0.0 %n (>= 5.1.1-2)
(%type_raw[-nox] = -x11) %p/lib/libt1x.5.dylib 7.0.0 %n (>= 5.1.1-2)
<<
DocFiles: README.t1lib-%v LICENSE LGPL
Description: Shared libs for generating Type 1 Font bitmaps
<<
License: GPL
DocFiles: README.t1lib-%v LICENSE LGPL
Source: http://sunsite.unc.edu/pub/linux/libs/graphics/t1lib-%v.tar.gz
Source-MD5: a5629b56b93134377718009df1435f3c
Homepage: http://sunsite.unc.edu/pub/linux/libs/graphics/
Description: Generates bitmaps from Type 1 fonts
DescPackaging: <<
The x11-dependent portions of t1lib5 have now been made into a separate
package. Other packages would typically depend on either "t1lib5-nox-shlibs"
or "t1lib5-nox-shlibs, t1lib5-x11-shlibs", depending on whether they were
using x11 features or not.

Note that another x11-using package which wishes to link to these libraries
must include a build-time dependency on both t1lib5-nox and t1lib5-x11.
<<
DescPort: <<
Make sure libt1x, which uses x11, links against the x11 libs.
libt1x also uses libt1, but cannot link against it because the
libtool is tool old.

Note: the security fix for CVE-2007-4033 is no longer needed because it
has been incorporated into the code as of version 5.1.2.
<<
Maintainer: Dave Morrison
<<