[102874] trunk/dports/graphics/podofo/Portfile
ryandesign at macports.org
ryandesign at macports.org
Sat Feb 9 19:34:10 PST 2013
Revision: 102874
https://trac.macports.org/changeset/102874
Author: ryandesign at macports.org
Date: 2013-02-09 19:34:10 -0800 (Sat, 09 Feb 2013)
Log Message:
-----------
podofo: use conflicts_build portgroup instead of doing it manually
Modified Paths:
--------------
trunk/dports/graphics/podofo/Portfile
Modified: trunk/dports/graphics/podofo/Portfile
===================================================================
--- trunk/dports/graphics/podofo/Portfile 2013-02-10 03:00:56 UTC (rev 102873)
+++ trunk/dports/graphics/podofo/Portfile 2013-02-10 03:34:10 UTC (rev 102874)
@@ -3,6 +3,7 @@
PortSystem 1.0
PortGroup cmake 1.0
+PortGroup conflicts_build 1.0
name podofo
version 0.9.1
@@ -35,6 +36,8 @@
port:openssl \
port:lua
+conflicts_build ${name}
+
compiler.blacklist clang
configure.cmd cmake
@@ -45,14 +48,6 @@
-DCMAKE_INCLUDE_PATH=${prefix}/include/ \
-DCMAKE_LIBRARY_PATH=${prefix}/lib
-pre-build {
- if {[file exists ${prefix}/lib/libpodofo.dylib]} {
- ui_error "${name} cannot be built while a previous version is installed and active."
- ui_error "Please deactivate the currently active version of ${name} first."
- return -code error "previous ${name} version active"
- }
-}
-
livecheck.type regex
livecheck.url http://podofo.sourceforge.net/download.html
livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130209/bd44db6c/attachment.html>
More information about the macports-changes
mailing list