Nicola Vitale 8a55b2a70e
devel/blueprint-compiler: Update to 0.16.0
- Take maintainership
- Install bytecode cache files, that would otherwise be created by port
  consumers. This is mainly useful to avoid leftovers when using poudriere
- Pet port(clippy|fmt)
2025-03-11 14:54:18 +01:00

32 lines
849 B
Makefile

PORTNAME= blueprint-compiler
DISTVERSIONPREFIX= v
DISTVERSION= 0.16.0
CATEGORIES= devel
MAINTAINER= nivit@FreeBSD.org
COMMENT= Markup language for GTK user interfaces
WWW= https://gitlab.gnome.org/jwestman/blueprint-compiler
LICENSE= LGPL3+
LICENSE_FILE= ${WRKSRC}/COPYING
TEST_DEPENDS= gtk4>0:x11-toolkits/gtk40
USES= gnome meson python shebangfix
USE_GITLAB= yes
GL_SITE= https://gitlab.gnome.org
GL_ACCOUNT= jwestman
USE_GNOME= pygobject3
SHEBANG_FILES= ${PORTNAME}.py docs/collect-sections.py
NO_ARCH= yes
post-patch:
# Derive Python version from Meson
@${REINPLACE_CMD} -e "s,'python3','${PYTHON_CMD}'," ${WRKSRC}/meson.build
post-stage:
${PYTHON_CMD} -m compileall -d ${PYTHON_SITELIBDIR} ${STAGEDIR}${PYTHON_SITELIBDIR}
${PYTHON_CMD} -O -m compileall -d ${PYTHON_SITELIBDIR} ${STAGEDIR}${PYTHON_SITELIBDIR}
.include <bsd.port.mk>