Ignore:
Timestamp:
Aug 19, 2007, 5:22:31 PM (13 years ago)
Author:
nox@…
Message:

unzoo:

  • Added universal support.
  • Added sha1 and rmd160 checksums.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/archivers/unzoo/Portfile

    r22478 r28069  
    11# $Id$
    22
    3 PortSystem 1.0
     3PortSystem              1.0
    44
    55name                    unzoo
     
    77categories              archivers
    88platforms               darwin
    9 maintainers             nomaintainer@macports.org
     9maintainers             nomaintainer
    1010description             A zoo archive extractor
    11 long_description        Unzoo is a zoo archive extractor written by Martin \
    12                         Schoenert. If unzoo is called with no arguments, it will first \
    13                         print a summary of the commands and then prompt for command lines \
    14                         interactively.
     11
     12long_description \
     13                                Unzoo is a zoo archive extractor written by Martin \
     14                                Schoenert. If unzoo is called with no arguments, it will first \
     15                                print a summary of the commands and then prompt for command lines \
     16                                interactively.
    1517
    1618homepage                http://freshmeat.net/projects/unzoo/
    1719master_sites    http://critical.ch/unzoo/
    18 checksums               md5 2e73c26188688033b7c2b6c7da32ad39
    1920
    20 post-extract {
    21         file copy ${filespath}/Makefile ${worksrcpath}
     21checksums               md5 2e73c26188688033b7c2b6c7da32ad39 \
     22                                sha1 9f1d0193492276bd0f59a48d720ab6092c6d4a0f \
     23                                rmd160 fd8e0c97e22adfc8fefd6f8d1b70d8ca53b234f3
     24
     25# Dummy configure to enable universal variant
     26configure {}
     27
     28build {
     29        cd ${worksrcpath}
     30        system "gcc [join ${configure.cflags} " "] -DSYS_IS_UNIX unzoo.c -o unzoo"
    2231}
    2332
    24 use_configure   no
    25 
    2633destroot {
    27         xinstall -m 755 ${worksrcpath}/unzoo ${destroot}${prefix}/bin
    28         xinstall -m 644 ${worksrcpath}/unzoo.1 ${destroot}${prefix}/share/man/man1
     34        xinstall ${worksrcpath}/unzoo ${destroot}${prefix}/bin
     35        xinstall -m 0644 ${worksrcpath}/unzoo.1 ${destroot}${prefix}/share/man/man1
    2936}
    3037
Note: See TracChangeset for help on using the changeset viewer.