Skip to content

Commit

Permalink
vdt: new port, version 0.4.1.
Browse files Browse the repository at this point in the history
  • Loading branch information
cjones051073 committed Jun 15, 2018
1 parent c262ffe commit 8818cfb
Showing 1 changed file with 44 additions and 0 deletions.
44 changes: 44 additions & 0 deletions math/vdt/Portfile
@@ -0,0 +1,44 @@
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4

PortSystem 1.0

PortGroup active_variants 1.1
PortGroup cmake 1.0
#PortGroup compiler_blacklist_versions 1.0
PortGroup github 1.0
PortGroup xcodeversion 1.0
PortGroup cxx11 1.1

github.setup dpiparo vdt 0.4.1 v
version [string map {- .} ${github.version}]
#revision 0
livecheck.version ${github.version}

homepage https://github.com/dpiparo/vdt

This comment has been minimized.

Copy link
@l2dy

l2dy Jun 15, 2018

Member

The github PortGroup handles homepage and livecheck automatically, so you can remove the related lines.

Also why use [string map {- .} ${github.version}]? The github.version (0.4.1) doesn't seem to contain any -.

This comment has been minimized.

Copy link
@pmetzger

pmetzger Jun 15, 2018

Member

You might have done better to submit a pull request so people could comment...

This comment has been minimized.

Copy link
@cjones051073

cjones051073 Jun 15, 2018

Author Member

Quite right regarding PR, I probably should have in this case. Too used to just commiting directly...

This comment has been minimized.

Copy link
@cjones051073

cjones051073 Jun 15, 2018

Author Member

Portfile now cleaned up. Thanks for the suggestions.


checksums rmd160 902d63636fe487aba8e5935f4daf5c783869f145 \
sha256 c3756422ea6b4ef22673cc676b95331546020a45acadf3e3c4147d9a24495471 \
size 59643

name vdt
categories math
maintainers {jonesc @cjones051073} openmaintainer
license LGPL-3+

description A collection of fast and inline implementations of mathematical functions.
long_description ${name} provides ${description}.

platforms darwin

#depends_lib
#depends_run port:root_select

# Force a compatible compiler
#compiler.blacklist-append *gcc* {clang < 900} macports-clang-3.3 macports-clang-3.4 \
# macports-clang-3.5 macports-clang-3.6 macports-clang-3.7 \
# macports-clang-3.8
#compiler.whitelist clang macports-clang-5.0 macports-clang-4.0 macports-clang-3.9

livecheck.type regex
livecheck.url ${github.homepage}/tags
livecheck.regex {archive/v([0-9.]+).tar.gz}

0 comments on commit 8818cfb

Please sign in to comment.