[132390] trunk/dports/devel/Bear/Portfile

cal at macports.org cal at macports.org
Sat Jan 31 06:15:13 PST 2015


Revision: 132390
          https://trac.macports.org/changeset/132390
Author:   cal at macports.org
Date:     2015-01-31 06:15:13 -0800 (Sat, 31 Jan 2015)
Log Message:
-----------
Bear: update to 2.0.1

Modified Paths:
--------------
    trunk/dports/devel/Bear/Portfile

Modified: trunk/dports/devel/Bear/Portfile
===================================================================
--- trunk/dports/devel/Bear/Portfile	2015-01-31 08:02:55 UTC (rev 132389)
+++ trunk/dports/devel/Bear/Portfile	2015-01-31 14:15:13 UTC (rev 132390)
@@ -5,9 +5,9 @@
 PortGroup           github 1.0
 PortGroup           cmake 1.0
 
-github.setup        rizsotto Bear 1.4.3
-checksums           rmd160  66b88ea351b0db69777f4e1cacfe15453dfdee00 \
-                    sha256  4a0f9525608653a92370a956dddc8b6b76b379d760f0d1a4730a5fac64f17f2a
+github.setup        rizsotto Bear 2.0.1
+checksums           rmd160  d77c9ea0215f90df29d74f06e6a20eb66961236c \
+                    sha256  8509f0f0289bf6bfbc74a8950f8e4faed302d4d5bf06bb3e1227f20b9a31c8c0
 
 maintainers         cal openmaintainer
 license             GPL-3+
@@ -22,35 +22,9 @@
     available then it is easy to re-run the compilation with different \
     programs.
 
-depends_build-append \
-                    port:pkgconfig
+depends_lib-append  port:python27
 
-depends_lib-append  port:libconfig-hr
-
-platform darwin {
-    # needs dprintf(), which doesn't seem to be available on SL
-    if {${os.major} <= 10} {
-        depends_lib
-        depends_build
-        pre-fetch {
-            ui_error "Bear is not supported on Snow Leopard and earlier."
-            error "unsupported platform"
-        }
-    }
+post-patch {
+    reinplace "s|/usr/bin/env python|${prefix}/bin/python2.7|g" \
+        ${worksrcpath}/bear/main.py.in
 }
-
-set config          ${prefix}/etc/bear.conf
-set dconfig         ${prefix}/etc/bear.conf.default
-post-destroot {
-    move ${destroot}${config} ${destroot}${dconfig}
-}
-
-post-activate {
-    if {![file exists ${config}]} {
-        xinstall -m 644 ${dconfig} ${config}
-    }
-}
-
-notes "The default configuration file has been installed as\n  ${dconfig}.\nIf\
-    ${config} does not exist, it will be created on activation from the default\
-    file."
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150131/21f0f464/attachment.html>


More information about the macports-changes mailing list