git: 6da4f048ff2f - main - devel/hare-adwaita: New port: Hare bindings for libadwaita
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 12 Apr 2026 21:55:11 UTC
The branch main has been updated by dtxdf:
URL: https://cgit.FreeBSD.org/ports/commit/?id=6da4f048ff2f90c7138a2efbfdeffdc8d32291af
commit 6da4f048ff2f90c7138a2efbfdeffdc8d32291af
Author: Jesús Daniel Colmenares Oviedo <dtxdf@FreeBSD.org>
AuthorDate: 2026-04-12 21:30:09 +0000
Commit: Jesús Daniel Colmenares Oviedo <dtxdf@FreeBSD.org>
CommitDate: 2026-04-12 21:53:53 +0000
devel/hare-adwaita: New port: Hare bindings for libadwaita
hare-adwaita provides bindings to libadwaita for Hare.
WWW: https://git.sr.ht/~sircmpwn/hare-adwaita
---
devel/Makefile | 1 +
devel/hare-adwaita/Makefile | 29 +++++++++++++++++++++++++++++
devel/hare-adwaita/distinfo | 3 +++
devel/hare-adwaita/files/patch-Makefile | 11 +++++++++++
devel/hare-adwaita/pkg-descr | 1 +
5 files changed, 45 insertions(+)
diff --git a/devel/Makefile b/devel/Makefile
index 090ced053210..be724ca584a6 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -981,6 +981,7 @@
SUBDIR += hapy
SUBDIR += hare
SUBDIR += hare-gi
+ SUBDIR += hare-adwaita
SUBDIR += hcs12mem
SUBDIR += heaptrack
SUBDIR += heimdall
diff --git a/devel/hare-adwaita/Makefile b/devel/hare-adwaita/Makefile
new file mode 100644
index 000000000000..1b8e0b63444f
--- /dev/null
+++ b/devel/hare-adwaita/Makefile
@@ -0,0 +1,29 @@
+PORTNAME= hare-adwaita
+DISTVERSION= 0.1.0
+CATEGORIES= devel
+MASTER_SITES= https://git.sr.ht/~${SRHT_ACCOUNT}/${SRHT_PROJECT}/archive/${DISTVERSIONFULL}${EXTRACT_SUFX}?dummy=/
+
+MAINTAINER= dtxdf@FreeBSD.org
+COMMENT= Hare bindings for libadwaita
+WWW= https://git.sr.ht/~sircmpwn/hare-adwaita
+
+LICENSE= MPL20
+LICENSE_FILE= ${WRKSRC}/COPYING
+
+BUILD_DEPENDS= hare-gi>=0:devel/hare-gi
+
+USES= gnome
+USE_GNOME= libadwaita
+
+MAKE_ARGS= DESTDIR=${STAGEDIR} \
+ PREFIX=${PREFIX}
+
+PLIST_FILES= share/hare/third-party/gi/adw/_generated.ha
+
+SRHT_ACCOUNT= sircmpwn
+SRHT_PROJECT= ${PORTNAME}
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|/usr/share|${PREFIX}/share|' ${WRKSRC}/scripts/generate
+
+.include <bsd.port.mk>
diff --git a/devel/hare-adwaita/distinfo b/devel/hare-adwaita/distinfo
new file mode 100644
index 000000000000..d655df18ec01
--- /dev/null
+++ b/devel/hare-adwaita/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1776015757
+SHA256 (hare-adwaita-0.1.0.tar.gz) = 6fe9fa62cc840893fbac3f42111ecd4a53fff7a58aeb9246bfca9e5caa582133
+SIZE (hare-adwaita-0.1.0.tar.gz) = 6497
diff --git a/devel/hare-adwaita/files/patch-Makefile b/devel/hare-adwaita/files/patch-Makefile
new file mode 100644
index 000000000000..53c544be976a
--- /dev/null
+++ b/devel/hare-adwaita/files/patch-Makefile
@@ -0,0 +1,11 @@
+--- Makefile.orig 2026-04-12 17:48:18 UTC
++++ Makefile
+@@ -5,7 +5,7 @@ PREFIX = /usr/local
+
+ DESTDIR =
+ PREFIX = /usr/local
+-SRCDIR = $(PREFIX)/src
++SRCDIR = $(PREFIX)/share
+ HARESRCDIR = $(SRCDIR)/hare
+ THIRDPARTYDIR = $(HARESRCDIR)/third-party
+
diff --git a/devel/hare-adwaita/pkg-descr b/devel/hare-adwaita/pkg-descr
new file mode 100644
index 000000000000..c39d0e5462e8
--- /dev/null
+++ b/devel/hare-adwaita/pkg-descr
@@ -0,0 +1 @@
+hare-adwaita provides bindings to libadwaita for Hare.