[47809] trunk/dports/perl/p5-net-dict/Portfile

vinc17 at macports.org vinc17 at macports.org
Fri Mar 6 19:21:01 PST 2009


Revision: 47809
          http://trac.macports.org/changeset/47809
Author:   vinc17 at macports.org
Date:     2009-03-06 19:21:00 -0800 (Fri, 06 Mar 2009)
Log Message:
-----------
p5-net-dict: added rmd160 checksum, removed dependency on p5-digest-md5
(Digest::MD5 is provided by perl5.8 and no longer seems to be necessary
anyway), and fixed post-destroot in variant dict_altname (due to "cd").

Modified Paths:
--------------
    trunk/dports/perl/p5-net-dict/Portfile

Modified: trunk/dports/perl/p5-net-dict/Portfile
===================================================================
--- trunk/dports/perl/p5-net-dict/Portfile	2009-03-07 02:53:30 UTC (rev 47808)
+++ trunk/dports/perl/p5-net-dict/Portfile	2009-03-07 03:21:00 UTC (rev 47809)
@@ -10,9 +10,10 @@
 long_description    Perl class implementing a simple client API for the \
                     DICT protocol defined in RFC2229
 checksums           md5 fb57f694455549861c3c602521162956 \
-                    sha1 e96735711be9704b83f165470813bd23f1be7ca5
+                    sha1 e96735711be9704b83f165470813bd23f1be7ca5 \
+                    rmd160 417d440c7278e6ebb5a778e5483dc409846aaa70
 platforms           darwin
-depends_lib-append  port:p5-appconfig-std port:p5-digest-md5
+depends_lib-append  port:p5-appconfig-std
 
 configure.env       C_INCLUDE_PATH="${prefix}/include" \
                     LIBRARY_PATH="${prefix}/lib"
@@ -23,8 +24,8 @@
 # to choose which dict program if wishes to use.
 variant dict_altname description {Avoid a conflict with the dict port} {
   post-destroot {
-        cd ${destroot}${prefix}
-        file rename bin/dict bin/dict.perl
-        file rename share/man/man1/dict.1 share/man/man1/dict.perl.1
+        set d ${destroot}${prefix}
+        file rename ${d}/bin/dict ${d}/bin/dict.perl
+        file rename ${d}/share/man/man1/dict.1 ${d}/share/man/man1/dict.perl.1
   }
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090306/7cc13d5d/attachment.html>


More information about the macports-changes mailing list