aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesús Daniel Colmenares Oviedo <dtxdf@FreeBSD.org>2026-04-12 21:30:09 +0000
committerJesús Daniel Colmenares Oviedo <dtxdf@FreeBSD.org>2026-04-12 21:53:53 +0000
commit6da4f048ff2f90c7138a2efbfdeffdc8d32291af (patch)
tree6ced4bff71b6f02721b974f955a73e73c0eb09a0
parent1542269afc1f0b4e8c5f4c3c0ce1c79cffed5d7f (diff)
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
-rw-r--r--devel/Makefile1
-rw-r--r--devel/hare-adwaita/Makefile29
-rw-r--r--devel/hare-adwaita/distinfo3
-rw-r--r--devel/hare-adwaita/files/patch-Makefile11
-rw-r--r--devel/hare-adwaita/pkg-descr1
5 files changed, 45 insertions, 0 deletions
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.