Changeset 120291 for trunk/dports/print


Ignore:
Timestamp:
May 22, 2014, 12:08:56 AM (5 years ago)
Author:
jmr@…
Message:

espgs: this fork was merged with GPL Ghostscript in 2007, marking replaced

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/print/espgs/Portfile

    r120285 r120291  
    33PortSystem          1.0
    44
     5replaced_by         ghostscript
     6PortGroup           obsolete 1.0
     7
    58name                espgs
    69version             7.07.1
    7 revision            7
     10revision            8
    811categories          print textproc
    912license             GPL-2
    10 platforms           darwin
    11 maintainers         nomaintainer
    12 description         Interpreter for PostScript and PDF
    13 long_description    Easy Software Products now produces maintenance updates \
    14                     of GNU Ghostscript under the name ESP Ghostscript. These \
    15                     updates incorporate bug fixes to the current GNU version \
    16                     of Ghostscript as well as the latest CUPS, GIMP-print, \
    17                     and other add-ons to Ghostscript.
    1813
    19 homepage            http://www.cups.org/ghostscript.php
    20 master_sites        sourceforge \
    21                     http://mirror.cs.wisc.edu/pub/mirrors/ghost/AFPL/fonts/:fonts \
    22                     http://www.ijg.org/files/:jpeg \
    23                     sourceforge:libpng:libpng
    24 distname            ${name}-${version}-source
    25 set std_fonts       ghostscript-fonts-std-8.11
    26 set other_fonts     ghostscript-fonts-other-6.0
    27 set png_src         libpng-1.2.8
    28 distfiles           ${distname}${extract.suffix} \
    29                     ${std_fonts}${extract.suffix}:fonts \
    30                     ${other_fonts}${extract.suffix}:fonts \
    31                     ${png_src}${extract.suffix}:libpng
    32 checksums           ${name}-${version}-source${extract.suffix} md5 20dfdc45c3aeb9893b75d41087f828d9 \
    33                     ${std_fonts}${extract.suffix} md5 6865682b095f8c4500c54b285ff05ef6 \
    34                     ${other_fonts}${extract.suffix} md5 1a643ae62ef166562e4d422b1a601272 \
    35                     ${png_src}${extract.suffix} md5 cac1512878fb98f2456df6dc50bc9bc7
    36 worksrcdir          ${name}-${version}
    37 
    38 depends_lib         port:jpeg \
    39                     port:libpng \
    40                     port:zlib
    41 
    42 # Should be depends_extract, but that isn't implemented
    43 # To understand why doing this, please check official document:
    44 # http://www.ghostscript.com/doc/AFPL/8.00/Make.htm#Third-party_libraries
    45 post-extract {
    46     system "cd ${workpath}; mv ${png_src} ${worksrcdir}/libpng"
    47 }
    48 
    49 configure.args      --without-gimp-print \
    50                     --disable-cups \
    51                     --mandir=${prefix}/share/man \
    52                     --with-fontpath="${prefix}/share/ghostscript/fonts:/usr/share/ghostscript/fonts"
    53 
    54 pre-build {
    55     # Ensure the macports include/ directory is added. Don't know why
    56     # configure doesn't do this already.
    57     set search {CFLAGS=-O2 $(GCFLAGS) $(XCFLAGS) $(ACDEFS)}
    58     reinplace "s|${search}|${search} -I${prefix}/include|g" \
    59         ${worksrcpath}/Makefile
    60 }
    61 
    62 build.target
    63 destroot.destdir    prefix=${destroot}${prefix} datadir=${destroot}${prefix}/share
    64 
    65 post-destroot {
    66     system "mkdir -p ${destroot}${prefix}/share/ghostscript/"
    67     system "cd ${workpath} && \
    68             tar -cf - fonts | \
    69             tar -xf - -C ${destroot}${prefix}/share/ghostscript/"
    70 }
    71 
    72 variant x11 {
    73     depends_lib-append      port:xorg-libXext port:xorg-libXt
    74     configure.args-append   --with-x
    75 }
    76 
    77 # Their Makefile.in is busted
    78 configure.cflags-append ${configure.cppflags}
     14homepage            http://web.archive.org/web/20081012001631/http://www.cups.org/espgs
Note: See TracChangeset for help on using the changeset viewer.