# -*- 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 # $Id$ PortSystem 1.0 PortGroup select 1.0 name octave_select version 1.0 categories sysutils math platforms darwin maintainers mcalhoun openmaintainer license BSD supported_archs noarch description common files for selecting default octave version long_description octave_select installs files that allow 'port select' to \ switch between octave versions homepage http://www.gnu.org/software/octave distfiles destroot.keepdirs-append \ ${destroot}${prefix}/bin \ ${destroot}${prefix}/share/man/man1 \ ${destroot}${prefix}/share/info/ \ ${destroot}${prefix}/share/appdata foreach sz {16 22 24 32 48 64 128 256 512} { destroot.keepdirs-append \ ${destroot}${prefix}/share/icons/hicolor/${sz}x${sz}/apps } destroot.keepdirs-append \ ${destroot}${prefix}/share/icons/hicolor/scalable/apps use_configure no build {} destroot { select::install octave ${filespath}/base select::install octave ${filespath}/none } livecheck.type none