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

Last change on this file since 75626 was 75626, checked in by rmstonecipher@…, 7 years ago

19 ports dependent on poppler, increased revision due to library version change in r75618 (ref: #28000)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.9 KB
Line 
1# $Id: Portfile 75626 2011-02-01 20:18:30Z rmstonecipher@macports.org $
2
3PortSystem  1.0
4PortGroup   gnustep 1.0
5
6name            Etoile-devel
7version         0.1.9
8revision        4
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_lib         port:SQLClient \
30                    port:dbus \
31                    port:oniguruma5 \
32                    port:poppler
33
34worksrcdir          Etoile
35
36patchfiles          patch-etoile.make \
37                    patch-PopplerKit-config.sh \
38                    patch-xmpp-GNUmakefile
39
40array set gnustep.post_flags {
41    Frameworks/AddressesKit/Frameworks/AddressView  -lAddresses
42    Frameworks/BookmarkKit                          -lCollectionKit
43    Frameworks/SystemConfig                         -lX11
44}
45
46post-patch {
47    reinplace "s|SCSound.m||" \
48        ${worksrcpath}/Frameworks/SystemConfig/Source/GNUmakefile
49    reinplace "s|/usr|${prefix}|g" \
50        ${worksrcpath}/Services/Private/System/GNUmakefile
51}
52
53# We don't build corner because StepTalk is not available yet in MP
54build.args      corner=no debug=yes
55destroot.args   corner=no debug=yes
56
57post-destroot {
58
59    xinstall -d ${destroot}${prefix}/GNUstep/System/Library/Etoile
60    xinstall -m 644 ${worksrcpath}/Services/Private/System/SystemTaskList.plist \
61        ${destroot}${prefix}/GNUstep/System/Library/Etoile
62
63    xinstall -d ${destroot}${prefix}/share/xsessions
64    xinstall -m 644 ${worksrcpath}/Services/Private/System/etoile.desktop \
65        ${destroot}${prefix}/share/xsessions
66
67    set chan [open ${destroot}${prefix}/bin/etoile w]
68        puts $chan ". ${prefix}/GNUstep/System/Library/Makefiles/GNUstep.sh; etoile_system"
69        close $chan
70        file attributes ${destroot}${prefix}/bin/etoile -permissions 0755
71
72    xinstall -d ${destroot}${prefix}/GNUstep/Local/Library/Themes
73    copy ${worksrcpath}/Bundles/Camaelon/Nesedah.theme \
74        ${destroot}${prefix}/GNUstep/Local/Library/Themes
75
76    copy ${worksrcpath}/Services/User/Calc/Calc.app \
77        ${destroot}${prefix}/GNUstep/Local/Applications
78
79    ln -s ${destroot}${prefix}/GNUstep/Local/Applications/Calc.app/Calc \
80        ${destroot}${prefix}/GNUstep/Local/Tools
81
82    delete ${destroot}${prefix}/GNUstep/Local/Library/Headers/AddressBook
83    ln -s ${destroot}${prefix}/GNUstep/Local/Library/Headers/Addresses \
84        ${destroot}${prefix}/GNUstep/Local/Library/Headers/AddressBook
85}
86
Note: See TracBrowser for help on using the repository browser.