source: trunk/dports/science/libquantum/Portfile

Last change on this file was 111516, checked in by jmr@…, 4 years ago

libquantum: build fix

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 925 bytes
Line 
1# $Id: Portfile 111516 2013-09-24 08:54:55Z ryandesign@macports.org $
2
3PortSystem 1.0
4
5name                    libquantum
6version                 0.2.4
7categories              science
8license                 GPL-2+
9platforms               darwin
10maintainers             nomaintainer
11description             library for the simulation of a quantum computer
12long_description        libquantum is a C library for the simulation of a quantum \
13                                computer. Based on the principles of quantum mechanics, it \
14                                provides an implementation of a quantum register. Basic \
15                                operations for register manipulation such as the Hadamard gate \
16                                or the Controlled-NOT gate are available through an \
17                                easy-to-use interface. Measurements can be performed on either \
18                                single qubits or the whole quantum register.
19
20homepage                http://www.libquantum.de/
21master_sites    ${homepage}files/
22checksums               md5 ce7b9f942b4b23c7d7e17e974d8ce577
23
24patchfiles              Makefile.in.patch
25
26pre-test {
27        system "cd ${worksrcpath} && ${build.cmd} demos"
28}
29test.run                yes
30test.cmd                ./grover 42 10 && ./shor 15
31test.target
Note: See TracBrowser for help on using the repository browser.