[64041] trunk/dports/net/libtorrent/Portfile

rmsfisher at macports.org rmsfisher at macports.org
Sat Feb 20 09:49:09 PST 2010


Revision: 64041
          http://trac.macports.org/changeset/64041
Author:   rmsfisher at macports.org
Date:     2010-02-20 09:49:09 -0800 (Sat, 20 Feb 2010)
Log Message:
-----------
net/libtorrent removed redundant variable 'real_name' which is identical to 'name'

Modified Paths:
--------------
    trunk/dports/net/libtorrent/Portfile

Modified: trunk/dports/net/libtorrent/Portfile
===================================================================
--- trunk/dports/net/libtorrent/Portfile	2010-02-20 17:46:53 UTC (rev 64040)
+++ trunk/dports/net/libtorrent/Portfile	2010-02-20 17:49:09 UTC (rev 64041)
@@ -3,7 +3,6 @@
 PortSystem      1.0
 
 name            libtorrent
-set real_name   libtorrent
 version         0.12.6
 categories      net
 platforms       darwin
@@ -17,7 +16,6 @@
 
 homepage        http://libtorrent.rakshasa.no/
 master_sites    ${homepage}downloads/
-distname        ${real_name}-${version}
 
 checksums       md5 037499ed708aaf72988cee60e5a8d96b \
                 sha1 bf7082f98bd6281493cba94a456697fb88c2c21b \
@@ -34,7 +32,7 @@
                 --with-kqueue
 
 post-destroot {
-    set docdir ${prefix}/share/doc/${real_name}-${version}
+    set docdir ${prefix}/share/doc/${name}-${version}
     xinstall -d ${destroot}${docdir}
     xinstall -m 0644 -W ${worksrcpath} AUTHORS COPYING ChangeLog NEWS README \
         ${destroot}${docdir}
@@ -42,4 +40,4 @@
 
 livecheck.type  regex
 livecheck.url   ${homepage}
-livecheck.regex ${real_name}-(\\d+(?:\\.\\d+)*)
+livecheck.regex ${name}-(\\d+(?:\\.\\d+)*)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100220/3286cbc2/attachment.html>


More information about the macports-changes mailing list