Files

59 lines
1.7 KiB
Tcl
Raw Permalink Normal View History

2021-07-29 10:28:06 -04:00
# -*- 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 python 1.0
PortGroup github 1.0
2025-09-28 16:51:38 +02:00
github.setup bbugyi200 funky 3.5.5 v
2026-01-20 21:39:58 -05:00
revision 1
2021-07-29 10:28:06 -04:00
description Funky takes shell functions to the next level by making \
them easier to define, more flexible, and more interactive.
long_description {*}${description}
2023-12-23 18:23:42 +11:00
platforms {darwin any} linux freebsd
supported_archs noarch
2021-07-29 10:28:06 -04:00
license MIT
categories sysutils python
maintainers {gmail.com:herby.gillot @herbygillot} \
openmaintainer
installs_libs no
2025-09-28 16:51:38 +02:00
checksums rmd160 cc4005155313cec3601ab712c26e802d10cf9376 \
sha256 c86ce3adf46bd2389fcb77e0109bd90e9099c427b3d4c65e716ff118d5bfc8af \
size 407701
2021-07-29 10:28:06 -04:00
set fky_script_dir ${prefix}/share
set fky_script ${fky_script_dir}/${name}/${name}.sh
github.tarball_from archive
2026-01-20 21:39:58 -05:00
python.default_version 314
2021-07-29 10:28:06 -04:00
depends_lib-append port:py${python.version}-future \
port:py${python.version}-pygments \
port:py${python.version}-six
destroot.env-append XDG_DATA_HOME=${fky_script_dir}
pre-destroot {
2025-09-28 16:51:38 +02:00
xinstall -d ${destroot}${fky_script_dir}/${name}
xinstall -m 0755 ${worksrcpath}/scripts/shell/funky.sh ${destroot}${fky_script}
2021-07-29 10:28:06 -04:00
}
notes "
The ${name} shell script has been installed to:
${fky_script}
To use ${name}, please source this script in your shell by adding the\
2021-07-29 10:28:06 -04:00
following to your ~/.bashrc or ~/.zshrc:
\[ -f ${fky_script} \] && source ${fky_script}
"
2025-09-28 16:51:38 +02:00
github.livecheck.regex \
{([0-9.]+)}