source: trunk/dports/gnustep/etoile/Portfile @ 20307

Last change on this file since 20307 was 20307, checked in by blair@…, 14 years ago

Set the svn:keywords property to 'Id' for all Portfile's. This
re-enables the Id keyword substitution that was present in the CVS
repository.

See this thread for more information:
http://lists.macosforge.org/pipermail/macports-dev/2006-October/000180.html

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.9 KB
Line 
1# $Id: Portfile 20307 2006-11-01 21:21:02Z blair@macports.org $
2
3PortSystem  1.0
4PortGroup   gnustep 1.0
5
6name        etoile
7version     0.1.977
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     977
20svn.url     svn://svn.gna.org/svn/etoile/trunk etoile
21
22depends_build   bin:svn:subversion
23depends_lib-append  \
24    port:SQLClient port:libpng port:oniguruma port:zlib
25   
26worksrcdir  etoile/Etoile
27
28array set gnustep.post_flags {
29    Frameworks/BookmarkKit/Source "-lobjc -lgnustep-base"
30    Frameworks/EtoileExtensionsKit/Source "-lobjc -lgnustep-base -lgnustep-gui"
31    Frameworks/ExtendedWorkspaceKit/Source "-lobjc -lgnustep-base"
32    Frameworks/IconKit "-lobjc -lgnustep-base -lgnustep-gui"
33    Frameworks/LuceneKit "-lgnustep-gui"
34    Frameworks/OgreKit "-lobjc -lgnustep-base -lgnustep-gui"   
35    Frameworks/PreferencesKit/Source "-lobjc -lgnustep-base -lgnustep-gui"
36    Frameworks/ServicesBarKit/Source "-lobjc -lgnustep-base -lgnustep-gui"
37}
38
39post-patch {
40    set CocoaCompatibility_dir \
41        ${worksrcpath}/Frameworks/PreferencesKit/Source
42    set CocoaCompatibility_Source {
43        PKMatrixViewPresentation.m
44        PKPreferencesController.m
45        PKPresentationBuilder.m
46        PKTableViewPresentation.m
47        PKToolbarPresentation.m
48    }
49    foreach i $CocoaCompatibility_Source {
50        reinplace "s|#import \"CocoaCompatibility.h\"||g" \
51            ${CocoaCompatibility_dir}/$i
52    }
53    foreach i {CocoaCompatibility.m ../Headers/CocoaCompatibility.h} {
54        reinplace "s|$i||g" \
55            ${CocoaCompatibility_dir}/GNUmakefile
56    }
57
58    set math_files {
59        Developer/Examples/DistributedViewExample/main.m
60        Frameworks/EtoileExtensionsKit/Source/UKDistributedView.m
61        Frameworks/EtoileExtensionsKit/Source/UKFinderIconCell.m
62        Frameworks/LuceneKit/Source/Search/LCDefaultSimilarity.m
63        Services/User/Grr/FeedPreferencesManager.m
64    }
65    foreach i $math_files {
66        reinplace "s|#import <math.h>||g" ${worksrcpath}/$i
67        reinplace "s|#include <math.h>||g" ${worksrcpath}/$i
68    }
69
70    reinplace "s|__APPLE__|NON_MERCI|" \
71        ${worksrcpath}/Frameworks/LuceneKit/Source/Search/LCFieldSortedHitQueue.m
72    reinplace "s|lX11|lX11 -lobjc -lgnustep-base -lgnustep-gui|g" \
73        ${worksrcpath}/Frameworks/XWindowServerKit/GNUmakefile
74    reinplace "s|-lX11|-L${x11prefix}/lib -lX11|g" \
75        ${worksrcpath}/Services/Private/Azalea/GNUmakefile
76}
77
78gnustep.domain  System
79
80post-destroot {
81    system "cp -r ${worksrcpath}/Themes ${destroot}${prefix}/GNUstep/System/Library"
82    xinstall -d ${destroot}${prefix}/share/xsessions
83    xinstall -m 644 ${worksrcpath}/Services/Private/System/etoile.desktop \
84        ${destroot}${prefix}/share/xsessions
85}
86
Note: See TracBrowser for help on using the repository browser.