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

libnick: new port in devel #26598

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
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
43 changes: 43 additions & 0 deletions devel/libnick/Portfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# -*- 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

Check warning on line 1 in devel/libnick/Portfile

View workflow job for this annotation

GitHub Actions / macos-13

port test libnick: Warning: libnick is configured to build for the architecture(s) 'x86_64', but did not install any Mach-O files.

Check warning on line 1 in devel/libnick/Portfile

View workflow job for this annotation

GitHub Actions / macos-15

port test libnick: Warning: libnick is configured to build for the architecture(s) 'arm64', but did not install any Mach-O files.

Check warning on line 1 in devel/libnick/Portfile

View workflow job for this annotation

GitHub Actions / macos-14

port test libnick: Warning: libnick is configured to build for the architecture(s) 'arm64', but did not install any Mach-O files.

PortSystem 1.0
PortGroup boost 1.0
PortGroup cmake 1.1
PortGroup conflicts_build 1.0
PortGroup github 1.0
PortGroup openssl 1.0

boost.version 1.81

github.setup NickvisionApps libnick 2024.11.0
revision 0
categories devel
license GPL-3
maintainers nomaintainer
description Cross-platform base for native Nickvision applications
long_description {*}${description}
checksums rmd160 c0084d152a63b986b687833a2346088d3380f2d1 \
sha256 fff3f027df95b9cdf6619e1f53bba883df7981718b27b6bcc1484d3f6e87343e \
size 2570461
github.tarball_from archive

depends_build-append \
port:gtest \
port:maddy-parser \
path:bin/pkg-config:pkgconfig

depends_lib-append port:curl \
path:lib/pkgconfig/glib-2.0.pc:glib2 \
port:gettext-runtime

if {${os.platform} ne "darwin" || ${os.major} < 12} {
depends_lib-append \
port:libsecret
configure.args-append \
-DUSE_LIBSECRET=ON
}

compiler.cxx_standard 2020

# https://github.com/NickvisionApps/libnick/issues/50
conflicts_build boost
31 changes: 31 additions & 0 deletions devel/maddy-parser/Portfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# -*- 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

name maddy-parser
github.setup progsource maddy 1.3.0
revision 0
categories devel
platforms any
license MIT
maintainers nomaintainer
description C++ markdown to HTML header-only parser library
long_description {*}${description}
checksums rmd160 8104fb3640c9e1d7066e8d01172932c145a248bd \
sha256 561681f8c8d2b998c153cda734107a0bc1dea4bb0df69fd813922da63fa9f3e7 \
size 26357
github.tarball_from archive
supported_archs noarch

compiler.cxx_standard 2014

configure.args-append -DMADDY_BUILD_WITH_TESTS=OFF

destroot {
copy ${worksrcpath}/include/maddy ${destroot}${prefix}/include/
set docdir ${prefix}/share/doc/${name}
xinstall -d ${destroot}${docdir}
xinstall -m 0644 -W ${worksrcpath} CHANGELOG.md LICENSE README.md ${destroot}${docdir}
}