the Fink project is an effort to port
popular Unix programs to Mac OS X
Package: poppler2-xpdf
# NOTE: Must keep %v in sync among all poppler2* packages!
Version: 0.6.4
Revision: 2
Description: PDF rendering library (alternate interface)
License: GPL
Maintainer: Benjamin Reed
BuildDepends: <<
fink (>= 0.24.12-1)
<<
Depends: <<
poppler2-shlibs (>= %v-1)
<<
Conflicts: <<
poppler4-xpdf
<<
Replaces: <<
poppler4-xpdf
<<
BuildDependsOnly: True
GCC: 4.0
Source: http://poppler.freedesktop.org/poppler-%v.tar.gz
Source-MD5: 13d12ca4e349574cfbbcf4a9b2b3ae52
PatchFile: %n.patch
PatchFile-MD5: 712def249122211f047582d14b2021c5
PatchScript: <<
#!/bin/sh -ev
%{default_script}
for mfdir in goo poppler splash; do
perl -n -e 'print if s/if ENABLE_XPDF_HEADERS// .. s/endif//' < ${mfdir}/Makefile.am > ${mfdir}/Makefile
done
<<
CompileScript: #
InstallScript: <<
#!/bin/sh -ev
for mfdir in goo poppler splash; do
make -j1 -C ${mfdir} install DESTDIR=%d includedir=%p/include
done
<<
DocFiles: AUTHORS COPYING ChangeLog NEWS README README-XPDF TODO
Homepage: http://poppler.freedesktop.org/
DescDetail: Poppler is a PDF rendering library based on the xpdf-3.0 code base.
DescPackaging: <<
This is just the older-interface headers, which are installed
by poppler iff it's configured with --enable-xpdf-headers. We
just hack the makefiles we need and use just the xpdf headers
parts of them instead of actually building the poppler package
and stripping out the parts we don't need.
<<
diff -Nurd poppler-0.6.4.orig/goo/Makefile.am poppler-0.6.4/goo/Makefile.am
--- poppler-0.6.4.orig/goo/Makefile.am 2008-01-21 14:59:14.000000000 -0500
+++ poppler-0.6.4/goo/Makefile.am 2008-04-26 18:13:30.000000000 -0400
@@ -15,6 +15,9 @@
gfile.h \
FixedPoint.h
+install:
+ mkdir -p $(DESTDIR)$(prefix)/$(poppler_goo_includedir)
+ install -m644 $(poppler_goo_include_HEADERS) $(DESTDIR)$(prefix)/$(poppler_goo_includedir)
endif
libgoo_la_SOURCES = \
diff -Nurd poppler-0.6.4.orig/poppler/Makefile.am poppler-0.6.4/poppler/Makefile.am
--- poppler-0.6.4.orig/poppler/Makefile.am 2008-01-21 14:59:14.000000000 -0500
+++ poppler-0.6.4/poppler/Makefile.am 2008-04-26 18:15:27.000000000 -0400
@@ -178,6 +178,9 @@
Sound.h \
poppler-config.h
+install:
+ mkdir -p $(DESTDIR)$(prefix)/$(poppler_includedir)
+ install -m644 $(poppler_include_HEADERS) $(DESTDIR)$(prefix)/$(poppler_includedir)
endif
libpoppler_la_SOURCES = \
diff -Nurd poppler-0.6.4.orig/splash/Makefile.am poppler-0.6.4/splash/Makefile.am
--- poppler-0.6.4.orig/splash/Makefile.am 2008-01-21 14:59:14.000000000 -0500
+++ poppler-0.6.4/splash/Makefile.am 2008-04-26 18:14:36.000000000 -0400
@@ -33,6 +33,9 @@
SplashXPath.h \
SplashXPathScanner.h
+install:
+ mkdir -p $(DESTDIR)$(prefix)/$(poppler_splash_includedir)
+ install -m644 $(poppler_splash_include_HEADERS) $(DESTDIR)$(prefix)/$(poppler_splash_includedir)
endif
libsplash_la_SOURCES = \