CVS commit: pkgsrc/net/lagrange

"Jonathan Schleifer" <[email protected]>
Newsgroups gmane.os.netbsd.devel.pkgsrc.cvs
Message-ID <[email protected]>
Module Name:	pkgsrc
Committed By:	js
Date:		Wed Aug 26 18:19:57 UTC 2026

Modified Files:
	pkgsrc/net/lagrange: Makefile
Added Files:
	pkgsrc/net/lagrange: PLIST.Darwin

Log Message:
Make net/lagrange build on Darwin


To generate a diff of this commit:
cvs rdiff -u -r1.33 -r1.34 pkgsrc/net/lagrange/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/net/lagrange/PLIST.Darwin

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
(unnamed) (text/x-diff, 1.5 KB)
Modified files:

Index: pkgsrc/net/lagrange/Makefile
diff -u pkgsrc/net/lagrange/Makefile:1.33 pkgsrc/net/lagrange/Makefile:1.34
--- pkgsrc/net/lagrange/Makefile:1.33	Mon Jul 13 04:36:26 2026
+++ pkgsrc/net/lagrange/Makefile	Wed Aug 26 18:19:56 2026
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.33 2026/07/13 04:36:26 wiz Exp $
+# $NetBSD: Makefile,v 1.34 2026/08/26 18:19:56 js Exp $
 
 DISTNAME=	lagrange-1.20.8
-PKGREVISION=	1
+PKGREVISION=	2
 CATEGORIES=	net
 MASTER_SITES=	https://git.skyjake.fi/gemini/lagrange/releases/download/v${PKGVERSION_NOREV}/
 
@@ -16,6 +16,16 @@ USE_CC_FEATURES+=	c11
 
 DEPENDS+=	zip-[0-9]*:../../archivers/zip
 
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "Darwin"
+PLIST_SRC=	PLIST.Darwin
+
+do-install:
+	${RUN} mkdir -p ${DESTDIR}${PREFIX}/Applications
+	${RUN} cp -R ${WRKSRC}/${CONFIGURE_DIR}/${CMAKE_BUILD_DIR}/Lagrange.app ${DESTDIR}${PREFIX}/Applications
+.endif
+
 .include "options.mk"
 .include "../../converters/fribidi/buildlink3.mk"
 .include "../../devel/SDL2/buildlink3.mk"

Added files:

Index: pkgsrc/net/lagrange/PLIST.Darwin
diff -u /dev/null pkgsrc/net/lagrange/PLIST.Darwin:1.1
--- /dev/null	Wed Aug 26 18:19:57 2026
+++ pkgsrc/net/lagrange/PLIST.Darwin	Wed Aug 26 18:19:56 2026
@@ -0,0 +1,5 @@
+@comment $NetBSD: PLIST.Darwin,v 1.1 2026/08/26 18:19:56 js Exp $
+Applications/Lagrange.app/Contents/Info.plist
+Applications/Lagrange.app/Contents/MacOS/Lagrange
+Applications/Lagrange.app/Contents/Resources/Lagrange.icns
+Applications/Lagrange.app/Contents/Resources/resources.lgr
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.