freebsd-ports/sysutils/modules/Makefile
Mateusz Piotrowski 9e034b4c83 Update to 4.6
The most important changes are described in the MIGRATING document:
- https://modules.readthedocs.io/en/v4.6.0/MIGRATING.html

Release notes:
- https://modules.readthedocs.io/en/v4.6.0/NEWS.html
- https://timeline.noticeable.io/cbzeG7wTvAIqj21zbUmx/posts/modules-4-6-0-released

PR:		249978
Submitted by:	Matthieu Volat <mazhe@alkumuna.eu>
2020-10-02 19:18:40 +00:00

35 lines
929 B
Makefile

# Created by: Hokan
# $FreeBSD$
PORTNAME= modules
PORTVERSION= 4.6.0
CATEGORIES= sysutils tcl
MASTER_SITES= https://github.com/cea-hpc/modules/releases/download/v${PORTVERSION}/
MAINTAINER= ports@FreeBSD.org
COMMENT= Dynamic modification of a user environment
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING.GPLv2
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sphinx>=0:textproc/py-sphinx@${PY_FLAVOR} \
bash:shells/bash
USES= gmake python:env shebangfix tar:bzip2 tcl
GNU_CONFIGURE= yes
GNU_CONFIGURE_PREFIX= ${PREFIX}/Modules
CONFIGURE_SHELL= ${LOCALBASE}/bin/bash
CONFIGURE_ARGS= --disable-compat-version \
--enable-versioning \
--with-python="${PYTHON_CMD}"
PLIST_SUB= MODULES_VERSION=${PORTVERSION}
post-extract:
${MV} ${WRKSRC}/doc/build/modulefile.4 ${WRKSRC}/doc/build/modulefile.5
post-install:
@${STRIP_CMD} ${STAGEDIR}${GNU_CONFIGURE_PREFIX}/${PORTVERSION}/lib/libtclenvmodules.so
.include <bsd.port.mk>