40 lines
898 B
Makefile
40 lines
898 B
Makefile
# ring-v0.16.20 does not support those archs
|
|
NOT_FOR_ARCHS = powerpc64 riscv64 sparc64
|
|
|
|
# 20220112 - build often fails due to out of memory
|
|
# memory allocation of 402653184 bytes failed
|
|
# error: could not compile `notify_push`
|
|
NOT_FOR_ARCHS+= i386
|
|
|
|
COMMENT = update notifications for nextcloud clients
|
|
|
|
GH_ACCOUNT = nextcloud
|
|
GH_PROJECT = notify_push
|
|
GH_TAGNAME = v0.5.0
|
|
REVISION = 6
|
|
|
|
CATEGORIES = www
|
|
|
|
# AGPLv3
|
|
PERMIT_PACKAGE = Yes
|
|
|
|
# a tarball is shipped on github, but without Cargo.lock, and contains linux binaries..
|
|
# MASTER_SITES = https://github.com/nextcloud/notify_push/releases/download/v0.1.7/
|
|
|
|
COMPILER = base-clang ports-gcc
|
|
|
|
MODULES = devel/cargo
|
|
|
|
.include "crates.inc"
|
|
|
|
MODCARGO_CRATES_KEEP += libsqlite3-sys
|
|
PATCHORIG = .openbsd.orig
|
|
WANTLIB += c c++abi m pthread
|
|
|
|
CONFIGURE_STYLE = cargo
|
|
SEPARATE_BUILD = Yes
|
|
|
|
BUILD_DEPENDS += security/rust-ring
|
|
|
|
.include <bsd.port.mk>
|