if a port needs 2.x then set MODPY_VERSION=${MODPY_DEFAULT_VERSION_2}. This commit doesn't change any versions currently used; it may be that some ports have MODPY_DEFAULT_VERSION_2 but don't require it, those should be cleaned up in the course of updating ports where possible. Python module ports providing py3-* packages should still use FLAVOR=python3 so that we don't have a mixture of dependencies some using ${MODPY_FLAVOR} and others not.
36 lines
869 B
Makefile
36 lines
869 B
Makefile
# $OpenBSD: Makefile,v 1.75 2021/02/23 19:39:15 sthen Exp $
|
|
|
|
COMMENT= lists of the country, language and currency iso names
|
|
|
|
V = 4.5.0
|
|
DISTNAME= iso-codes-iso-codes-$V
|
|
PKGNAME = iso-codes-$V
|
|
CATEGORIES= devel
|
|
|
|
HOMEPAGE= https://salsa.debian.org/iso-codes-team/iso-codes
|
|
|
|
MAINTAINER= Jasper Lievisse Adriaanse <jasper@openbsd.org>
|
|
|
|
# LGPLv2.1
|
|
PERMIT_PACKAGE= Yes
|
|
|
|
MASTER_SITES = https://salsa.debian.org/iso-codes-team/iso-codes/-/archive/iso-codes-$V/
|
|
|
|
USE_GMAKE= Yes
|
|
CONFIGURE_STYLE=gnu
|
|
|
|
MODULES= lang/python
|
|
MODPY_RUNDEP= No
|
|
MODPY_ADJ_FILES=bin/validate_json_data.py \
|
|
bin/xml_from_json.py \
|
|
bin/pot_from_json.py \
|
|
bin/check_valid_utf8.py
|
|
|
|
BUILD_DEPENDS= devel/gettext,-tools
|
|
|
|
# hardcodes python3, which isn't needed as the script already has the x bit set
|
|
post-extract:
|
|
sed -i 's,^\([[:space:]]\)python3 ,\1,' ${WRKSRC}/*/Makefile.in
|
|
|
|
.include <bsd.port.mk>
|