Ignore:
Timestamp:
Dec 5, 2010, 6:15:07 PM (9 years ago)
Author:
ryandesign@…
Message:

unix2dos has been replaced_by dos2unix; see #27577

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/textproc/unix2dos/Portfile

    r56061 r74128  
    33PortSystem 1.0
    44name            unix2dos
    5 version         2.2
     5replaced_by     dos2unix
     6version         5.0
     7license         FreeBSD
    68categories      textproc
    79platforms       darwin
     10homepage        http://www.xs4all.nl/~waterlan/dos2unix.html
    811description     Convert text from unix to dos format
    912long_description ${description}
    1013maintainers     fernandes.org:andrew
    11 master_sites    macports
    12 checksums       md5 caf9f33155073d3efd310eff9103170b \
    13                 sha1 e63ac815b7049c07eab0a1ade48c978c8a4c99f7
    14 patchfiles      patch-unix2dos.1.man patch-unix2dos.c
     14distfiles
    1515
    16 distname        ${name}-${version}.src
    17 
    18 pre-extract     {
    19                   file mkdir ${worksrcpath}
    20                 }
    21 extract.dir     ${worksrcpath}
    22 
    23 use_configure   no
    24 
    25 build           {
    26                   system "cd ${worksrcpath} && gcc ${configure.cflags} unix2dos.c -o unix2dos"
    27                 }
    28 
    29 destroot        {
    30                   xinstall -m 0555 -W ${worksrcpath} -s unix2dos ${destroot}${prefix}/bin/
    31                   xinstall -m 0444 -W ${worksrcpath} unix2dos.1 ${destroot}${prefix}/share/man/man1/
    32                 }
     16pre-configure {
     17    ui_error "${name} has been renamed to ${replaced_by}. Please install ${replaced_by} instead."
     18    return -code error "obsolete port"
     19}
Note: See TracChangeset for help on using the changeset viewer.