[143421] trunk/dports/devel/mtn-browse/Portfile

mojca at macports.org mojca at macports.org
Sat Dec 12 10:52:18 PST 2015


Revision: 143421
          https://trac.macports.org/changeset/143421
Author:   mojca at macports.org
Date:     2015-12-12 02:14:10 -0800 (Sat, 12 Dec 2015)
Log Message:
-----------
mtn-browse: switch to perl5.22 using the perl5 portgroup (#48365), dependencies are needed during build

Modified Paths:
--------------
    trunk/dports/devel/mtn-browse/Portfile

Modified: trunk/dports/devel/mtn-browse/Portfile
===================================================================
--- trunk/dports/devel/mtn-browse/Portfile	2015-12-12 10:14:03 UTC (rev 143420)
+++ trunk/dports/devel/mtn-browse/Portfile	2015-12-12 10:14:10 UTC (rev 143421)
@@ -2,10 +2,12 @@
 # $Id$
 
 PortSystem          1.0
+PortGroup           perl5 1.0
 
 name                mtn-browse
 version             1.10
-set perl_version    5.16
+perl5.branches      5.22
+revision            1
 categories          devel
 license             GPL-3+
 platforms           darwin
@@ -25,16 +27,16 @@
 checksums           rmd160  7c60935ac7f936853b50b51bbdd3374d7694a11e \
                     sha256  ea2683c53d688ba24f863a4c6bdffc939a745636fb7ec5174161c5f39fa03212
 
-depends_run         port:p${perl_version}-gnome2 \
-                    port:p${perl_version}-gtk2-gladexml \
-                    port:p${perl_version}-gtk2-sourceview \
-                    port:p${perl_version}-libintl-perl \
-                    port:p${perl_version}-monotone-automatestdio
+depends_lib         port:p${perl5.major}-gnome2 \
+                    port:p${perl5.major}-gtk2-gladexml \
+                    port:p${perl5.major}-gtk2-sourceview \
+                    port:p${perl5.major}-libintl-perl \
+                    port:p${perl5.major}-monotone-automatestdio
 
 use_configure       no
 
 build {
-    reinplace "s|/usr/bin/perl|${prefix}/bin/perl${perl_version}|g" \
+    reinplace "s|/usr/bin/perl|${perl5.bin}|g" \
         ${worksrcpath}/mtn-browse \
         ${worksrcpath}/linux-installer
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20151212/08c8770a/attachment-0001.html>


More information about the macports-changes mailing list