source: trunk/dports/gnustep/Etoile/Portfile @ 26265

Last change on this file since 26265 was 26265, checked in by yves@…, 13 years ago

Now prepared for gnutep-make-2.0

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 3.5 KB
Line 
1# $Id: Portfile 26265 2007-06-17 22:08:24Z yves@macports.org $
2
3PortSystem  1.0
4PortGroup   gnustep 1.0
5
6name            Etoile
7version         0.1.9
8platforms       darwin
9maintainers     yves@macports.org
10homepage        http://www.etoile-project.org/
11
12description     GNUstep based user environnement
13long_description \
14    Etoile intends to be an innovative GNUstep based user environnement \
15    built from the ground up on highly modular and light components \
16    with project and document orientation in mind.
17   
18fetch.type      svn
19svn.tag         1993
20svn.url         http://svn.gna.org/svn/etoile/stable/Etoile
21
22############################# DEBUG FETCH ##############################
23#fetch {
24#    file copy ${portpath}/Etoile ${workpath}
25#}
26########################################################################
27
28depends_build       bin:svn:subversion
29depends_lib         port:SQLClient \
30                    port:dbus \
31                    port:oniguruma5 \
32                    port:poppler
33
34worksrcdir          ${name}
35
36patchfiles          patch-etoile.make \
37                    patch-PopplerKit-GNUmakefile \
38                    patch-PopplerKit-config.sh \
39                    patch-xmpp-GNUmakefile \
40                    patch-AddressManager-GNUmakefile
41
42array set gnustep.post_flags {
43    Frameworks/AddressesKit/Frameworks/AddressView  -lAddresses
44    Frameworks/BookmarkKit                          -lCollectionKit
45    Frameworks/SystemConfig                         -lX11
46}
47
48post-patch {
49    reinplace "s|SCSound.m||" \
50        ${worksrcpath}/Frameworks/SystemConfig/Source/GNUmakefile
51    reinplace "s|/usr|${prefix}|g" \
52        ${worksrcpath}/Services/Private/System/GNUmakefile
53    reinplace "s|\$(GNUSTEP_INSTALLATION_DIR)|${destroot}${prefix}/GNUstep/Local|g" \
54                Services/User/Grr/Components/ArticleOperations/GNUmakefile \
55                Services/User/Grr/Components/ArticleTable/GNUmakefile \
56                Services/User/Grr/Components/ArticleView/GNUmakefile \
57                Services/User/Grr/Components/DatabaseOperations/GNUmakefile \
58                Services/User/Grr/Components/DatabaseTreeView/GNUmakefile \
59                Services/User/Grr/Components/Fonts/GNUmakefile \
60                Services/User/Grr/Components/Proxy/GNUmakefile \
61                Services/User/Grr/Components/Searching/GNUmakefile \
62                Services/User/Grr/Components/SubscriptionPanel/GNUmakefile \
63                Services/User/Grr/Components/TreeDatabase/GNUmakefile \
64                Services/User/Grr/Components/URLOpening/GNUmakefile \
65                Services/User/Grr/Development/Deprecated/ArticleDatabase/GNUmakefile \
66                Services/User/Grr/Development/Deprecated/FeedTable/GNUmakefile
67}
68
69# This needs StepTalk, not yet in MacPorts
70build.args      corner=no
71destroot.args   corner=no
72
73post-destroot {
74    cd ${destroot}${prefix}
75    xinstall -d GNUstep/System/Library/Etoile
76    xinstall -m 644 ${worksrcpath}/Services/Private/System/SystemTaskList.plist \
77        GNUstep/System/Library/Etoile
78    xinstall -d share/xsessions
79    xinstall -m 644 ${worksrcpath}/Services/Private/System/etoile.desktop \
80        share/xsessions
81    xinstall -d GNUstep/Local/Library/Themes
82    file copy ${worksrcpath}/Bundles/Camaelon/Nesedah.theme \
83        GNUstep/Local/Library/Themes
84    file copy ${worksrcpath}/Services/User/Calc/Calc.app \
85        GNUstep/Local/Applications
86    system "echo \". ${prefix}/GNUstep/System/Library/Makefiles/GNUstep.sh; \
87                etoile_system\" > bin/etoile &&
88                chmod 755 bin/etoile &&
89                cd GNUstep/Local/Tools &&
90                ln -s ../Applications/Calc.app/Calc &&
91                cd ../Library/Headers &&
92                rm -f AddressBook &&
93                ln -s Addresses AddressBook"
94}
95
Note: See TracBrowser for help on using the repository browser.