Skip to content
Permalink
Browse files

Bug: https://trac.macports.org/ticket/1327

Submitted by:   blb@pobox.com
Reviewed by:    mww@

new port math/ent

ent is an entropy calculation and analysis of putative random sequences
-> http://www.fourmilab.ch/random/

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@4315 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
Markus W. Weißmann
Markus W. Weißmann committed Dec 27, 2003
1 parent ee1910c commit 9170bd7bfff99bca6f3aec4361821d4e23c1a11b
Showing with 55 additions and 0 deletions.
  1. +38 −0 math/ent/Portfile
  2. +17 −0 math/ent/files/patch-Makefile
@@ -0,0 +1,38 @@
# $Id: Portfile,v 1.1 2003/12/27 16:38:29 mww Exp $

PortSystem 1.0
name ent
version 19981020
categories math security
maintainers blb@pobox.com
description Entropy calculation and analysis of putative random sequences.

long_description ${description}

platforms darwin

homepage http://www.fourmilab.ch/random/
master_sites ${homepage}
distname random
use_zip yes
checksums md5 ccaa3fffd4d84d46e9b712d0c88f008c

worksrcdir ent
pre-extract {
extract.post_args "-d ${worksrcpath}"
}

patchfiles patch-Makefile

use_configure no

build.target ent

destroot {
file mkdir "${destroot}/${prefix}/bin" \
"${destroot}/${prefix}/share/doc/${name}"
file copy "${worksrcpath}/ent" "${destroot}/${prefix}/bin/"
file copy "${worksrcpath}/ent.html" \
"${destroot}/${prefix}/share/doc/${name}"
}

@@ -0,0 +1,17 @@
--- Makefile Tue Oct 20 17:25:24 1998
+++ /Users/blb/build/ent/Makefile Fri Jul 20 17:35:45 2001
@@ -1,11 +1,11 @@

# Unix make file for random test program

-CFLAGS = -g
-#CFLAGS = -O
+#CFLAGS = -g
+CFLAGS = -O3

ent: ent.o iso8859.o randtest.o
- cc -O ent.o iso8859.o randtest.o -o ent -lm
+ cc -O3 ent.o iso8859.o randtest.o -o ent

ent.c: iso8859.h randtest.h

0 comments on commit 9170bd7

Please sign in to comment.
You can’t perform that action at this time.