Ignore:
Timestamp:
Dec 29, 2015, 6:49:23 PM (4 years ago)
Author:
raimue@…
Message:

textproc/pdfgrep, textproc/pdfgrep-legacy:
Add new pdfgrep-legacy port for old versions of OS X, closes #50076

Location:
trunk/dports/textproc
Files:
1 added
1 edited
1 copied

Legend:

Unmodified
Added
Removed
  • trunk/dports/textproc/pdfgrep-legacy/Portfile

    r137168 r143999  
    33PortSystem          1.0
    44
    5 name                pdfgrep
     5name                pdfgrep-legacy
     6set realname        pdfgrep
    67version             1.3.2
     8conflicts           pdfgrep
    79categories          textproc
    810platforms           darwin
     
    1113description         A tool to search text in PDF files.
    1214long_description \
    13    Pdfgrep is a tool to search text in PDF files. It works similar to grep.
     15   Pdfgrep is a tool to search text in PDF files. It works similar to grep. \
     16   This port is intended to support releases of OS X <= 10.8 which is \
     17   unsupported in the current version as it requires C++11 \ features.
    1418
    15 homepage            http://pdfgrep.sourceforge.net/
    16 master_sites        sourceforge
     19homepage            https://pdfgrep.org/
     20master_sites        https://pdfgrep.org/download/
     21distname            ${realname}-${version}
    1722
    1823checksums           rmd160  75499a372cf1b2daefdfa57cbee79381b2661d72 \
  • trunk/dports/textproc/pdfgrep/Portfile

    r140701 r143999  
    66version             1.4.1
    77revision            1
     8conflicts           pdfgrep-legacy
    89categories          textproc
    910platforms           darwin
     
    2425                    port:pcre
    2526
     27pre-fetch {
     28    if {${name} == ${subport} && ${os.platform} eq "darwin" && ${os.major} < 13} {
     29        ui_error "${name} only runs on Mac OS X 10.9 or greater as it requires features of C++11. Please install pdfgrep-legacy instead."
     30        return -code error "incompatible Mac OS X version"
     31    }
     32}
     33
    2634configure.args      --without-unac
    2735
Note: See TracChangeset for help on using the changeset viewer.