mirror of
https://git.freebsd.org/ports.git
synced 2025-06-09 06:40:33 -04:00
SIP: As mentioned in the update from sip to sip5, this is a transitional version to remove what is deprecated in sip4. Sip6 completely removes the deprecated parts. Unfortunately, some ports — mostly cura things — can not use sip6, so we reintroduce sip4. PyQt: At the same time, we took the opportunity to simplify PyQT and propose only one package as for devel/pyside2. */py-qt5-* have been merged — excepted chart, networkauth and webengine — into devel/py-qt5-pyqt. This allows us to be in adequacy with the packages that the author of these libraries proposes, namely: PyQt - devel/py-qt5-pyqt PyQt-Charts - x11-toolkits/py-qt5-chart PyQt-NetworkAuth – net/py-qt5-networkauth PyQt-WebEngine – www/py-qt5-webengine SIP – devel/py-sip py-sip - devel/py-qt5-sip PyQt-builder - devel/py-qtbuilder Qscintilla - devel/py-qt5-qscintilla2 Reviewed by: diizzy, kde Tested by: kai, rhurlin, arrowd, madpilot Approved by: makc, tcberner, kde Differential Revision: https://reviews.freebsd.org/D33237 Exp-run by: antoine
37 lines
906 B
Makefile
37 lines
906 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= pyqt5
|
|
|
|
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>
|