Ignore:
Timestamp:
Sep 1, 2004, 10:56:38 PM (15 years ago)
Author:
matt
Message:

Bug: 2155
Submitted by: meissnem@… (Matt Meissner)
Reviewed by: matt@

Patch for fileinfo's project.
Thanks Matt.M!

Location:
trunk/dports/sysutils/osxutils
Files:
2 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/sysutils/osxutils/Portfile

    r5826 r8149  
    1 # $Id: Portfile,v 1.11 2004/03/15 18:24:09 waqar Exp $
     1# $Id: Portfile,v 1.12 2004/09/01 22:56:38 matt Exp $
    22
    33PortSystem 1.0
    44name            osxutils
    5 version         1.3
     5version         1.4
    66categories      sysutils
    77maintainers     waqar@opendarwin.org
     
    1919extract.suffix  .tgz
    2020distname        ${name}-${version}-src
    21 checksums       md5 03120e6f11133850c96ce9bbf7ffa3cd
     21checksums       md5 d4592eb8d9d6d5e216bfd58f4c49d488
    2222use_configure   no
    2323build.type      pbx
    24 build.target    {}
    25 set b_progs     "lsmac setfcomment setfctypes setfflags setlabel setsuffix"
     24build.target
     25set b_progs     "fileinfo geticon lsmac mkalias setfcomment setfctypes setfflags seticon setlabel setsuffix"
    2626set i_progs     "cpath google trash"
     27patchfiles      patch-project.pbxproj.diff
     28
    2729configure       {
    2830        reinplace "s|main.c|setfcomment.c|g"    \
     
    3032        reinplace "s|main.c|setlabel.c|g"       \
    3133                ${worksrcpath}/setlabel/setlabel.xcode/project.pbxproj
     34
     35        foreach man1File [glob ${worksrcpath}/*/*1] {
     36                reinplace "s|/usr/local|${prefix}|g" \
     37                ${man1File}
     38        }
     39
     40        foreach projectfile [glob ${worksrcpath}/*/*/*.pbxproj] {
     41                reinplace "s|/usr/share/man|${prefix}/share/man|g" \
     42                ${projectfile}
     43        }
    3244}
    3345build           {
     
    3749        }
    3850}       
     51
    3952destroot.destdir
     53
    4054destroot        {
    4155        foreach prog ${i_progs} {
     
    4862                system "cd ${worksrcpath}/${prog} && ${build.cmd} install \
    4963                        INSTALL_PATH=${prefix}/bin DSTROOT=${destroot}"
    50                 system "cd ${worksrcpath}/${prog} && install -m 644 \
    51                         ${prog}.1 ${destroot}/${prefix}/share/man/man1/"
    5264        }
    5365}
     66
Note: See TracChangeset for help on using the changeset viewer.