[126808] trunk/dports/science/uhd/Portfile
michaelld at macports.org
michaelld at macports.org
Wed Oct 15 11:20:39 PDT 2014
Revision: 126808
https://trac.macports.org/changeset/126808
Author: michaelld at macports.org
Date: 2014-10-15 11:20:39 -0700 (Wed, 15 Oct 2014)
Log Message:
-----------
uhd:
+ update versioning to match current actual versions;
+ update devel to 3.8.0rc1 (9780ded0, 20141014), using the GIT master branch;
+ fix devel livecheck to be on master branch (for now);
+ add +manpages variant, enabled by default;
+ remove unused pre-configure script for +manual variant.
Modified Paths:
--------------
trunk/dports/science/uhd/Portfile
Modified: trunk/dports/science/uhd/Portfile
===================================================================
--- trunk/dports/science/uhd/Portfile 2014-10-15 17:46:17 UTC (rev 126807)
+++ trunk/dports/science/uhd/Portfile 2014-10-15 18:20:39 UTC (rev 126808)
@@ -15,10 +15,11 @@
platforms darwin
dist_subdir uhd
-set branch 3.7
+set major 3
+set minor 7
set patch 3
-set base_version [join "${branch} ${patch}" .]
-set devel_version [join "${branch} [expr {${patch} + 1}]" .]
+set base_version [join "${major} ${minor} ${patch}" .]
+set devel_version [join "${major} [expr {${minor} + 1}]" .]
if {${subport} eq ${name}} {
@@ -41,18 +42,19 @@
subport uhd-devel {
long_description ${description}: \
-Provides the GIT maint version, which is typically updated every few days to week.
+Provides the UHD GIT maint or master branch, depending on which is more advanced, and is typically updated every few days to week.
- github.setup EttusResearch uhd e10df19c89d21ce860a36bb071b4a26b2f067460
- version ${devel_version}_20141006
+ github.setup EttusResearch uhd 9780ded0661214203d08b9cea2d522fbf5bf9cb2
+ version ${devel_version}_20141014
name uhd-devel
conflicts uhd
- checksums rmd160 42243c0fefa2531f3f1da90969d7b2fb700babf4 \
- sha256 c171210ea37b739d41af3189130ef34c2cfb37bbaa9095559796a23e12ddde16
+ checksums rmd160 4aadb3c4bbefab1e13c554beee4b96e7215c9258 \
+ sha256 b2c64681bfd9b9beca5ecffb9b0bcc924198e56763bd125668b92421801bdd31
- # overload the github livecheck URL with the correct branch
+ # overload the github livecheck URL with the maint branch,
+ # when it is more advanced
- livecheck.url ${github.homepage}/commits/maint.atom
+ # livecheck.url ${github.homepage}/commits/maint.atom
}
@@ -110,7 +112,7 @@
# per user concensus: enable all variants except +debug and +universal
-default_variants +docs +examples +libusb +manual +test +orc
+default_variants +docs +examples +libusb +manual +test +orc +manpages
# set Python variants
@@ -204,17 +206,22 @@
variant manual description {build manual} {
depends_lib-append \
port:py${chosen_python_suffix}-docutils
- pre-configure {
- set v [join [split ${chosen_python_suffix} ""] "."]
- configure.args-append -DENABLE_MANUAL=ON \
- -DRST2HTML_EXECUTABLE=${prefix}/bin/rst2html-${v}.py
- }
+ configure.args-append -DENABLE_MANUAL=ON
}
if {![variant_isset manual]} {
configure.args-append -DENABLE_MANUAL=OFF
}
+variant manpages description {build man pages} {
+ depends_run-append port:gzip
+ configure.args-append -DENABLE_MAN_PAGES=ON
+}
+
+if {![variant_isset manpages]} {
+ configure.args-append -DENABLE_MAN_PAGES=OFF
+}
+
variant orc description {enable ORC support} {
depends_lib-append port:orc
configure.args-append -DENABLE_ORC=ON
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141015/77237121/attachment.html>
More information about the macports-changes
mailing list