[40789] trunk/dports/math/ent

blb at macports.org blb at macports.org
Tue Oct 14 17:24:25 PDT 2008


Revision: 40789
          http://trac.macports.org/changeset/40789
Author:   blb at macports.org
Date:     2008-10-14 17:24:25 -0700 (Tue, 14 Oct 2008)
Log Message:
-----------
math/ent - version bump to 20080128 (and use dist_subdir since distfile
has no version info); closes #12162

Modified Paths:
--------------
    trunk/dports/math/ent/Portfile

Removed Paths:
-------------
    trunk/dports/math/ent/files/

Modified: trunk/dports/math/ent/Portfile
===================================================================
--- trunk/dports/math/ent/Portfile	2008-10-15 00:17:00 UTC (rev 40788)
+++ trunk/dports/math/ent/Portfile	2008-10-15 00:24:25 UTC (rev 40789)
@@ -2,10 +2,9 @@
 
 PortSystem          1.0
 name                ent
-version             19981020
-revision            2
+version             20080128
 categories          math security
-maintainers         blb at macports.org
+maintainers         blb
 description         Entropy calculator
 long_description \
    ent applies various tests to sequences of bytes stored in files and \
@@ -19,16 +18,21 @@
 homepage            http://www.fourmilab.ch/random/
 master_sites        ${homepage}
 distname            random
+dist_subdir         ${name}/${version}
 use_zip             yes
 worksrcdir          ent
 
-checksums           md5 ccaa3fffd4d84d46e9b712d0c88f008c
+checksums           md5     8104a83af1ea5b280da96c92da18eae4 \
+                    sha1    0f2f12dc67d1f02f77776709cf5fc5eee1d1b2e2 \
+                    rmd160  b21b8401fdbd2aac189fe4a442a1164b172407f8
 
 pre-extract {
    extract.post_args   "-d ${worksrcpath}"
 }
 
-patchfiles          patch-Makefile patch-randtest.c
+post-extract {
+   reinplace "s|^CFLAGS = |CFLAGS = -O3 |" ${worksrcpath}/Makefile
+}
 
 use_configure       no
 
@@ -42,7 +46,5 @@
       ${destroot}${prefix}/share/doc/${name}
 }
 
-platform darwin {
-   build.args-append   CFLAGS="-O3 -DHAVE_LOG2"
-}
+universal_variant   no
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20081014/1cedf54c/attachment.html 


More information about the macports-changes mailing list