Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ucblogo: update to 6.2.5 #27681

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 29 additions & 4 deletions lang/ucblogo/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,14 @@

PortSystem 1.0
PortGroup github 1.0
PortGroup wxWidgets 1.0

name ucblogo
github.setup jrincayc ${name}-code 6.2.4 version_
github.setup jrincayc ${name}-code 6.2.5 version_
revision 0
checksums rmd160 5303357c24c8173a8353d6cb5fe2a8485bc741da \
sha256 668889ab9bfa7e9415e63ac154baba5afaed989df5bc74201b54fcb011df9d06 \
size 1790027
checksums rmd160 df2e35d9e55fed1445c91a201de3df422d9472bd \
sha256 8f4033a79c95efd0d4d2fb257b1f45dd7ba33cf7a2c8d942c29b5467ce31a4fa \
size 1661845

github.tarball_from releases
distname ${name}-${version}
Expand All @@ -28,3 +29,27 @@ configure.args --cache-file=/dev/null \
ac_cv_path_WX_CONFIG_PATH=no

github.livecheck.regex {([0-9.]+)}

variant wxWidgets description {Use wxWidgets for graphics} {
if {${os.platform} eq "darwin" && ${os.major} > 15} {
wxWidgets.use wxWidgets-3.2
} elseif {${os.platform} eq "darwin" && ${os.major} > 10} {
wxWidgets.use wxWidgets-3.0
} else {
wxWidgets.use wxGTK-3.0
}

depends_lib-append port:${wxWidgets.port}

configure.args-delete ac_cv_path_WX_CONFIG_PATH=no
configure.args-append --enable-wx --with-wxdir=${wxWidgets.wxdir}

build.target mac

destroot.violate_mtree yes
destroot {
xinstall -d -m 0755 ${destroot}${applications_dir}
file copy ${worksrcpath}/${name}.app \
${destroot}${applications_dir}/${name}.app
}
}