pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/x11/alacritty
Module Name: pkgsrc
Committed By: tnn
Date: Tue Mar 3 21:24:21 UTC 2026
Modified Files:
pkgsrc/x11/alacritty: Makefile
Added Files:
pkgsrc/x11/alacritty: PLIST.App
Log Message:
alacritty: support building as macOS app bundle
To generate a diff of this commit:
cvs rdiff -u -r1.40 -r1.41 pkgsrc/x11/alacritty/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/x11/alacritty/PLIST.App
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/x11/alacritty/Makefile
diff -u pkgsrc/x11/alacritty/Makefile:1.40 pkgsrc/x11/alacritty/Makefile:1.41
--- pkgsrc/x11/alacritty/Makefile:1.40 Mon Oct 27 11:59:24 2025
+++ pkgsrc/x11/alacritty/Makefile Tue Mar 3 21:24:21 2026
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.40 2025/10/27 11:59:24 pin Exp $
+# $NetBSD: Makefile,v 1.41 2026/03/03 21:24:21 tnn Exp $
DISTNAME= alacritty-0.16.1
CATEGORIES= x11
@@ -48,6 +48,19 @@ PYTHON_FOR_BUILD_ONLY= tool
INSTALLATION_DIRS= bin share/applications ${PKGMANDIR}/man1 \
${PKGMANDIR}/man5 share/icons/hicolor/scalable/apps
+PLIST_SRC= ${PLIST_SRC_DFLT}
+
+.if ${OPSYS} == "Darwin"
+INSTALLATION_DIRS+= Applications
+USE_TOOLS+= pax
+PLIST_SRC+= PLIST.App
+
+post-build: build-app
+.PHONY: build-app
+build-app:
+ ${RUN} cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} app
+.endif
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/target/release/alacritty \
${DESTDIR}${PREFIX}/bin
@@ -55,6 +68,9 @@ do-install:
${DESTDIR}${PREFIX}/share/applications
${INSTALL_DATA} ${WRKSRC}/extra/logo/alacritty-term.svg \
${DESTDIR}${PREFIX}/share/icons/hicolor/scalable/apps
+.if ${OPSYS} == "Darwin"
+ cd ${WRKSRC}/target/release/osx && ${PAX} -rwpe Alacritty.app ${DESTDIR}${PREFIX}/Applications
+.endif
post-install:
scdoc < ${WRKSRC}/extra/man/alacritty-msg.1.scd > ${WRKSRC}/extra/man/alacritty-msg.1
Added files:
Index: pkgsrc/x11/alacritty/PLIST.App
diff -u /dev/null pkgsrc/x11/alacritty/PLIST.App:1.1
--- /dev/null Tue Mar 3 21:24:21 2026
+++ pkgsrc/x11/alacritty/PLIST.App Tue Mar 3 21:24:21 2026
@@ -0,0 +1,14 @@
+@comment $NetBSD: PLIST.App,v 1.1 2026/03/03 21:24:21 tnn Exp $
+Applications/Alacritty.app/Contents/Info.plist
+Applications/Alacritty.app/Contents/MacOS/alacritty
+Applications/Alacritty.app/Contents/Resources/61/alacritty
+Applications/Alacritty.app/Contents/Resources/61/alacritty-direct
+Applications/Alacritty.app/Contents/Resources/alacritty-bindings.5.gz
+Applications/Alacritty.app/Contents/Resources/alacritty-msg.1.gz
+Applications/Alacritty.app/Contents/Resources/alacritty.1.gz
+Applications/Alacritty.app/Contents/Resources/alacritty.5.gz
+Applications/Alacritty.app/Contents/Resources/alacritty.icns
+Applications/Alacritty.app/Contents/Resources/completions/_alacritty
+Applications/Alacritty.app/Contents/Resources/completions/alacritty.bash
+Applications/Alacritty.app/Contents/Resources/completions/alacritty.fish
+Applications/Alacritty.app/Contents/_CodeSignature/CodeResources
Home |
Main Index |
Thread Index |
Old Index