Opened 11 years ago

Closed 11 years ago

#42553 closed update (fixed)

miniupnpc: update to 1.9

Reported by: Arthur200000@… Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: haspatch Cc:
Port: miniupnpc

Description

Tested on my Darwin 192.168.0.3 11.4.2 Darwin Kernel Version 11.4.2: Thu Aug 23 16:25:48 PDT 2012; root:xnu-1699.32.7~1/RELEASE_X86_64 x86_64 .

Updated from miniupnpc @1.6 to miniupnpc@1.9

# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
# $Id: Portfile 99643 2012-11-13 04:26:02Z singingwolfboy@macports.org $

PortSystem          1.0

name                miniupnpc
epoch               2
version             1.9
revision            0
categories          net
platforms           darwin freebsd
license             BSD
maintainers         nomaintainer
description         Lightweight client for UPnP protocol
long_description    \
    ${description}
    
homepage            http://miniupnp.free.fr/
master_sites        http://miniupnp.free.fr/files/download.php?file=${distname}${extract.suffix}&dummy=
checksums           rmd160  a0c5e8c08f238ade1cf8b721918a41e384d147a6 \
                    sha256  2923e453e880bb949e3d4da9f83dd3cb6f08946d35de0b864d0339cf70934464

use_configure       no

variant universal {}
if {[variant_isset universal]} {
    set archflags ${configure.universal_cflags}
} else {
    set archflags ${configure.cc_archflags}
}

build.args-append   CC="${configure.cc} ${archflags}"

post-patch {
    reinplace "s|-Wl,-install_name,\$(INSTALLDIRLIB)/|-Wl,-install_name,${prefix}/lib/|" ${worksrcpath}/Makefile
}


destroot.destdir    PREFIX=${prefix} INSTALLPREFIX=${destroot}${prefix}

livecheck.type      regex
livecheck.url       http://miniupnp.free.fr/files/
livecheck.regex     ${name}-(\\d+(\\.\\d{1,4})+)${extract.suffix}

Change History (2)

comment:1 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Keywords: haspatch added; portfile removed
Owner: changed from macports-tickets@… to ryandesign@…
Port: miniupnpc added
Status: newassigned
Summary: A new portfile for port "miniupnpc"miniupnpc: update to 1.9
Type: submissionupdate

Thanks. In future please attach (not paste) a unified diff of your changes (not a complete new portfile).

comment:2 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: assignedclosed

Committed with some changes in r117178.

Note: See TracTickets for help on using tickets.