Ticket #3485: Portfile.2.diff

File Portfile.2.diff, 1.4 KB (added by yves@…, 19 years ago)

Portfile rev 3 diff

  • Portfile

    old new  
    33PortSystem 1.0
    44name            mp3info
    55version         0.8.4
    6 revision        2
    7 categories      audio
    8 maintainers     darwinports@opendarwin.org
     6revision                3
     7categories              audio
     8maintainers             yves@gnu-darwin.org
    99description     MP3 information tool
    10 long_description        A small utility to read and write TAG info, as well as retrieve the MP3 \
    11                         Header info. Included is a command-line interface and a gtk-UI.
    12 homepage        http://www.ibiblio.org/mp3info/
    13 platforms       darwin
     10long_description \
     11        A small utility to read and write TAG info, as well as retrieve the MP3 \
     12        Header info. Included is a command-line interface and a gtk-UI.
     13
     14homepage                http://www.ibiblio.org/mp3info/
     15platforms               darwin
    1416master_sites    sunsite:apps/sound/mp3-utils/${name}
    1517extract.suffix  .tgz
    16 checksums       md5 879d0ced8ede5ec9fbaff4813851ea3f
    17 patchfiles      patch-Makefile
     18checksums               md5 879d0ced8ede5ec9fbaff4813851ea3f
     19
     20patchfiles              patch-Makefile patch-gmp3info.c
    1821build.target    mp3info
    19 configure       { cd ${worksrcpath}
    20                   reinplace "s|prefix=/usr/local|prefix=${destroot}${prefix}|g" Makefile }
     22
     23configure {
     24        cd ${worksrcpath}
     25        reinplace "s|prefix=/usr/local|prefix=${destroot}${prefix}|g" Makefile
     26}
     27
    2128destroot.target install-mp3info
    2229
    2330variant x11 {
    24         depends_lib-append      lib:libgtk.1:gtk
     31        depends_lib-append      port:gtk1
    2532        build.target            all
    2633        destroot.target         install
    2734}