1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-13 07:34:50 +00:00
freebsd-ports/devel/git-cola/Makefile
Baptiste Daroussin 2c672a4de9 INSTALLS_ICONS: retire the macro and rework the related dependencies
While here, make sure gtk-update-icon-cache is only on run dependency
where added as a dependency
Enforce gtk3 to depend on gtk-update-icon-cache (previously it was
inheriting the dependency)
2021-10-10 21:44:42 +02:00

38 lines
925 B
Makefile

# Created by: Jonathan Anderson <jonathan@FreeBSD.org>
PORTNAME= git-cola
DISTVERSIONPREFIX= v
DISTVERSION= 3.10.1
CATEGORIES= devel
MAINTAINER= dch@FreeBSD.org
COMMENT= Sleek and powerful Git GUI
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= git>=0:devel/git
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}QtPy>=1.7.1:devel/py-QtPy@${PY_FLAVOR}
USES= desktop-file-utils gmake gnome python pyqt:5 qt:5 shebangfix
USE_GITHUB= yes
USE_PYQT= core gui network widgets
NO_ARCH= yes
# NO_VENDOR_LIBS ensures we use ports QtPy not embedded version
MAKE_ARGS= prefix=${PREFIX} PYTHON=${PYTHON_CMD} NO_VENDOR_LIBS=1
OPTIONS_DEFINE= DOCS NLS
OPTIONS_SUB= yes
NLS_USES= gettext
post-patch:
@${REINPLACE_CMD} -e 's|LN_S = $$(LN) -s -f|LN_S = ${RLN}|;\
s|$$(LN_S) "$$(datadir)/icons/git-cola.svg"|$$(LN_S) \
"$$(DESTDIR)$$(datadir)/icons/git-cola.svg"|' \
${WRKSRC}/Makefile
.include <bsd.port.mk>