source: trunk/dports/editors/bluefish/Portfile @ 4097

Last change on this file since 4097 was 4097, checked in by matt, 17 years ago

Portfile for bluefish-0.12

  • Property svn:eol-style set to native
File size: 2.3 KB
Line 
1# $Id: Portfile,v 1.1 2003/11/29 21:48:38 matt Exp $
2
3PortSystem 1.0
4name                    bluefish
5version                 0.12
6categories              editors www
7platforms               darwin
8maintainers             matt@opendarwin.org
9homepage                http://bluefish.openoffice.nl/
10description             A powerful editor for web designers
11
12long_description        Bluefish is a powerful editor for experienced web designers and \
13                        programmers. Bluefish supports many programming and markup languages \
14                        but it focuses on editing dynamic and interactive websites.
15
16master_sites            ftp://ftp.ratisbona.com/pub/${name}/downloads/ \
17                        http://pkedu.fbt.eitn.wau.nl/~olivier/downloads/ \
18                        ftp://${name}.advancecreations.com/${name}/downloads/ \
19                        http://${name}.mrball.net/downloads/ \
20                        http://${name}.shellhung.org/downloads/
21                       
22checksums               md5 9b01162747c7be6e2fc46475544bf995
23use_bzip2               yes
24
25depends_lib             lib:libgtk.2:gtk2 \
26                        lib:libpcre:pcre
27
28configure.env           LDFLAGS="-L${prefix}/lib -L${x11prefix}/lib" \
29                        CFLAGS="-I${prefix}/include" CPPFLAGS="-I${prefix}/include \
30                        -I${x11prefix}/include -no-cpp-precomp" \
31
32configure.args          --mandir=${prefix}/share/man \
33                        --infodir=${prefix}/share/info \
34                        --sysconfdir=${prefix}/etc \
35                        --with-icon-path=${prefix}/share/pixmaps \
36                        --without-PACKAGE
37
38post-configure {        reinplace "s|/opt/local/share/pixmaps|${destroot}${prefix}/share/pixmaps|g" ${worksrcpath}/Makefile
39                        reinplace "s|/opt/local|${destroot}${prefix}|g" ${worksrcpath}/Makefile ${worksrcpath}/data/Makefile
40                        reinplace "s|/usr/share/gnome/apps|${destroot}${prefix}/share/gnome/apps|" ${worksrcpath}/data/Makefile
41                        reinplace "s|/usr/share/applications|${destroot}${prefix}/share/applications|" ${worksrcpath}/data/Makefile
42                        reinplace "s|prefix = /opt/local|prefix = ${destroot}${prefix}|" ${worksrcpath}/src/Makefile
43                        reinplace "s|/man/man1|/share/man/man1|" ${worksrcpath}/src/Makefile
44                        }
45
46destroot.destdir        prefix=${destroot}${prefix} \
47                        mandir=${destroot}${prefix}/share/man
48
49pre-destroot {          system "install -d -o root -m 755 '${destroot}${prefix}/share/pixmaps'"
50                        system "install -d -o root -m 755 '${destroot}${prefix}/share/gnome/apps'"
51                        system "install -d -o root -m 755 '${destroot}${prefix}/share/applications'"
52                        }
53
54destroot {              system "install -c -o root -m 644 '${worksrcpath}/debian/bluefish.1' '${destroot}${prefix}/share/man/man1'"
55                        }
56
Note: See TracBrowser for help on using the repository browser.