mirror of
https://git.freebsd.org/ports.git
synced 2025-05-05 16:07:38 -04:00
* 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)
28 lines
761 B
Makefile
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>
|