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

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

Clean up some post-configure arguments to avoid users to manually change icons's path in Bluefish's preferencesPortfile

  • Property svn:eol-style set to native
File size: 1.7 KB
Line 
1# $Id: Portfile,v 1.3 2003/12/01 20:29:21 matt Exp $
2
3PortSystem 1.0
4name                    bluefish
5version                 0.12
6revision                2
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|/usr/share/gnome/apps|${destroot}${prefix}/share/gnome/apps|" ${worksrcpath}/data/Makefile
40                        reinplace "s|/usr/share/applications|${destroot}${prefix}/share/applications|" ${worksrcpath}/data/Makefile
41                        }
42
43destroot.destdir        prefix=${destroot}${prefix}
44
45pre-destroot {          system "install -d -m 755 '${destroot}${prefix}/share/pixmaps'"
46                        system "install -d -m 755 '${destroot}${prefix}/share/gnome/apps'"
47                        system "install -d -m 755 '${destroot}${prefix}/share/applications'"
48                        }
49
Note: See TracBrowser for help on using the repository browser.