Ticket #18020: Portfile

File Portfile, 1.1 KB (added by mellon85@…, 16 years ago)

Portfile for gtkevemon

Line 
1PortSystem 1.0
2
3name        gtkevemon
4version     80
5revision    0
6categories  games
7maintainers mellon85@gmail.com
8description GTK Eve-Online monitor
9long_description   GtkEveMon is a skill monitoring standalone application \
10                   for GNU/Linux systems. With GtkEveMon you can monitor \
11                   your current skills and your skill training process \
12                   without starting EVE-Online. \
13
14homepage    http://gtkevemon.battleclinic.com/
15use_parallel_build  yes
16worksrcdir  gtkevemon
17master_sites
18distfiles
19
20depends_build bin:svn:subversion
21
22depends_lib port:gtkmm port:libxml2
23
24pre-fetch {
25    if {[file isdirectory ${workpath}/gtkevemon]} {
26        if {![file isdirectory ${workpath}/gtkevemon/.svn]} {
27            file delete -force ${workpath}/gtkevemon
28        }
29    }
30}
31
32fetch {
33    system "cd ${workpath} && svn co -r${version} svn://gtkevemon.battleclinic.com/GTKEVEMon/trunk/gtkevemon"
34}
35
36destroot {
37    file mkdir ${destroot}
38    file mkdir ${destroot}${prefix}/bin
39    file copy ${worksrcpath}/src/gtkevemon ${destroot}${prefix}/bin/gtkevemon
40}
41
42extract {}
43configure {}
44
45platforms       darwin
46