[83511] trunk/dports/net/aget

ryandesign at macports.org ryandesign at macports.org
Sat Sep 3 15:54:58 PDT 2011


Revision: 83511
          http://trac.macports.org/changeset/83511
Author:   ryandesign at macports.org
Date:     2011-09-03 15:54:56 -0700 (Sat, 03 Sep 2011)
Log Message:
-----------
aget: update to 0.4.1 (#31075); add universal variant and build for the correct archs; ensure we're UsingTheRightCompiler; fix livecheck; indicate license

Modified Paths:
--------------
    trunk/dports/net/aget/Portfile
    trunk/dports/net/aget/files/patch-Head.c

Modified: trunk/dports/net/aget/Portfile
===================================================================
--- trunk/dports/net/aget/Portfile	2011-09-03 22:37:14 UTC (rev 83510)
+++ trunk/dports/net/aget/Portfile	2011-09-03 22:54:56 UTC (rev 83511)
@@ -2,9 +2,10 @@
 
 PortSystem       1.0
 name             aget
-version          0.4
+version             0.4.1
 categories       net
 maintainers      nomaintainer
+license             BSD
 description      multithreaded HTTP download accelerator
 long_description \
     Aget is a multithreaded HTTP download accelerator, \
@@ -12,14 +13,25 @@
 homepage         http://www.enderunix.org/aget/
 platforms        darwin
 master_sites     ${homepage}
-checksums        md5 1d32390f5ea2ddd82dfbb1794cdfa92f
 
+checksums           rmd160  4a23d722b0e4d6c632c40006aa5e67d5acfd4b88 \
+                    sha256  d17393c7f44aab38028ae71f14b572ba1839b6e085fb2092b6ebe68bc931df4d
+
 patchfiles       patch-Head.c
 
-configure {
+post-patch {
     reinplace "s| -pthread||" ${worksrcpath}/Makefile
 }
 
+use_configure       no
+
+variant universal {}
+
+build.args          CC="${configure.cc} [get_canonical_archflags]"
+
 destroot {
     xinstall -s -m 555 ${worksrcpath}/aget ${destroot}${prefix}/bin
 }
+
+livecheck.type      regex
+livecheck.regex     ${name}-(\[0-9.\]+)${extract.suffix}

Modified: trunk/dports/net/aget/files/patch-Head.c
===================================================================
--- trunk/dports/net/aget/files/patch-Head.c	2011-09-03 22:37:14 UTC (rev 83510)
+++ trunk/dports/net/aget/files/patch-Head.c	2011-09-03 22:54:56 UTC (rev 83511)
@@ -1,8 +1,11 @@
---- Head.c.orig	2005-04-19 07:46:47.000000000 -0400
-+++ Head.c	2005-04-19 07:49:52.000000000 -0400
-@@ -1,5 +1,4 @@
- 
+--- Head.c.orig	2011-09-02 04:25:08.000000000 -0400
++++ Head.c	2011-09-02 04:25:58.000000000 -0400
+@@ -1,8 +1,3 @@
+-#ifndef SOLARIS
 -#define _XOPEN_SOURCE 500
- 
- 
+-#endif
+-
+-
  #include <stdio.h>
+ #include <unistd.h>
+ #include <stdlib.h>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110903/dab02763/attachment.html>


More information about the macports-changes mailing list