Last active
August 24, 2023 16:34
-
-
Save psifertex/a73282beffb50eb3b40f92e5239bec42 to your computer and use it in GitHub Desktop.
macos zeal build
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/zsh | |
echo "file://${HOME}/ports"|sudo tee -a /opt/local/etc/macports/sources.conf | |
mkdir -p ${HOME}/ports/devel/zeal | |
cat > ${HOME}/ports/devel/zeal/Portfile << ** | |
# -*- 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 cmake 1.1 | |
PortGroup github 1.0 | |
github.setup zealdocs zeal 3fdeb6616408fa0aed058ee959ae653c0519f733 | |
version 20230824 | |
github.tarball_from archive | |
revision 0 | |
categories devel | |
license GPL-3 | |
maintainers {xxxxxx @xxxxx} openmaintainer | |
description A simple offline documentation browser | |
long_description {*}${description} | |
homepage https://zealdocs.org | |
checksums rmd160 027d2affa24669d92e905072d07234387f61cb0b \ | |
sha256 0dc2f124b1e9b7048a390c8ffcb840f8e046630e5033f25ba475fa2d5dd1cb13 \ | |
size 1209530 | |
compiler.cxx_standard 2017 | |
depends_lib port:qt6-qtwebchannel \ | |
port:qt6-qtwebengine \ | |
port:sqlite3 \ | |
port:libarchive | |
destroot { | |
move ${workpath}/build/bin/Zeal.app ${destroot}${applications_dir} | |
} | |
** | |
curl -o ${HOME}/ports/devel/zeal/Portfile https://raw.githubusercontent.com/macports/macports-ports/3251b5c49c354b3d99977719dbecf8c1aefe5c13/devel/zeal/Portfile | |
cd ${HOME}/ports | |
portindex | |
sudo port selfupdate | |
sudo port install zeal |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Updated to qt6, removed the dependency on removed file in the repo and the author info there so they can't be blamed for this existing.