[110573] trunk/dports/devel/libdynd/Portfile
stromnov at macports.org
stromnov at macports.org
Mon Sep 2 02:02:13 PDT 2013
Revision: 110573
https://trac.macports.org/changeset/110573
Author: stromnov at macports.org
Date: 2013-09-02 02:02:13 -0700 (Mon, 02 Sep 2013)
Log Message:
-----------
libdynd: simplify (#40345)
Modified Paths:
--------------
trunk/dports/devel/libdynd/Portfile
Modified: trunk/dports/devel/libdynd/Portfile
===================================================================
--- trunk/dports/devel/libdynd/Portfile 2013-09-02 08:38:43 UTC (rev 110572)
+++ trunk/dports/devel/libdynd/Portfile 2013-09-02 09:02:13 UTC (rev 110573)
@@ -5,13 +5,9 @@
PortGroup github 1.0
PortGroup cmake 1.0
-set version_string "v0.4.2"
-set git_sha1 "41a91350c053c7f7a5f92e440fb05ae9ae700c0b"
-set distname_suf "07f39d0"
+set git_sha1 41a91350c053c7f7a5f92e440fb05ae9ae700c0b
+github.setup ContinuumIO libdynd 0.4.2 v
-github.setup ContinuumIO libdynd ${version_string}
-
-name libdynd
categories devel math
platforms darwin
license BSD
@@ -21,26 +17,21 @@
description LibDyND is a C++ library for dynamic, multidimensional arrays.
long_description ${description}
-homepage https://github.com/ContinuumIO/libdynd
-
checksums rmd160 98048cb1b7454f0e8ceebb9bdb0cd076a39b82ba \
sha256 9afd2a02b162a3fffec89bba83ff5cdb295d2f941920f49689297f77082f333e
-worksrcdir ContinuumIO-${name}-${distname_suf}
-
patchfiles patch-CMakeLists.txt.diff
post-patch {
reinplace "s|@@DYND_GIT_SHA1@@|${git_sha1}|g" ${worksrcpath}/CMakeLists.txt
- reinplace "s|@@DYND_VERSION_STRING@@|${version_string}|g" ${worksrcpath}/CMakeLists.txt
+ reinplace "s|@@DYND_VERSION_STRING@@|v${version}|g" ${worksrcpath}/CMakeLists.txt
}
-set build_dir ${worksrcpath}/build
+configure.dir ${worksrcpath}/build
+build.dir ${configure.dir}
pre-configure {
- file mkdir ${build_dir}
+ file mkdir ${configure.dir}
}
-configure.dir ${build_dir}
-build.dir ${build_dir}
configure.args-append \
../ \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130902/95f730f8/attachment.html>
More information about the macports-changes
mailing list