diff --git a/misc/iso-codes/Makefile b/misc/iso-codes/Makefile index 631a82618ccb..9d419f142957 100644 --- a/misc/iso-codes/Makefile +++ b/misc/iso-codes/Makefile @@ -1,23 +1,28 @@ PORTNAME= iso-codes -PORTVERSION= 4.19.0 -DISTVERSIONPREFIX= v +DISTVERSION= 4.19.0 CATEGORIES= misc +MASTER_SITES= DEBIAN_POOL +DISTNAME= ${PORTNAME}_${DISTVERSION}.orig MAINTAINER= sunpoet@FreeBSD.org COMMENT= Lists of ISO standards, e.g. country, language, language scripts and currency names WWW= https://salsa.debian.org/iso-codes-team/iso-codes LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/COPYING -USES= gettext-tools gmake python:build tar:bz2 +USES= gettext-tools gmake python:build shebangfix tar:xz +SHEBANG_FILES= scripts/*.py -BINARY_ALIAS= python3=${PYTHON_VERSION} -GNU_CONFIGURE= yes NO_ARCH= yes +WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION} + +GNU_CONFIGURE= yes -USE_GITLAB= yes -GL_SITE= https://salsa.debian.org -GL_ACCOUNT= iso-codes-team +post-patch: + @${REINPLACE_CMD} -e 's|python3|${PYTHON_CMD}|g' \ + ${PATCH_WRKSRC}/*/Makefile.in + @${REINPLACE_CMD} -e 's|python3|${PYTHON_CMD}|g' \ + ${PATCH_WRKSRC}/common.mk .include diff --git a/misc/iso-codes/distinfo b/misc/iso-codes/distinfo index 2847d06ffa97..b7664b932dfe 100644 --- a/misc/iso-codes/distinfo +++ b/misc/iso-codes/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1765895856 -SHA256 (iso-codes-v4.19.0.tar.bz2) = fbb26e873f360badc72234fb34848cf9c5eff58c1506ebc7a1ccdf5a70bcb197 -SIZE (iso-codes-v4.19.0.tar.bz2) = 9907799 +TIMESTAMP = 1765927180 +SHA256 (iso-codes_4.19.0.orig.tar.xz) = 3f74176b82f03294d9043ee24596d2b91e97e50c2c26124236aa7a6214ab7c06 +SIZE (iso-codes_4.19.0.orig.tar.xz) = 4576848