pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
jankyborders: Minor fixes and add TODO
Module Name: pkgsrc-wip
Committed By: Greg Troxel <gdt%lexort.com@localhost>
Pushed By: gdt
Date: Wed Nov 25 18:27:47 2026 -0500
Changeset: 3820d6ef53acdddb0c17f0fba821239a74128720
Modified Files:
jankyborders/Makefile
Added Files:
jankyborders/TODO
Log Message:
jankyborders: Minor fixes and add TODO
(Despite the apparently big comments, this is really close.)
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=3820d6ef53acdddb0c17f0fba821239a74128720
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
jankyborders/Makefile | 13 +++++++------
jankyborders/TODO | 12 ++++++++++++
2 files changed, 19 insertions(+), 6 deletions(-)
diffs:
diff --git a/jankyborders/Makefile b/jankyborders/Makefile
index 265462572d..249ac0fae9 100644
--- a/jankyborders/Makefile
+++ b/jankyborders/Makefile
@@ -9,19 +9,20 @@ MAINTAINER= ivan%ivanpollak.com@localhost
HOMEPAGE= https://github.com/FelixKratz/jankyborders/
COMMENT= Window border system for macOS
LICENSE= gnu-gpl-v3
+
USE_TOOLS+= gmake
WRKSRC= ${WRKDIR}/${DISTNAME}
-# Only available for macOS
-ONLY_FOR_PLATFORM= Darwin-*-aarch64
+# This program uses APIs that only exist on macOS.
+# TODO: Address CPU types, if it doesn't work on all of them.
+# TODO: Adjust for versions that are supported.
+ONLY_FOR_PLATFORM= Darwin-*-*
-# We need to copy some files over manually because the makefile doesn't have an
-# install target.
+# Upstream makeefile lacks an install target.
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
-
do-install:
cd ${WRKSRC} && \
- ${MV} bin/borders ${DESTDIR}${PREFIX}/bin && \
+ ${INSTALL} bin/borders ${DESTDIR}${PREFIX}/bin && \
${INSTALL_MAN} docs/borders.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
.include "../../mk/bsd.pkg.mk"
diff --git a/jankyborders/TODO b/jankyborders/TODO
new file mode 100644
index 0000000000..9d10858aa1
--- /dev/null
+++ b/jankyborders/TODO
@@ -0,0 +1,12 @@
+ - Adjust ONLY_FOR to either not specify the CPU type, if it
+ builds/works on x86-64, or to explain why not -- it's not in
+ upstream's README. IF it doesn't work, and upstream doesn't
+ document that and why, file a bug upstream.
+
+ - Adjust ONLY_FOR for the earlier macOS version that works, and up.
+
+ - WRKSC uses distname which is lower case but the tarball unpacks
+ differently. Ideally, ask upstream to fix. Working around th
+ upstream bug, use different case for fetch and WRKDIR, without
+ duplicating the version (etiher VERSION= or some fancy makefile
+ pattern).
Home |
Main Index |
Thread Index |
Old Index