Ignore:
Timestamp:
Jan 26, 2004, 11:29:48 PM (15 years ago)
Author:
mww
Message:

update to 0.1.1a and make some minor improvements to Portfile

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/devel/daaplib/Portfile

    r3977 r5045  
    1 # $Id: Portfile,v 1.2 2003/11/17 21:19:55 jkh Exp $
     1# $Id: Portfile,v 1.3 2004/01/26 23:29:48 mww Exp $
    22
    33PortSystem 1.0
    44name            daaplib
    5 version         0.1
    6 categories      devel
     5version         0.1.1a
     6categories      devel net
    77maintainers     mww@opendarwin.org
    88description     small library for reading and writingg DAAP streams
    99long_description        daaplib is a very tiny and portable C++ library which \
    10                         helps to read and write low-level DAAP streams in memory. the code is \
    11                         straightforward and can mirror the structure of the data fairly well.
     10                        helps to read and write low-level DAAP streams in \
     11                        memory. The code is straightforward and can mirror the \
     12                        structure of the data fairly well. DAAP streams are \
     13                        use by iTunes for sharing songs.
    1214
    1315homepage        http://www.deleet.de/projekte/daap/daaplib/
     
    1618extract.suffix  .zip
    1719distfiles       ${name}.${version}${extract.suffix}
    18 checksums       md5 dd3d7b09dd72f9a50552a1f7f8719c79
     20checksums       md5 038df4ac53780074e6e642a6e928f4fb
    1921
    20 configure.dir   ${workpath}/daaplib.${version}/daaplib/src
    21 configure       { reinplace "s|/usr/local|${destroot}${prefix}|g" \
    22                     ${configure.dir}/makefile }
     22post-extract    {
     23        file rename ${workpath}/daaplib.${version}/daaplib/src ${worksrcpath}
     24        file rename ${workpath}/daaplib.${version}/daaplib/include \
     25                ${workpath}/include
     26}
    2327
    24 build.dir       ${configure.dir}
     28configure       {
     29        reinplace "s|/usr/local|${destroot}${prefix}|g" ${worksrcpath}/makefile
     30}
     31
    2532build.target
    26 destroot.dir    ${build.dir}
     33
     34post-destroot   {
     35        file mkdir ${destroot}${prefix}/share/doc/${name}
     36        file copy ${workpath}/daaplib.${version}/README \
     37                ${workpath}/daaplib.${version}/COPYING \
     38                ${destroot}${prefix}/share/doc/${name}
     39}
Note: See TracChangeset for help on using the changeset viewer.