summaryrefslogtreecommitdiff
path: root/sysutils/modules/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/modules/Makefile')
-rw-r--r--sysutils/modules/Makefile26
1 files changed, 14 insertions, 12 deletions
diff --git a/sysutils/modules/Makefile b/sysutils/modules/Makefile
index 9d65671ba161..20102ec7c461 100644
--- a/sysutils/modules/Makefile
+++ b/sysutils/modules/Makefile
@@ -1,7 +1,7 @@
PORTNAME= modules
-DISTVERSION= 5.4.0
+DISTVERSION= 5.5.0
CATEGORIES= sysutils tcl
-MASTER_SITES= https://github.com/cea-hpc/modules/releases/download/v${PORTVERSION}/
+MASTER_SITES= https://github.com/cea-hpc/modules/releases/download/v${DISTVERSION}/
MAINTAINER= laurent.chardon@gmail.com
COMMENT= Dynamic modification of a user environment
@@ -12,16 +12,21 @@ LICENSE_FILE= ${WRKSRC}/COPYING.GPLv2
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sphinx>=0:textproc/py-sphinx@${PY_FLAVOR} \
bash:shells/bash
+TEST_DEPENDS= runtest:misc/dejagnu
-USES= gmake python:env shebangfix tar:bzip2 tcl
-GNU_CONFIGURE= yes
-GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
+USES= gmake python:env shebangfix tar:bzip2 tcl
+
+GNU_CONFIGURE= yes
GNU_CONFIGURE_PREFIX= ${PREFIX}/Modules
-CONFIGURE_SHELL= ${LOCALBASE}/bin/bash
-CONFIGURE_ARGS= --enable-versioning \
- --with-python="${PYTHON_CMD}"
+CONFIGURE_ARGS= --enable-versioning \
+ --with-python="${PYTHON_CMD}"
+
+TEST_TARGET= test
+
+PLIST_SUB= MODULES_VERSION=${DISTVERSION}
-PLIST_SUB= MODULES_VERSION=${PORTVERSION}
+post-install:
+ @${STRIP_CMD} ${STAGEDIR}${GNU_CONFIGURE_PREFIX}/${DISTVERSION}/lib/libtclenvmodules.so
post-stage:
${MKDIR} ${STAGEDIR}${PREFIX}/etc/profile.d
@@ -30,7 +35,4 @@ post-stage:
${RLN} ${STAGEDIR}${PREFIX}/Modules/${PORTVERSION}/init/profile.csh \
${STAGEDIR}${PREFIX}/etc/profile.d/module.csh
-post-install:
- @${STRIP_CMD} ${STAGEDIR}${GNU_CONFIGURE_PREFIX}/${PORTVERSION}/lib/libtclenvmodules.so
-
.include <bsd.port.mk>