source: trunk/dports/java/lcrypto/Portfile

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

lcrypto: license, noarch

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.3 KB
Line 
1# $Id: Portfile 111752 2013-09-30 16:23:17Z ryandesign@macports.org $
2
3PortSystem 1.0
4
5name                    lcrypto
6version                 1.28
7categories              java crypto
8license                 MIT
9platforms               darwin
10supported_archs noarch
11maintainers             nomaintainer
12description             Java cryptographic library
13long_description        The Bouncy Castle Crypto package is a Java implementation \
14                                        of cryptographic algorithms.
15
16homepage                http://lcrypto.sourceforge.net/
17master_sites    http://www.bouncycastle.org/download/
18distname                lcrypto-jdk14-128
19checksums               md5 ce2fd4c5e28972bdaaed351bc5d7ece5
20
21depends_build   port:jikes \
22                                port:junit \
23                                bin:jar:fastjar
24depends_lib             port:gnu-classpath
25
26set buildpath   ${workpath}/build
27
28post-extract {
29        file mkdir ${buildpath}
30}
31
32use_configure   no
33
34build.dir               ${worksrcpath}/src
35build.cmd               "/usr/bin/find org -name \\*.java -exec \
36                                        ${prefix}/bin/jikes -d ${buildpath} \{\} \\;"
37build.env               BOOTCLASSPATH=${prefix}/share/java/glibj.jar \
38                                CLASSPATH=${prefix}/share/java/junit.jar:.
39build.target
40
41post-build {
42        system "jar cvf ${worksrcpath}/lcrypto.jar -C ${buildpath} ."
43}
44
45test.run                yes
46test.cmd                java org.bouncycastle.crypto.test.RegressionTest
47test.env                CLASSPATH=${prefix}/share/java/gnumail.jar:${worksrcpath}/lcrypto.jar
48test.target
49
50destroot {
51        xinstall -m 755 -d ${destroot}${prefix}/share/java/
52        xinstall -m 644 ${worksrcpath}/lcrypto.jar ${destroot}${prefix}/share/java/
53}
Note: See TracBrowser for help on using the repository browser.