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

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

Cleaned up the weird destroot rule

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