summaryrefslogtreecommitdiff
path: root/www/lagrange/Makefile
blob: e9df8c2e494eadc16fc17aeffa2b24f7324427be (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31

PORTNAME=	lagrange
DISTVERSION=	1.2.2
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

OPENSSL_LDFLAGS=	-lssl -lcrypto

.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>