2021-02-05 11:09:08 +00:00
|
|
|
|
|
|
|
PORTNAME= lagrange
|
2021-03-07 19:38:00 +00:00
|
|
|
DISTVERSION= 1.2.2
|
2021-04-22 12:59:59 +00:00
|
|
|
PORTREVISION= 1
|
2021-02-05 11:09:08 +00:00
|
|
|
CATEGORIES= www
|
|
|
|
MASTER_SITES= https://git.skyjake.fi/skyjake/${PORTNAME}/releases/download/v${DISTVERSION}/
|
|
|
|
|
|
|
|
MAINTAINER= lcook@FreeBSD.org
|
|
|
|
COMMENT= Beautiful Gemini Client
|
|
|
|
|
|
|
|
LICENSE= BSD2CLAUSE
|
|
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE.md
|
|
|
|
|
|
|
|
BROKEN_SSL= libressl
|
|
|
|
BROKEN_SSL_REASON_libressl= needs features only available in OpenSSL
|
|
|
|
|
|
|
|
LIB_DEPENDS= libmpg123.so:audio/mpg123 \
|
|
|
|
libpcre.so:devel/pcre \
|
|
|
|
libunistring.so:devel/libunistring
|
|
|
|
|
|
|
|
USES= cmake compiler:c11 desktop-file-utils pkgconfig sdl ssl
|
|
|
|
USE_SDL= sdl2
|
|
|
|
|
2021-04-22 12:59:59 +00:00
|
|
|
OPTIONS_DEFINE= SSE41
|
|
|
|
|
|
|
|
SSE41_DESC= Enable SSE4.1 support
|
|
|
|
SSE41_CMAKE_ON= -DTFDN_ENABLE_SSE41:BOOL=ON
|
|
|
|
|
2021-02-05 11:09:08 +00:00
|
|
|
OPENSSL_LDFLAGS= -lssl -lcrypto
|
|
|
|
|
2021-02-08 16:47:14 +00:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1200085 && ${SSL_DEFAULT} == base
|
|
|
|
BROKEN= requires at least OpenSSL version 1.1.1 to build
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|