summaryrefslogtreecommitdiff
path: root/x11/awww/Makefile
diff options
context:
space:
mode:
authorcashmere <cashmere@autistici.org>2026-07-25 16:34:25 +0200
committercashmere <cashmere@autistici.org>2026-07-25 16:34:25 +0200
commitcb269f35135a17e0f6fafdbe3a3c61499a9d4445 (patch)
treeea936d4a09f6e5ded238c8f30d4082d6e5c9d6c5 /x11/awww/Makefile
parenta19f2d101a0d2a8ba21b5f723c2e6a842c7ae71d (diff)
downloadports-cb269f35135a17e0f6fafdbe3a3c61499a9d4445.tar.gz
x11/awww/: add awww
Diffstat (limited to 'x11/awww/Makefile')
-rw-r--r--x11/awww/Makefile44
1 files changed, 44 insertions, 0 deletions
diff --git a/x11/awww/Makefile b/x11/awww/Makefile
new file mode 100644
index 0000000..3c59ce4
--- /dev/null
+++ b/x11/awww/Makefile
@@ -0,0 +1,44 @@
+PORTNAME= awww
+DISTVERSIONPREFIX= v
+DISTVERSION= 0.12.1
+PORTREVISION= 1
+CATEGORIES= x11
+MASTER_SITES= https://codeberg.org/LGFae/${PORTNAME}/archive/${DISTVERSIONFULL}${EXTRACT_SUFX}?dummy=/
+DISTFILES= ${DISTNAME}${EXTRACT_SUFX}
+
+MAINTAINER= nivit@FreeBSD.org
+COMMENT= Answer to your Wayland Wallpaper Woes
+WWW= https://codeberg.org/LGFae/awww
+
+LICENSE= GPLv3
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+BUILD_DEPENDS= scdoc:textproc/scdoc \
+ wayland-protocols>=1.44:graphics/wayland-protocols \
+ wayland>=1.23.1:graphics/wayland
+LIB_DEPENDS= liblz4.so:archivers/liblz4
+
+USES= cargo pkgconfig shebangfix
+
+SHEBANG_FILES= example_scripts/*.sh
+
+CARGO_INSTALL_PATH= client daemon
+
+WRKSRC= ${WRKDIR}/${PORTNAME}
+
+OPTIONS_DEFINE= EXAMPLES
+
+EXAMPLES_RUN_DEPENDS= bash:shells/bash
+
+post-build:
+ ${WRKSRC}/doc/gen.sh
+
+post-install:
+ cd ${WRKSRC}/doc/generated && \
+ ${INSTALL_MAN} *.1 ${STAGEDIR}${PREFIX}/share/man/man1/
+
+post-install-EXAMPLES-on:
+ cd ${WRKSRC}/example_scripts && \
+ ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}
+
+.include <bsd.port.mk>