ports/devel/gitqlient/Makefile
Daniel Engberg 352476893f devel/gitqlient: Improve port
* Use upstream release archive as recommended by Porters Handbook and simplifies port
* Fix usage of USE_GL helper
* Add missing dependency USE_QT= network
* Remove usage of git during build
* Define version and sha checksum for build

PR:	282093
Reviewed by:	adridg (maintainer)
2024-10-22 22:16:17 +02:00

28 lines
761 B
Makefile

PORTNAME= gitqlient
DISTVERSION= 1.6.3
PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= https://github.com/francescmm/GitQlient/releases/download/v${DISTVERSION}/
DISTNAME= ${PORTNAME}_${DISTVERSION}
MAINTAINER= adridg@FreeBSD.org
COMMENT= Graphical interface to git repositories
WWW= https://francescmm.github.io/GitQlient/
LICENSE= LGPL21
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= compiler:c++17-lang cpe gl qmake:outsource qt:5
USE_GL= gl
USE_QT= core gui network widgets \
buildtools:build
QMAKE_SOURCE_PATH= ${WRKSRC}/GitQlient.pro
post-patch:
@${REINPLACE_CMD} -e 's|%%DISTVERSION%%|${DISTVERSION}|g' \
${PATCH_WRKSRC}/GitQlient.pro
@${REINPLACE_CMD} -e 's|%%SHASHORT%%|faf286e|g' \
${PATCH_WRKSRC}/GitQlient.pro
.include <bsd.port.mk>