Index: cad/openvsp/Makefile =================================================================== --- cad/openvsp/Makefile +++ cad/openvsp/Makefile @@ -2,8 +2,8 @@ PORTNAME= openvsp PORTVERSION= 3.15.0 -PORTREVISION= 1 DISTVERSIONPREFIX= ${GH_PROJECT}_ +PORTREVISION= 1 CATEGORIES= cad MAINTAINER= fernape@FreeBSD.org @@ -14,6 +14,10 @@ LICENSE_FILE= ${WRKSRC}/LICENSE LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept +BROKEN_aarch64= fails to compile: invokes x86 asm +BROKEN_armv6= fails to compile: invokes x86 asm +BROKEN_armv7= fails to compile: invokes x86 asm + LIB_DEPENDS= libdrm.so:graphics/libdrm \ libpng.so:graphics/png \ libfreetype.so:print/freetype2 \ @@ -26,10 +30,6 @@ ${LOCALBASE}/include/glm/glm.hpp:math/glm \ ${LOCALBASE}/libdata/pkgconfig/pthread-stubs.pc:devel/libpthread-stubs -BROKEN_aarch64= fails to compile: invokes x86 asm -BROKEN_armv6= fails to compile: invokes x86 asm -BROKEN_armv7= fails to compile: invokes x86 asm - CMAKE_SOURCE_PATH= ${WRKSRC}/SuperProject CMAKE_INSTALL_PREFIX= ${STAGEDIR}${PREFIX} Index: devel/shellcheck/Makefile =================================================================== --- /dev/null +++ devel/shellcheck/Makefile @@ -0,0 +1,39 @@ +# Created by: Fernando Apesteguia +# $FreeBSD$ + +PORTNAME= shellcheck +DISTVERSIONPREFIX= v +DISTVERSION= 0.4.7 +CATEGORIES= devel + +MAINTAINER= fernando.apesteguia@gmail.com +COMMENT= Lint-like program for shell scripts + +LICENSE= GPLv3 +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ghc:lang/ghc \ + ${LOCALBASE}/lib/cabal/ghc-8.0.2/regex-tdfa-1.2.2/Paths_regex_tdfa.dyn_hi:textproc/hs-regex-tdfa \ + ${LOCALBASE}/lib/cabal/ghc-8.0.2/QuickCheck-2.10.0.1/Test/QuickCheck.dyn_hi:devel/hs-QuickCheck \ + ${LOCALBASE}/lib/cabal/ghc-8.0.2/json-0.9.1/Text/JSON.dyn_hi:converters/hs-json + +LIB_DEPENDS+= libgmp.so:math/gmp + +PLIST_FILES= bin/shellcheck + +USES+= iconv:wchar_t + +USE_GITHUB= yes +GH_PROJECT= shellcheck +GH_ACCOUNT= koalaman + +do-configure: + (cd ${WRKSRC} && ${LOCALBASE}/bin/runhaskell ./Setup.hs configure) + +do-build: + (cd ${WRKSRC} && ${LOCALBASE}/bin/runhaskell ./Setup.hs build) + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/dist/build/shellcheck/shellcheck ${STAGEDIR}${PREFIX}/bin/ + +.include Index: devel/shellcheck/distinfo =================================================================== --- /dev/null +++ devel/shellcheck/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1519928555 +SHA256 (koalaman-shellcheck-v0.4.7_GH0.tar.gz) = 3fd7ebec821b96585ba9137b7b8c7bd9410876490f4ec89f2cca9975080a8206 +SIZE (koalaman-shellcheck-v0.4.7_GH0.tar.gz) = 164185 Index: devel/shellcheck/pkg-descr =================================================================== --- /dev/null +++ devel/shellcheck/pkg-descr @@ -0,0 +1,12 @@ +ShellCheck is tool that gives warnings and suggestions for bash/sh shell scripts + +The goals of ShellCheck are + + * To point out and clarify typical beginner's syntax issues that cause a shell + to give cryptic error messages. + * To point out and clarify typical intermediate level semantic problems that + cause a shell to behave strangely and counter-intuitively. + * To point out subtle caveats, corner cases and pitfalls that may cause an + advanced user's otherwise working script to fail under future circumstances. + +WWW: https://github.com/koalaman/shellcheck Index: math/dynare/Makefile =================================================================== --- math/dynare/Makefile +++ math/dynare/Makefile @@ -2,7 +2,7 @@ PORTNAME= dynare DISTVERSION= 4.5.4 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= math MASTER_SITES= http://www.dynare.org/release/source/ @@ -19,7 +19,7 @@ libhdf5.so:science/hdf5 \ libopenblas.so:math/openblas \ libfftw3_threads.so:math/fftw3 \ - libfftw3f_threads.so:math/fftw3-float + libfftw3f_threads.so:math/fftw3-float \ USES= fortran gmake localbase pkgconfig shebangfix tar:xz GNU_CONFIGURE= yes @@ -36,6 +36,7 @@ MATLAB_CONFIGURE_ENABLE= matlab OCTAVE_CONFIGURE_ENABLE= octave OCTAVE_BUILD_DEPENDS= octave:math/octave +OCTAVE_LIB_DEPENDS+= liboctave.so:math/octave OCTAVE_USES= compiler:c++14-lang OCTAVE_VARS= CXXFLAGS=--std=c++14 # https://github.com/DynareTeam/dynare/issues/1599