[112101] trunk/dports/science/uhd/Portfile
michaelld at macports.org
michaelld at macports.org
Fri Oct 11 18:28:58 PDT 2013
Revision: 112101
https://trac.macports.org/changeset/112101
Author: michaelld at macports.org
Date: 2013-10-11 18:28:57 -0700 (Fri, 11 Oct 2013)
Log Message:
-----------
uhd:
* make use of github PortGroup;
* add VERBOSE to build.
Modified Paths:
--------------
trunk/dports/science/uhd/Portfile
Modified: trunk/dports/science/uhd/Portfile
===================================================================
--- trunk/dports/science/uhd/Portfile 2013-10-11 23:12:16 UTC (rev 112100)
+++ trunk/dports/science/uhd/Portfile 2013-10-12 01:28:57 UTC (rev 112101)
@@ -3,6 +3,7 @@
PortSystem 1.0
PortGroup cmake 1.0
+PortGroup github 1.0
name uhd
categories science comms
@@ -14,24 +15,18 @@
platforms darwin
dist_subdir uhd
-set base_version 003_005_004
+set base_version 003_005_004
if {${subport} eq ${name}} {
long_description ${description}: \
Provides the release version, which is typically updated every month or so.
- version ${base_version}
- distname release_${version}
- worksrcdir UHD-Mirror-${distname}
- master_sites https://github.com/EttusResearch/UHD-Mirror/archive
+ github.setup EttusResearch uhd release_${base_version}
conflicts uhd-devel
- checksums sha1 d874ebfbb63b0439245c290b7bf44cb79e7bb6ed \
- rmd160 a4327b181122167b20488208c582ac0ed64a4e04
+ checksums rmd160 88608c0af95daad90898798718aaba165298c167 \
+ sha256 7881dedba2276a8af032a51575f65ffbaba07f1ceb4c542bcc0f3010bf449382
- livecheck.url http://ettus-apps.sourcerepo.com/redmine/ettus/projects/uhd/repository/changes?rev=master
- livecheck.regex >release_(\[^<\]*)</option></select>
-
}
subport uhd-devel {
@@ -39,17 +34,13 @@
long_description ${description}: \
Provides the GIT master version, which is typically updated every few days to week.
- version ${base_version}_20131007
- fetch.type git
- git.url https://github.com/EttusResearch/uhd.git
- git.branch fb32ed16ae26b1a1a898a4afdbdd2f38e06d169e
- worksrcdir uhd-release-${base_version}_git
+ github.setup EttusResearch uhd de4ce9ea2858045f01ac34d1eba71e14f46ca858
+ version ${base_version}_20131010
+ name uhd-devel
conflicts uhd
+ checksums rmd160 6a047f9565c6eb42d99ddcfab94f35fb0a54415f \
+ sha256 725921d709efd2edbf831b9a092f1c18528d045b2d0a324d38f1d10f809e5049
- livecheck.url http://ettus-apps.sourcerepo.com/redmine/ettus/projects/uhd/repository/changes?rev=master
- livecheck.regex "cb-1. name.*value=.(\[0-9a-z\]*)"
- livecheck.version ${git.branch}
-
}
depends_lib-append port:boost
@@ -78,6 +69,10 @@
-DCURSES_NCURSES_LIBRARY=${prefix}/lib/libncurses.dylib \
-DPKG_LIB_DIR=${prefix}/share/uhd
+# be verbose when building, for debugging purposes
+
+build.post_args VERBOSE=1
+
# after destroot, have uhd fetch its images into the destroot area,
# so that they are also tracked by MacPorts
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20131011/543b9fcf/attachment.html>
More information about the macports-changes
mailing list