Changeset 5466


Ignore:
Timestamp:
Feb 15, 2004, 11:20:12 PM (16 years ago)
Author:
toby
Message:

Use xinstall.
Clean up some formatting.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/x11/abclock/Portfile

    r4693 r5466  
    1 # $Id: Portfile,v 1.2 2004/01/14 21:57:12 toby Exp $
     1# $Id: Portfile,v 1.3 2004/02/15 23:20:12 toby Exp $
    22
    3 PortSystem       1.0
     3PortSystem 1.0
    44name             abclock
    55version          1.0c
     6revision         1
    67categories       x11
    78maintainers      toby@opendarwin.org
     
    1617master_sites     ${homepage}
    1718checksums        md5 16d1a4a9228cd825b90401ec859b71fb
    18 use_configure    no
     19
     20patch {
     21    reinplace "s|#include <values.h>||" ${worksrcpath}/abclock.c
     22}
     23configure        {}
    1924build.target     all
    20 
    21 pre-build {
    22     reinplace "s|#include <values.h>||" "${worksrcpath}/abclock.c"
     25destroot {
     26    xinstall -m 555 ${worksrcpath}/abclock ${destroot}${prefix}/bin
     27    xinstall -m 555 ${worksrcpath}/abc_img ${destroot}${prefix}/bin
    2328}
    24 
    25 destroot {
    26     system "install -o root -m 555 ${worksrcpath}/abclock ${destroot}${prefix}/bin"
    27     system "install -o root -m 555 ${worksrcpath}/abc_img ${destroot}${prefix}/bin"
    28 }
Note: See TracChangeset for help on using the changeset viewer.