[50750] trunk/dports/graphics/xpdf/Portfile
and.damore at macports.org
and.damore at macports.org
Fri May 8 12:38:13 PDT 2009
Revision: 50750
http://trac.macports.org/changeset/50750
Author: and.damore at macports.org
Date: 2009-05-08 12:38:12 -0700 (Fri, 08 May 2009)
Log Message:
-----------
Fight the boreness, updated patch for xpdf.
Modified Paths:
--------------
trunk/dports/graphics/xpdf/Portfile
Modified: trunk/dports/graphics/xpdf/Portfile
===================================================================
--- trunk/dports/graphics/xpdf/Portfile 2009-05-08 19:10:43 UTC (rev 50749)
+++ trunk/dports/graphics/xpdf/Portfile 2009-05-08 19:38:12 UTC (rev 50750)
@@ -4,7 +4,7 @@
name xpdf
version 3.02
-revision 4
+revision 5
description Xpdf is a viewer for PDF files.
long_description \
Xpdf is a viewer for Portable Document Format \
@@ -34,29 +34,45 @@
## checksums md5 599dc4cc65a07ee868cf92a667a913d2
set xpdfmain ${distname}${extract.suffix}
-distfiles ${xpdfmain} \
- xpdf-3.02pl1.patch \
- xpdf-3.02pl2.patch
+distfiles ${xpdfmain} \
+ xpdf-${version}pl1.patch \
+ xpdf-${version}pl2.patch \
+ xpdf-${version}pl3.patch
-checksums ${xpdfmain} md5 599dc4cc65a07ee868cf92a667a913d2 \
- xpdf-3.02pl1.patch 877118786dfe27d1b7aa5a6759cc6e45 \
- xpdf-3.02pl2.patch 3a5cb165ae66781e0b21e6219ae06795
+checksums xpdf-${version}.tar.gz \
+ md5 599dc4cc65a07ee868cf92a667a913d2 \
+ sha1 f9940698840c8a8045677e8be68ab8580903e20a \
+ rmd160 e900cb8670b8c430beaa45895fb474411cb1958d \
+ xpdf-${version}pl1.patch \
+ md5 877118786dfe27d1b7aa5a6759cc6e45 \
+ sha1 cd3c8ed6e1fd3606098b85d5cc8a7d1aa305266d \
+ rmd160 5c310f96760f72e9c1062b00c57c2ed035ac6757 \
+ xpdf-${version}pl2.patch \
+ md5 3a5cb165ae66781e0b21e6219ae06795 \
+ sha1 d082ebe0d36cad0c04603950216f5c52de1c2593 \
+ rmd160 0024e3d203d69e073a458570cec5679e260ad204 \
+ xpdf-${version}pl3.patch \
+ md5 581963ede0fb5715e1a69f01b5b8ce63 \
+ sha1 23f496804802a3da530f1d0bab894bae3e938fc2 \
+ rmd160 859ec3131d3c4526a6075ee639c5eb704194211b
+
extract.only ${xpdfmain}
depends_lib \
port:xorg-libXp port:xpm port:xorg-libXt port:freetype \
port:libpaper lib:libXm:openmotif port:t1lib
-depends_run path:share/ghostscript/fonts:ghostscript port:poppler
+depends_run path:share/ghostscript/fonts:ghostscript
-patchfiles xpdf-3.02-salvage-your-eye.patch \
+patchfiles xpdf-${version}-salvage-your-eye.patch \
patch-xpdf-NameToUnicodeTable.h.diff \
patch-xpdf-UnicodeMapTables.h.diff
pre-patch {
- system "cd ${workpath} && patch -p0 < ${distpath}/xpdf-3.02pl1.patch"
- system "cd ${workpath} && patch -p0 < ${distpath}/xpdf-3.02pl2.patch"
+ system "cd ${workpath} && patch -p0 < ${distpath}/xpdf-${version}pl1.patch"
+ system "cd ${workpath} && patch -p0 < ${distpath}/xpdf-${version}pl2.patch"
+ system "cd ${workpath} && patch -p0 < ${distpath}/xpdf-${version}pl3.patch"
}
post-patch {
@@ -112,7 +128,7 @@
}
variant drm description {Obey access restrictions in PDF files} {
- patchfiles-delete xpdf-3.02-salvage-your-eye.patch
+ patchfiles-delete xpdf-${version}-salvage-your-eye.patch
}
post-install {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090508/e93c81d8/attachment.html>
More information about the macports-changes
mailing list