source: trunk/dports/java/pircbot/Portfile

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

pircbot: license, noarch

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 967 bytes
Line 
1# $Id: Portfile 108586 2013-07-27 02:10:59Z ryandesign@macports.org $
2
3PortSystem 1.0
4
5name                    pircbot
6version                 1.4.4
7categories              java irc
8license                 GPL-2
9platforms               darwin
10supported_archs noarch
11maintainers             nomaintainer
12description             PircBot is a Java framework for writing IRC bots
13long_description        "${description}"
14
15homepage                http://www.jibble.org/pircbot.php
16master_sites    http://www.jibble.org/files/
17checksums               md5 eb6894bb40c97cfde34a410dd76e77ab
18use_zip                 yes
19
20depends_lib             port:gnu-classpath
21depends_build   bin:jikes:jikes
22
23post-extract {
24        file mkdir ${worksrcpath}/build
25        system "cd ${worksrcpath} && unzip -d build pircbot.jar \*.java"
26}
27
28use_configure   no
29
30build.dir               ${worksrcpath}/build
31build.cmd               jikes ./org/jibble/pircbot/*.java
32build.env               CLASSPATH=${prefix}/share/java/glibj.jar
33build.target
34post-build {
35        system "jar cvf ${workpath}/${name}.jar -C ${worksrcpath}/build ."
36}
37
38destroot {
39        xinstall -m 755 -d ${destroot}${prefix}/share/java
40        xinstall -m 644 ${workpath}/${name}.jar ${destroot}${prefix}/share/java
41}
Note: See TracBrowser for help on using the repository browser.