source: trunk/dports/java/jgoodies-common/Portfile @ 79701

Last change on this file since 79701 was 79701, checked in by blair@…, 8 years ago

jgoodies-common: new port for JGoodies Common library. Will be used
by updates to jgoodies-forms and jgoodies-looks.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.0 KB
Line 
1# $Id: Portfile 79701 2011-06-23 20:37:58Z blair@macports.org $
2
3PortSystem 1.0
4name                    jgoodies-common
5version                 1.2.0
6categories              java
7platforms               darwin
8maintainers             blair
9
10description             Helper classes for other jgoodies-* packages
11long_description        The JGoodies Common library provides convenience \
12                        code for other JGoodies libraries and applications.
13homepage                http://www.jgoodies.com/downloads/libraries.html
14
15master_sites            http://www.jgoodies.com/download/libraries/common/
16distname                ${name}-1_2_0
17checksums               md5 777e651327516baa1aa5c7ff8322dbcb \
18                        sha1 0463b2d680e4d736b1b50e870b9c090ee41e1995 \
19                        rmd160 ee9298d5c5b0831d23421bc05562fb134023c3a9
20use_zip                 yes
21
22depends_lib             bin:java:kaffe
23
24use_configure           no
25
26worksrcdir              ${name}-${version}
27
28build.cmd               true
29
30destroot {
31        set javadir ${destroot}${prefix}/share/java
32        set docdir ${destroot}${prefix}/share/doc/${name}
33
34        xinstall -d -m 755 ${javadir}
35        xinstall -d -m 755 ${docdir}
36
37        file copy ${worksrcpath}/${name}-${version}.jar ${javadir}/${name}.jar
38        foreach f {LICENSE.txt README.html RELEASE-NOTES.txt docs} {
39                file copy ${worksrcpath}/${f} ${docdir}/
40        }
41}
Note: See TracBrowser for help on using the repository browser.