[136290] trunk/dports/print/ghostscript/Portfile
mojca at macports.org
mojca at macports.org
Wed May 13 23:37:57 PDT 2015
Revision: 136290
https://trac.macports.org/changeset/136290
Author: mojca at macports.org
Date: 2015-05-13 23:37:57 -0700 (Wed, 13 May 2015)
Log Message:
-----------
ghostscript: first line, whitespace, sha256 only
Modified Paths:
--------------
trunk/dports/print/ghostscript/Portfile
Modified: trunk/dports/print/ghostscript/Portfile
===================================================================
--- trunk/dports/print/ghostscript/Portfile 2015-05-14 06:26:04 UTC (rev 136289)
+++ trunk/dports/print/ghostscript/Portfile 2015-05-14 06:37:57 UTC (rev 136290)
@@ -1,65 +1,63 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
# $Id$
-PortSystem 1.0
-PortGroup muniversal 1.0
+PortSystem 1.0
+PortGroup muniversal 1.0
-name ghostscript
-version 9.16
-categories print
-license AGPL-3
-maintainers takanori openmaintainer
-description GPL Ghostscript, An interpreter for PostScript and PDF
-long_description \
- Ghostscript is the well-known PostScript interpreter which \
- is available for all common and most esoteric platforms and \
- supports many different printers and some displays.
-platforms darwin
-homepage http://www.cs.wisc.edu/~ghost/
-master_sites http://downloads.ghostscript.com/public/:source \
- sourceforge:gs-fonts:fonts \
- https://github.com/adobe-type-tools/mapping-resources-pdf/archive/:misc
+name ghostscript
+version 9.16
+categories print
+license AGPL-3
+maintainers takanori openmaintainer
+description GPL Ghostscript, An interpreter for PostScript and PDF
+long_description Ghostscript is the well-known PostScript interpreter which \
+ is available for all common and most esoteric platforms and \
+ supports many different printers and some displays.
+platforms darwin
+homepage http://www.cs.wisc.edu/~ghost/
+master_sites http://downloads.ghostscript.com/public/:source \
+ sourceforge:gs-fonts:fonts \
+ https://github.com/adobe-type-tools/mapping-resources-pdf/archive/:misc
# Note: this needs to be manually updated for new upstream commits
set mappingresources_commit \
- 3128b3872aa14a4c066d5cbcdde66a3b6bba0982
+ 3128b3872aa14a4c066d5cbcdde66a3b6bba0982
-distfiles ${distname}.tar.gz:source \
- ghostscript-fonts-other-6.0.tar.gz:fonts \
- ${mappingresources_commit}.zip:misc
-patchfiles patch-base_unix-dll.mak.diff \
- patch-base_stdpre.h.diff
+distfiles ${distname}.tar.gz:source \
+ ghostscript-fonts-other-6.0.tar.gz:fonts \
+ ${mappingresources_commit}.zip:misc
+patchfiles patch-base_unix-dll.mak.diff \
+ patch-base_stdpre.h.diff
checksums ${distname}.tar.gz \
- md5 829319325bbdb83f5c81379a8f86f38f \
- sha1 cc06fbf8244b9e8d0694cee5bf3be5bdd444b888 \
rmd160 9c483b93ccd106bae6db36b3335fae4e91177aec \
+ sha256 746d77280cca8afdd3d4c2c1389e332ed9b0605bd107bcaae1d761b061d1a68d \
ghostscript-fonts-other-6.0.tar.gz \
- md5 1a643ae62ef166562e4d422b1a601272 \
- sha1 da62dfcb9c10d96743c7e30c1eebe7166489798c \
rmd160 ab60dbf71e7d91283a106c3df381cadfe173082f \
+ sha256 4fa051e341167008d37fe34c19d241060cd17b13909932cd7ca7fe759243c2de \
${mappingresources_commit}.zip \
- md5 474705024ad12c5f9566b51fc8c645ba \
- sha1 ecab5f607db89e1cdce2eb4d180eb563be666875 \
- rmd160 1bb3b507ec48b559e4388553391ebece2468dc73
+ rmd160 1bb3b507ec48b559e4388553391ebece2468dc73 \
+ sha256 769bf8961b1dbf443a865f7c26363ea143854be5eefe3e61b3ee4c0ebe80a50a
-depends_lib port:expat \
- port:fontconfig \
- port:freetype \
- port:jbig2dec \
- port:jpeg \
- port:libiconv \
- port:libidn \
- port:libpaper \
- port:libpng \
- port:tiff \
- port:zlib
-# port:lcms2
-# port:ijs
+depends_lib port:expat \
+ port:fontconfig \
+ port:freetype \
+ port:jbig2dec \
+ port:jpeg \
+ port:libiconv \
+ port:libidn \
+ port:libpaper \
+ port:libpng \
+ port:tiff \
+ port:zlib
+# port:lcms2
+# port:ijs
-depends_build port:pkgconfig
-depends_run port:perl5
+depends_build port:pkgconfig
+depends_run port:perl5
-extract.only ${distname}.tar.gz ghostscript-fonts-other-6.0.tar.gz
+extract.only ${distname}.tar.gz \
+ ghostscript-fonts-other-6.0.tar.gz
post-extract {
system -W ${workpath} "unzip ${distpath}/${mappingresources_commit}.zip"
@@ -73,8 +71,8 @@
}
#move ${workpath}/MappingOther/Adobe-CNS1-ETen-B5 ${workpath}/MappingOther/Adobe-CNS1-ETenms-B5
- eval copy -force [glob ${workpath}/mappingresources4pdf_2unicode/*] ${worksrcpath}/Resource/CMap
- eval copy -force [glob ${workpath}/mappingresources4pdf_other/*] ${worksrcpath}/Resource/CMap
+ eval copy -force [glob ${workpath}/mappingresources4pdf_2unicode/*] ${worksrcpath}/Resource/CMap
+ eval copy -force [glob ${workpath}/mappingresources4pdf_other/*] ${worksrcpath}/Resource/CMap
}
post-patch {
@@ -89,20 +87,22 @@
}
}
-use_autoreconf yes
-autoreconf.args -fv
+use_autoreconf yes
+autoreconf.args -fv
# Make included OpenJPEG uses its own headers rather than the system ones
-configure.cppflags-delete "-I${prefix}/include"
-configure.cppflags-append "-isystem${prefix}/include"
+configure.cppflags-delete \
+ "-I${prefix}/include"
+configure.cppflags-append \
+ "-isystem${prefix}/include"
-configure.args --disable-compile-inits \
- --disable-cups \
- --disable-dbus \
- --disable-gtk \
- --without-x \
- --without-luratech \
- --with-system-libtiff
+configure.args --disable-compile-inits \
+ --disable-cups \
+ --disable-dbus \
+ --disable-gtk \
+ --without-x \
+ --without-luratech \
+ --with-system-libtiff
build.target so
use_parallel_build yes
@@ -143,6 +143,6 @@
configure.args-append --enable-cups
}
-livecheck.type regex
-livecheck.url http://downloads.ghostscript.com/public/
-livecheck.regex ${name}-(\\d+(?:\\.\\d+)*)
+livecheck.type regex
+livecheck.url http://downloads.ghostscript.com/public/
+livecheck.regex ${name}-(\\d+(?:\\.\\d+)*)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150513/6901a374/attachment.html>
More information about the macports-changes
mailing list