source: trunk/dports/gnustep/Etoile-devel/Portfile @ 57378

Last change on this file since 57378 was 57378, checked in by ryandesign@…, 11 years ago

Change deprecated svn.tag to svn.revision
See http://lists.macosforge.org/pipermail/macports-dev/2009-August/009699.html

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.9 KB
Line 
1# $Id: Portfile 57378 2009-09-10 08:38:23Z ryandesign@macports.org $
2
3PortSystem  1.0
4PortGroup   gnustep 1.0
5
6name            Etoile-devel
7version         0.1.9
8revision        1
9platforms       darwin
10maintainers     nomaintainer
11homepage        http://www.etoile-project.org/
12
13description     GNUstep based user environnement
14long_description \
15    Etoile intends to be an innovative GNUstep-based user environment \
16    built from the ground up on highly modular and light components \
17    with project and document orientation in mind.
18   
19fetch.type      svn
20svn.revision    2100
21svn.url         http://svn.gna.org/svn/etoile/trunk/Etoile
22
23####################### DEVELOPMENT FETCH ##############################
24#fetch {
25#    file copy ${portpath}/Etoile ${workpath}
26#}
27########################################################################
28
29depends_build       bin:svn:subversion
30depends_lib         port:SQLClient \
31                    port:dbus \
32                    port:oniguruma5 \
33                    port:poppler
34
35worksrcdir          Etoile
36
37patchfiles          patch-etoile.make \
38                    patch-PopplerKit-config.sh \
39                    patch-xmpp-GNUmakefile
40
41array set gnustep.post_flags {
42    Frameworks/AddressesKit/Frameworks/AddressView  -lAddresses
43    Frameworks/BookmarkKit                          -lCollectionKit
44    Frameworks/SystemConfig                         -lX11
45}
46
47post-patch {
48    reinplace "s|SCSound.m||" \
49        ${worksrcpath}/Frameworks/SystemConfig/Source/GNUmakefile
50    reinplace "s|/usr|${prefix}|g" \
51        ${worksrcpath}/Services/Private/System/GNUmakefile
52}
53
54# We don't build corner because StepTalk is not available yet in MP
55build.args      corner=no debug=yes
56destroot.args   corner=no debug=yes
57
58post-destroot {
59
60    xinstall -d ${destroot}${prefix}/GNUstep/System/Library/Etoile
61    xinstall -m 644 ${worksrcpath}/Services/Private/System/SystemTaskList.plist \
62        ${destroot}${prefix}/GNUstep/System/Library/Etoile
63
64    xinstall -d ${destroot}${prefix}/share/xsessions
65    xinstall -m 644 ${worksrcpath}/Services/Private/System/etoile.desktop \
66        ${destroot}${prefix}/share/xsessions
67
68    set chan [open ${destroot}${prefix}/bin/etoile w]
69        puts $chan ". ${prefix}/GNUstep/System/Library/Makefiles/GNUstep.sh; etoile_system"
70        close $chan
71        file attributes ${destroot}${prefix}/bin/etoile -permissions 0755
72
73    xinstall -d ${destroot}${prefix}/GNUstep/Local/Library/Themes
74    copy ${worksrcpath}/Bundles/Camaelon/Nesedah.theme \
75        ${destroot}${prefix}/GNUstep/Local/Library/Themes
76
77    copy ${worksrcpath}/Services/User/Calc/Calc.app \
78        ${destroot}${prefix}/GNUstep/Local/Applications
79
80    ln -s ${destroot}${prefix}/GNUstep/Local/Applications/Calc.app/Calc \
81        ${destroot}${prefix}/GNUstep/Local/Tools
82
83    delete ${destroot}${prefix}/GNUstep/Local/Library/Headers/AddressBook
84    ln -s ${destroot}${prefix}/GNUstep/Local/Library/Headers/Addresses \
85        ${destroot}${prefix}/GNUstep/Local/Library/Headers/AddressBook
86}
87
Note: See TracBrowser for help on using the repository browser.