PORTNAME=	python3
PORTVERSION=	3.9.23
DISTVERSIONSUFFIX=	-2.el9
CATEGORIES=	lang linux
PKGNAMESUFFIX=	9

MAINTAINER=	emulation@FreeBSD.org
COMMENT=	Python Language (Rocky Linux ${LINUX_DIST_VER})
WWW=		https://www.python.org/

LICENSE=	PSFL

USES=		cpe linux:rl9
USE_LDCONFIG=	yes
USE_LINUX_RPM=	yes
WANT_LINUX32=	yes

BIN_DISTNAMES=	${PORTNAME}-${DISTVERSIONFULL}
LIB_DISTNAMES=	${PORTNAME}-libs-${DISTVERSIONFULL}
SRC_DISTFILES=	${PORTNAME}.${PKGNAMESUFFIX}-${DISTVERSIONFULL}${SRC_SUFX}:SOURCE

CONFLICTS=	linux-c7-${PORTNAME}${PKGNAMESUFFIX}
#DESCR=		${PORTSDIR}/${PKGCATEGORY}/${PORTNAME}${PKGNAMESUFFIX}/pkg-descr
DOCSDIR=	${PREFIX}/usr/share/doc/${PORTNAME}

OPTIONS_DEFINE=	DOCS

PLIST_SUB+=	VERSION=${PORTVERSION}
.include <bsd.port.mk>
