Changeset 18680


Ignore:
Timestamp:
Jul 22, 2006, 5:22:57 AM (14 years ago)
Author:
pguyot (Paul Guyot)
Message:

Various fixes to configuration and documentation.

Bug: #8869
Submitted by: master@…
Reviewed by: noses@…
Approved by:
Obtained from:

Location:
trunk/dports/net/trafshow
Files:
3 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/net/trafshow/Portfile

    r17984 r18680  
    1 # $Id: Portfile,v 1.6 2006/05/13 14:26:53 mww Exp $
     1# $Id: Portfile,v 1.7 2006/07/22 05:22:56 pguyot Exp $
    22
    33PortSystem 1.0
    44name                    trafshow
    55version                 5.2.3
    6 revision                0
     6revision                1
    77categories              net
    88maintainers             noses@noses.com
     
    1616platforms               darwin
    1717master_sites            ftp://ftp.nsk.su/pub/RinetSoftware/
    18 checksums               md5 0b2f0bb23b7832138b7d841437b9e182
     18checksums               md5 0b2f0bb23b7832138b7d841437b9e182 \
     19                                                sha1 1c68f603f12357e932c83de850366c9b46e53d89 \
     20                                                rmd160 f1ae068f898160f16ae9b3cb5f9d73ae3aece6cb
     21depends_lib                     port:libpcap \
     22                                        port:ncurses
    1923extract.suffix          .tgz
    20 patchfiles              patch-domain_resolver.c patch-colormask.c
     24patchfiles              patch-domain_resolver.c patch-colormask.c patch-trafshow.c patch-trafshow.1 \
     25                        patch-configure
    2126build.target            trafshow
    2227
    2328pre-configure           {       file copy -force /usr/share/libtool/config.guess ${worksrcpath}/config.guess
    2429                                file copy -force /usr/share/libtool/config.sub ${worksrcpath}/config.sub }
    25 
    26 post-configure          {       reinplace "s;%%PREFIX%%;${prefix};g" ${worksrcpath}/colormask.c }
     30configure.env   CFLAGS=-I${prefix}/include LDFLAGS=-L${prefix}/lib
     31post-configure          {       reinplace "s;%%PREFIX%%;${prefix};g" ${worksrcpath}/colormask.c
     32                                reinplace "s;%%PREFIX%%;${prefix};g" ${worksrcpath}/trafshow.c
     33                                reinplace "s;%%PREFIX%%;${prefix};g" ${worksrcpath}/trafshow.1 }
    2734
    2835destroot                {       cd ${workpath}/${worksrcdir}
Note: See TracChangeset for help on using the changeset viewer.