aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKenneth Raplee <kenrap@FreeBSD.org>2026-05-04 15:34:22 +0000
committerKenneth Raplee <kenrap@FreeBSD.org>2026-05-11 15:33:48 +0000
commit145d6795010212f14b307aa44cd96adc18ff91d9 (patch)
tree28140871579fd21ebadd14ec68b7ccf1a2a0bd7f
parent5baffc837a292b063684cb150281fd58825bc0c4 (diff)
astro/mepo: Convert to USES=zig and take maintainership
PR: 294741 Approved by: arrowd (co-mentor)
-rw-r--r--astro/mepo/Makefile16
-rw-r--r--astro/mepo/distinfo6
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