Files

54 lines
1.7 KiB
Tcl

# -*- 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 github 1.0
name i2pchat
categories net security aqua
maintainers nomaintainer
description Anonymous private secure open-source chat
long_description {*}${description} using end-to-end encrypted transport.
license GPL-2
if {${os.platform} eq "darwin" && ${os.major} < 11} {
# Initial support for Qt4. TODO: update this.
# # https://github.com/vituperative/i2pchat/issues/31
PortGroup qmake 1.0
github.setup vituperative i2pchat 0.2.30
revision 0
checksums rmd160 4f2654f001fea7a89b64737ad372895a7b09da5c \
sha256 024edabd47bed9d73d463bc0ac789bea6aa0122ee433150dfc50ea8084203c9b \
size 435397
patchfiles-append \
patch-qt4.diff
destroot {
copy ${worksrcpath}/I2P-Messenger.app ${destroot}${applications_dir}
}
} else {
PortGroup qmake5 1.0
qt5.depends_component qtmultimedia qtsvg
github.setup vituperative i2pchat 0.2.37
revision 0
checksums rmd160 aed05ec0b191872404ff7dd1da770a411c3e34b1 \
sha256 7cab4d689fefbf60fd8ff13853126c76f7b70e5a90d38430ffb0b1c1ab88877e \
size 1679202
destroot {
copy ${worksrcpath}/I2PChat.app ${destroot}${applications_dir}
}
}
github.tarball_from archive
compiler.cxx_standard 2011
# Avoid a silly error:
# https://github.com/vituperative/i2pchat/issues/32
patchfiles-append 0001-Patch-gitversion.pri.patch