source: trunk/dports/java/lcrypto/Portfile @ 75063

Last change on this file since 75063 was 30233, checked in by jmpp@…, 12 years ago

nomaintainer address abstraction in java category.

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