Ignore:
Timestamp:
Dec 11, 2007, 9:07:04 PM (12 years ago)
Author:
mww@…
Message:

use a hand-crafted ./configure script to generate a simple Makefile: Makes using different compilers possible and universal builds easy

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

Legend:

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

    r30412 r31911  
    1818pre-extract {
    1919        file mkdir ${worksrcpath}
     20        xinstall -m 755 ${filespath}/configure ${worksrcpath}
    2021}
    2122extract.dir     ${worksrcpath}
    22 
    23 use_configure   no
    24 
    25 build.cmd       cc
    26 build.args      pstree.c ${configure.cflags}
    27 build.target    -o pstree
    2823
    2924destroot        {
     
    3530}
    3631
    37 variant universal {
    38     build.args-append  ${configure.universal_cflags}
    39 }
    40 
    41 platform darwin 8 { build.cmd   /usr/bin/gcc-4.0 }
    42 platform darwin 9 { build.cmd   /usr/bin/gcc-4.0 }
    43 
    4432livecheck.check regex
    4533livecheck.url   ftp://ftp.thp.uni-duisburg.de/pub/source/
Note: See TracChangeset for help on using the changeset viewer.