Changeset 4104 for trunk/dports


Ignore:
Timestamp:
Dec 1, 2003, 8:29:21 PM (20 years ago)
Author:
matt
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/editors/bluefish/Portfile

    r4099 r4104  
    1 # $Id: Portfile,v 1.2 2003/11/30 01:44:34 matt Exp $
     1# $Id: Portfile,v 1.3 2003/12/01 20:29:21 matt Exp $
    22
    33PortSystem 1.0
    44name                    bluefish
    55version                 0.12
    6 revision                1
     6revision                2
    77categories              editors www
    88platforms               darwin
     
    3737                        --without-PACKAGE
    3838
    39 post-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
     39post-configure {        reinplace "s|/usr/share/gnome/apps|${destroot}${prefix}/share/gnome/apps|" ${worksrcpath}/data/Makefile
    4240                        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
    4541                        }
    4642
    47 destroot.destdir        prefix=${destroot}${prefix} \
    48                         mandir=${destroot}${prefix}/share/man
     43destroot.destdir        prefix=${destroot}${prefix}
    4944
    50 pre-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'"
     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'"
    5348                        }
    5449
Note: See TracChangeset for help on using the changeset viewer.