Index: head/www/Makefile =================================================================== --- head/www/Makefile +++ head/www/Makefile @@ -287,6 +287,7 @@ SUBDIR += kf5-kjsembed SUBDIR += kiwix-tools SUBDIR += kohana + SUBDIR += lagrange SUBDIR += larbin SUBDIR += libapreq2 SUBDIR += libdom Index: head/www/lagrange/Makefile =================================================================== --- head/www/lagrange/Makefile +++ head/www/lagrange/Makefile @@ -0,0 +1,26 @@ +# $FreeBSD$ + +PORTNAME= lagrange +DISTVERSION= 1.1.1 +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 Index: head/www/lagrange/distinfo =================================================================== --- head/www/lagrange/distinfo +++ head/www/lagrange/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1612383054 +SHA256 (lagrange-1.1.1.tar.gz) = e9f2149f060b6678e854104d8ef77fd8e62cd75cf3bf1a0208dd27cdedab72b3 +SIZE (lagrange-1.1.1.tar.gz) = 14298292 Index: head/www/lagrange/files/patch-lib_the__Foundation_Depends.cmake =================================================================== --- head/www/lagrange/files/patch-lib_the__Foundation_Depends.cmake +++ head/www/lagrange/files/patch-lib_the__Foundation_Depends.cmake @@ -0,0 +1,14 @@ +--- lib/the_Foundation/Depends.cmake.orig 2021-01-28 11:44:52 UTC ++++ lib/the_Foundation/Depends.cmake +@@ -10,9 +10,8 @@ if (NOT IOS) + set (iHaveCurl NO) + endif () + if (TFDN_ENABLE_TLSREQUEST) +- pkg_check_modules (OPENSSL eopenssl11) # BSD +- if (NOT OPENSSL_FOUND) +- pkg_check_modules (OPENSSL openssl) ++ if (NOT OPENSSL_FOUND) ++ find_package (OpenSSL REQUIRED) + endif () + else () + set (OPENSSL_FOUND NO) Index: head/www/lagrange/pkg-descr =================================================================== --- head/www/lagrange/pkg-descr +++ head/www/lagrange/pkg-descr @@ -0,0 +1,15 @@ +Lagrange is a desktop GUI client for browsing +Geminispace. It offers modern conveniences +familiar from web browsers, such as smooth +scrolling, inline image viewing, multiple tabs, +visual themes, Unicode fonts, bookmarks, +history, and page outlines. + +Like Gemini, Lagrange has been designed with +minimalism in mind. It depends on a small +number of essential libraries. It is written +in C and uses SDL for hardware-accelerated +graphics. OpenSSL is used for secure +communications. + +WWW: https://gmi.skyjake.fi/lagrange/ Index: head/www/lagrange/pkg-plist =================================================================== --- head/www/lagrange/pkg-plist +++ head/www/lagrange/pkg-plist @@ -0,0 +1,5 @@ +bin/lagrange +share/applications/fi.skyjake.lagrange.desktop +share/icons/hicolor/256x256/apps/fi.skyjake.lagrange.png +%%DATADIR%%/resources.lgr +share/metainfo/fi.skyjake.Lagrange.appdata.xml