git: 145d67950102 - main - astro/mepo: Convert to USES=zig and take maintainership

From: Kenneth Raplee <kenrap_at_FreeBSD.org>
Date: Mon, 11 May 2026 15:36:32 UTC
The branch main has been updated by kenrap:

URL: https://cgit.FreeBSD.org/ports/commit/?id=145d6795010212f14b307aa44cd96adc18ff91d9

commit 145d6795010212f14b307aa44cd96adc18ff91d9
Author:     Kenneth Raplee <kenrap@FreeBSD.org>
AuthorDate: 2026-05-04 15:34:22 +0000
Commit:     Kenneth Raplee <kenrap@FreeBSD.org>
CommitDate: 2026-05-11 15:33:48 +0000

    astro/mepo: Convert to USES=zig and take maintainership
    
    PR:             294741
    Approved by:    arrowd (co-mentor)
---
 astro/mepo/Makefile | 16 +++-------------
 astro/mepo/distinfo |  6 +++---
 2 files changed, 6 insertions(+), 16 deletions(-)

diff --git a/astro/mepo/Makefile b/astro/mepo/Makefile
index 8010a6ec1790..3e8d926aca18 100644
--- a/astro/mepo/Makefile
+++ b/astro/mepo/Makefile
@@ -1,10 +1,10 @@
 PORTNAME=	mepo
 DISTVERSION=	1.3.4
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	astro geography wayland
 MASTER_SITES=	https://git.sr.ht/~mil/${PORTNAME}/archive/${DISTVERSIONFULL}${EXTRACT_SUFX}?dummy=/
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	kenrap@FreeBSD.org
 COMMENT=	Fast, simple, and hackable OSM map viewer
 WWW=		https://sr.ht/~mil/Mepo/
 
@@ -12,21 +12,14 @@ LICENSE=	GPLv3+ OFL11
 LICENSE_COMB=	multi
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-BUILD_DEPENDS=	zig014=0.14.0:lang/zig014
 LIB_DEPENDS=	libcurl.so:ftp/curl
 RUN_DEPENDS=	jq:textproc/jq
 
-USES=		pkgconfig sdl shebangfix
+USES=		pkgconfig sdl shebangfix zig:014
 USE_SDL=	gfx2 image2 ttf2
 SHEBANG_FILES=	scripts/*
 SHEBANG_LANG=	sh
 sh_CMD=		/bin/sh
-CONFIGURE_ARGS=	--prefix "${PREFIX}" \
-		${WITH_DEBUG:D:U-Doptimize=ReleaseFast} \
-		-Dcpu=${CPUTYPE:Ubaseline} \
-		--verbose
-MAKE_ENV=	DESTDIR="${STAGEDIR}"
-NO_INSTALL=	yes # strip(1) breaks runtime
 
 post-patch:
 	@${REINPLACE_CMD} -e 's,/usr,${LOCALBASE},' \
@@ -35,9 +28,6 @@ post-patch:
 		-e 's/busctl/basuctl/' \
 		${WRKSRC}/scripts/mepo_ui_helper_menu.sh
 
-do-build:
-	@(cd ${WRKSRC} && ${MAKE_ENV} zig build ${CONFIGURE_ARGS})
-
 do-test:
 	@(cd ${WRKSRC} && ${TEST_ENV} zig build test ${CONFIGURE_ARGS})
 
diff --git a/astro/mepo/distinfo b/astro/mepo/distinfo
index 5d3a25eec3ed..3d1818166113 100644
--- a/astro/mepo/distinfo
+++ b/astro/mepo/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1742835024
-SHA256 (mepo-1.3.4.tar.gz) = 6f0f38fd58234b4de33e145d1660223be1d684dc33fea3dccf651281751ce286
-SIZE (mepo-1.3.4.tar.gz) = 589634
+TIMESTAMP = 1777897818
+SHA256 (zig/mepo-1.3.4.tar.gz) = 6f0f38fd58234b4de33e145d1660223be1d684dc33fea3dccf651281751ce286
+SIZE (zig/mepo-1.3.4.tar.gz) = 589634