New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Changeset 83392


Ignore:
Timestamp:
08/31/11 00:38:07 (4 years ago)
Author:
afb@…
Message:

add archflags/+universal variant for ryan, add license

Location:
trunk/dports/net/fetch
Files:
2 edited

Legend:

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

    r83358 r83392  
    55name            fetch 
    66version         7.4.0-RELEASE 
     7revision        1 
    78categories      net 
    89maintainers     afb 
     
    1112        Its purpose is to retrieve the file(s) pointed to by the URL(s) on the command line. 
    1213platforms       darwin freebsd 
     14license         BSD 
    1315use_bzip2       yes 
    1416homepage        http://www.freebsd.org/ 
     
    1719                sha1 44ee199b6493b92aa7c56b33923c8e59c18c839f \ 
    1820                rmd160 bb44a3cac83f96626a7d9790d996fb9183913bb3 
     21variant universal {} 
     22build.type      bsd 
     23build.env       CC=${configure.cc} \ 
     24                CFLAGS="${configure.cppflags} ${configure.cflags} [get_canonical_archflags]" \ 
     25                LDFLAGS="${configure.ldflags} [get_canonical_archflags]" 
     26build.args      -DMK_OPENSSL 
    1927worksrcdir      ${name} 
    2028use_configure   no 
    21 depends_lib     lib:libfetch.5:libfetch port:openssl 
    22 build.type      bsd 
    23 build.env       CC=${configure.cc} CFLAGS=${configure.cflags} 
    24 build.args      CFLAGS+=-I${prefix}/include LDFLAGS+=-L${prefix}/lib -DMK_OPENSSL 
     29destroot        { 
     30                xinstall -m 755 -c ${worksrcpath}/fetch ${destroot}${prefix}/bin 
     31                xinstall -m 644 -c ${worksrcpath}/fetch.1 ${destroot}${prefix}/share/man/man1 } 
    2532 
    26 destroot        { 
    27                 xinstall -m 755 ${workpath}/${worksrcdir}/fetch ${destroot}${prefix}/bin 
    28                 xinstall -m 644 -c ${workpath}/${worksrcdir}/fetch.1 ${destroot}${prefix}/share/man/man1 } 
     33depends_lib     port:libfetch port:openssl 
    2934 
    3035platform darwin { 
    3136        patchfiles      patch-Makefile patch-fetch.c 
    32         build.args-append CFLAGS+=-D__FBSDID=__RCSID 
    3337} 
  • trunk/dports/net/fetch/files/patch-Makefile

    r28800 r83392  
    11--- Makefile.orig       2004-12-21 11:16:02.000000000 +0100 
    22+++ Makefile    2007-09-08 22:40:22.000000000 +0200 
    3 @@ -2,6 +2,7 @@ 
     3@@ -4,7 +4,8 @@ 
    44  
    55 PROG=          fetch 
    66 CSTD?=         c99 
     7-WARNS?=                6 
    78+CFLAGS+=       -D__FBSDID=__RCSID 
    8  WARNS?=                6 
     9+WARNS?=                2 
    910 DPADD=         ${LIBFETCH} 
    1011 LDADD=         -lfetch 
     12 .if ${MK_OPENSSL} != "no" 
Note: See TracChangeset for help on using the changeset viewer.