freebsd-ports/graphics/curtail/Makefile
Yuri Victorovich b3d35b6983 graphics/curtail: Add missing dependencies
PR:		272404
Reported by:	freezr <freezr@mailbox.org>
2023-07-06 22:27:40 -07:00

38 lines
945 B
Makefile

PORTNAME= curtail
DISTVERSION= 1.7.0
PORTREVISION= 2
CATEGORIES= graphics print
MAINTAINER= yuri@FreeBSD.org
COMMENT= Simple & useful image compressor
WWW= https://github.com/Huluti/Curtail
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= appstream-util:devel/appstream-glib
RUN_DEPENDS= cwebp:graphics/webp \
jpegoptim:graphics/jpegoptim \
libadwaita>0:x11-toolkits/libadwaita \
optipng:graphics/optipng \
oxipng:graphics/oxipng \
pngquant:graphics/pngquant \
scour:textproc/py-scour@${PY_FLAVOR}
USES= desktop-file-utils gettext gnome meson pkgconfig python
USE_GNOME= glib20 gtk30
USE_GITHUB= yes
GH_ACCOUNT= Huluti
GH_PROJECT= Curtail
GLIB_SCHEMAS= com.github.huluti.Curtail.gschema.xml
NO_ARCH= yes
BINARY_ALIAS= python3=${PYTHON_CMD}
post-install: # adjust python path in the executable
@${REINPLACE_CMD} -i '' -e 's|^#!.*|#!${PYTHON_CMD}|' ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
.include <bsd.port.mk>