[144549] trunk/dports/textproc/pdfgrep/Portfile

raimue at macports.org raimue at macports.org
Tue Jan 12 04:35:57 PST 2016


Revision: 144549
          https://trac.macports.org/changeset/144549
Author:   raimue at macports.org
Date:     2016-01-12 04:35:57 -0800 (Tue, 12 Jan 2016)
Log Message:
-----------
textproc/pdfgrep:
Use port group cxx11 instead of custom compatibility check

Modified Paths:
--------------
    trunk/dports/textproc/pdfgrep/Portfile

Modified: trunk/dports/textproc/pdfgrep/Portfile
===================================================================
--- trunk/dports/textproc/pdfgrep/Portfile	2016-01-12 08:00:22 UTC (rev 144548)
+++ trunk/dports/textproc/pdfgrep/Portfile	2016-01-12 12:35:57 UTC (rev 144549)
@@ -1,6 +1,7 @@
 # $Id$
 
 PortSystem          1.0
+PortGroup           cxx11 1.0
 
 name                pdfgrep
 version             1.4.1
@@ -24,13 +25,6 @@
 depends_lib         port:poppler \
                     port:pcre
 
-pre-fetch {
-    if {${name} == ${subport} && ${os.platform} eq "darwin" && ${os.major} < 13} {
-        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."
-        return -code error "incompatible Mac OS X version"
-    }
-}
-
 configure.args      --without-unac
 
 variant unac description {Use unac to remove accents and ligatures before searching} {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160112/6ad55a75/attachment.html>


More information about the macports-changes mailing list