source: trunk/dports/devel/statcvs/Portfile

Last change on this file was 104181, checked in by jmr@…, 5 years ago

statcvs: license, noarch

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.4 KB
Line 
1# $Id: Portfile 104181 2013-03-20 09:45:00Z ryandesign@macports.org $
2
3PortSystem 1.0
4
5name                    statcvs
6version                 0.2.2
7categories              devel java
8license                 LGPL-2.1+
9platforms               darwin
10supported_archs noarch
11maintainers             nomaintainer
12description             generates tables and charts about a CVS repository
13long_description        StatCVS retrieves information from a CVS repository and \
14                                generates various tables and charts describing the history of \
15                                a software project development, such as a timeline for the \
16                                lines of code, contribution of each developer, etc.
17
18homepage                http://statcvs.sourceforge.net/
19master_sites    sourceforge
20distname                ${distname}-source
21checksums               md5 498f50991aff384426279528757c462c
22use_zip                 yes
23
24depends_build   bin:ant:apache-ant
25depends_lib             bin:java:kaffe \
26                                port:jfreechart \
27                                port:junit
28depends_run             bin:cvs:cvs
29
30worksrcdir              ${name}-${version}
31
32post-extract    {
33        file delete ${worksrcpath}/lib/junit.jar \
34                ${worksrcpath}/lib/jfreechart-0.9.21.jar
35        system "ln -sf ${prefix}/share/java/jfreechart.jar ${worksrcpath}/lib/jfreechart-0.9.21.jar"
36        system "ln -sf ${prefix}/share/java/junit.jar ${worksrcpath}/lib/junit.jar"
37}
38
39use_configure   no
40
41build.cmd               ant
42build.target    dist
43
44destroot        {
45        xinstall -m 755 ${filespath}/statcvs ${destroot}${prefix}/bin
46        reinplace "s|_PREFIX_|${prefix}|g" ${destroot}${prefix}/bin/statcvs
47        xinstall -m 755 -d ${destroot}${prefix}/share/java/
48        xinstall -m 644 ${worksrcpath}/dist/statcvs.jar \
49                ${destroot}${prefix}/share/java/
50}
Note: See TracBrowser for help on using the repository browser.