On 2020/01/28 07:03, Rafael Sadowski wrote:
> Yet another switch from qt4 to qt5. Update qgit to the latest stable
> version from github.
>
> "QGit's project management has now moved to GitHub." --
> http://libre.tibirna.org/
>
> Tested on amd64 with some git repos.
>
> OK?
>
> Index: Makefile
> ===================================================================
> RCS file: /cvs/ports/devel/qgit/Makefile,v
> retrieving revision 1.16
> diff -u -p -u -p -r1.16 Makefile
> --- Makefile 12 Jul 2019 20:45:57 -0000 1.16
> +++ Makefile 28 Jan 2020 06:02:59 -0000
> @@ -1,34 +1,28 @@
> # $OpenBSD: Makefile,v 1.16 2019/07/12 20:45:57 sthen Exp $
>
> -COMMENT = qt git repository viewer
> +COMMENT = Qt git repository viewer
>
> -# XXX also change MASTER_SITES when updating
> -DISTNAME = qgit-2.5
> -REVISION = 1
> +V = 2.9
> +DISTNAME = qgit-${V}
>
> CATEGORIES = devel x11
>
> -HOMEPAGE = http://libre.tibirna.org/projects/qgit
> +HOMEPAGE = https://github.com/tibirna/qgit
>
> # GPLv2
> PERMIT_PACKAGE = Yes
>
> -WANTLIB += ICE QtGui SM X11 Xext Xi Xinerama Xrender c fontconfig
> -WANTLIB += freetype m pthread ${COMPILER_LIBCXX}
> +WANTLIB += ${COMPILER_LIBCXX} Qt5Core Qt5Gui Qt5Widgets c m
>
> -COMPILER = base-clang ports-gcc base-gcc
> +MASTER_SITES = https://github.com/tibirna/qgit/archive/
Don't set MASTER_SITES to a github.../archive/ URL yourself. If there
is a proper tarball in .../releases or on another site then use that,
otherwise set GH_*.
In this case:
GH_ACCOUNT=libtirna
GH_PROJECT=qgit
GH_TAGNAME=qgit-2.9
DIATNAME=${GH_TAGNAME}