summaryrefslogtreecommitdiffstats
path: root/sysutils/modules
diff options
context:
space:
mode:
authorahze <ahze@FreeBSD.org>2005-03-11 09:33:12 +0000
committerahze <ahze@FreeBSD.org>2005-03-11 09:33:12 +0000
commita7f0d9339058831e3c6546c3a8a9156b02e03ce7 (patch)
tree414adce18db165c299189d5d192401a26cac072b /sysutils/modules
parentb129a31ba69e50f84fb044baa6337aada182920e (diff)
downloadFreeBSD-ports-a7f0d9339058831e3c6546c3a8a9156b02e03ce7.zip
FreeBSD-ports-a7f0d9339058831e3c6546c3a8a9156b02e03ce7.tar.gz
Add modules 3.1.6, dynamic modification of a user's environment.
PR: ports/78649 Submitted by: Hokan
Diffstat (limited to 'sysutils/modules')
-rw-r--r--sysutils/modules/Makefile44
-rw-r--r--sysutils/modules/distinfo2
-rw-r--r--sysutils/modules/files/patch-configure126
-rw-r--r--sysutils/modules/files/patch-doc::Makefile.in36
-rw-r--r--sysutils/modules/files/patch-doc::module.1.in17
-rw-r--r--sysutils/modules/files/patch-doc::modulefile.5.in17
-rw-r--r--sysutils/modules/pkg-descr7
-rw-r--r--sysutils/modules/pkg-plist25
8 files changed, 274 insertions, 0 deletions
diff --git a/sysutils/modules/Makefile b/sysutils/modules/Makefile
new file mode 100644
index 0000000..72932c8
--- /dev/null
+++ b/sysutils/modules/Makefile
@@ -0,0 +1,44 @@
+# New ports collection makefile for: modules
+# Date created: 9 March 2005
+# Whom: Hokan
+#
+# $FreeBSD$
+#
+
+PORTNAME= modules
+PORTVERSION= 3.1.6
+CATEGORIES= sysutils tcl84
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= ${PORTNAME}
+
+MAINTAINER= hokan@me.umn.edu
+COMMENT= Dynamic modification of a user's environment
+
+LIB_DEPENDS= tcl${TCL_VER}:${PORTSDIR}/lang/tcl${TCL_VER}
+
+PLIST_SUB= MODULES_VERSION=${PORTVERSION}
+
+BINDIR= ${PREFIX}/Modules
+
+TCL_DVER?= 8.4
+TCL_VER= ${TCL_DVER:S/.//}
+HAS_CONFIGURE= yes
+
+CONFIGURE_ARGS= --prefix=${PREFIX}/Modules/@VERSION@ \
+ --without-x \
+ --with-version-path=${PREFIX}/Modules/versions \
+ --mandir=${PREFIX}/man \
+ --with-tcl-version=${TCL_VER} \
+ --with-tcl-include=${LOCALBASE}/include/tcl${TCL_DVER} \
+ --with-tcl-libraries=${LOCALBASE}/lib/
+
+MAN1= module.1
+MAN5= modulefile.5
+
+post-extract:
+ ${MV} ${WRKSRC}/doc/modulefile.4.in ${WRKSRC}/doc/modulefile.5.in
+
+pre-install:
+ ${MKDIR} ${PREFIX}/Modules
+
+.include <bsd.port.mk>
diff --git a/sysutils/modules/distinfo b/sysutils/modules/distinfo
new file mode 100644
index 0000000..a0bd1b2
--- /dev/null
+++ b/sysutils/modules/distinfo
@@ -0,0 +1,2 @@
+MD5 (modules-3.1.6.tar.gz) = d86bce839c418e76c13d12c4bcdd0af3
+SIZE (modules-3.1.6.tar.gz) = 420885
diff --git a/sysutils/modules/files/patch-configure b/sysutils/modules/files/patch-configure
new file mode 100644
index 0000000..5ffb6ec
--- /dev/null
+++ b/sysutils/modules/files/patch-configure
@@ -0,0 +1,126 @@
+--- configure.orig Mon Nov 5 22:50:41 2001
++++ configure Sun Nov 14 16:18:02 2004
+@@ -4105,7 +4105,7 @@
+ trap 'rm -fr `echo "Makefile modules.lsm .spec doc/Makefile init/Makefile
+ init/bash init/csh init/ksh init/perl init/python init/sh init/tcsh
+ init/zsh init/.modulespath
+- doc/module.1 doc/modulefile.4
++ doc/module.1 doc/modulefile.5
+ etc/Makefile etc/add.modules etc/mkroot
+ etc/skel/.cshrc etc/skel/.login
+ etc/skel/.kshenv etc/skel/.profile
+@@ -4234,7 +4234,7 @@
+ CONFIG_FILES=\${CONFIG_FILES-"Makefile modules.lsm .spec doc/Makefile init/Makefile
+ init/bash init/csh init/ksh init/perl init/python init/sh init/tcsh
+ init/zsh init/.modulespath
+- doc/module.1 doc/modulefile.4
++ doc/module.1 doc/modulefile.5
+ etc/Makefile etc/add.modules etc/mkroot
+ etc/skel/.cshrc etc/skel/.login
+ etc/skel/.kshenv etc/skel/.profile
+diff -urN sysutils/modules.orig/files/patch-configure sysutils/modules/files/patch-configure
+--- sysutils/modules.orig/files/patch-configure Thu Jan 1 01:00:00 1970
++++ sysutils/modules/files/patch-configure Sun Nov 14 16:18:24 2004
+@@ -0,0 +1,20 @@
++--- configure.orig Mon Nov 5 22:50:41 2001
+++++ configure Sun Nov 14 16:18:02 2004
++@@ -4105,7 +4105,7 @@
++ trap 'rm -fr `echo "Makefile modules.lsm .spec doc/Makefile init/Makefile
++ init/bash init/csh init/ksh init/perl init/python init/sh init/tcsh
++ init/zsh init/.modulespath
++- doc/module.1 doc/modulefile.4
+++ doc/module.1 doc/modulefile.5
++ etc/Makefile etc/add.modules etc/mkroot
++ etc/skel/.cshrc etc/skel/.login
++ etc/skel/.kshenv etc/skel/.profile
++@@ -4234,7 +4234,7 @@
++ CONFIG_FILES=\${CONFIG_FILES-"Makefile modules.lsm .spec doc/Makefile init/Makefile
++ init/bash init/csh init/ksh init/perl init/python init/sh init/tcsh
++ init/zsh init/.modulespath
++- doc/module.1 doc/modulefile.4
+++ doc/module.1 doc/modulefile.5
++ etc/Makefile etc/add.modules etc/mkroot
++ etc/skel/.cshrc etc/skel/.login
++ etc/skel/.kshenv etc/skel/.profile
+diff -urN sysutils/modules.orig/files/patch-doc::Makefile.in sysutils/modules/files/patch-doc::Makefile.in
+--- sysutils/modules.orig/files/patch-doc::Makefile.in Thu Jan 1 01:00:00 1970
++++ sysutils/modules/files/patch-doc::Makefile.in Sun Nov 14 16:05:08 2004
+@@ -0,0 +1,36 @@
++--- ./doc/Makefile.in.orig Wed Jun 28 02:17:33 2000
+++++ ./doc/Makefile.in Sun Nov 14 16:04:44 2004
++@@ -26,21 +26,21 @@
++ # Directory in which to install man pages
++ mandir = @mandir@
++ man1dir = $(mandir)/man1
++-man4dir = $(mandir)/man4
+++man5dir = $(mandir)/man5
++
++ SHELL = /bin/sh
++
++ #### End of system configuration section. ####
++
++-MAN_FILES= module.1 modulefile.4
+++MAN_FILES= module.1 modulefile.5
++
++-MAKEDIRS= $(man1dir) $(man4dir)
+++MAKEDIRS= $(man1dir) $(man5dir)
++
++ all:
++
++ install: all install-dirs
++ $(INSTALL_DATA) module.1 $(man1dir)
++- $(INSTALL_DATA) modulefile.4 $(man4dir)
+++ $(INSTALL_DATA) modulefile.5 $(man5dir)
++
++ install-dirs:
++ @for i in $(MAKEDIRS) ; do \
++@@ -63,6 +63,6 @@
++ mostlyclean: clean
++
++ distclean: clean
++- rm -f module.1 modulefile.4
+++ rm -f module.1 modulefile.5
++
++ realclean: distclean
+diff -urN sysutils/modules.orig/files/patch-doc::module.1.in sysutils/modules/files/patch-doc::module.1.in
+--- sysutils/modules.orig/files/patch-doc::module.1.in Thu Jan 1 01:00:00 1970
++++ sysutils/modules/files/patch-doc::module.1.in Sun Nov 14 17:18:21 2004
+@@ -0,0 +1,17 @@
++--- doc/module.1.in.orig Sat Jun 9 11:48:47 2001
+++++ doc/module.1.in Sun Nov 14 17:17:58 2004
++@@ -114,7 +114,7 @@
++ .LP
++ Upon invocation \fImodulecmd\fP sources rc files which contain global, user
++ and modulefile specific setups. These files are interpreted as modulefiles.
++-See \fBmodulefile(4)\fP for detailed information.
+++See \fBmodulefile(5)\fP for detailed information.
++ .LP
++ Upon invocation of modulecmd module RC files are sourced in the following
++ order:
++@@ -466,4 +466,4 @@
++ .B module update
++ sub-command.
++ .SH SEE ALSO
++-.BR modulefile(4)
+++.BR modulefile(5)
+diff -urN sysutils/modules.orig/files/patch-doc::modulefile.5.in sysutils/modules/files/patch-doc::modulefile.5.in
+--- sysutils/modules.orig/files/patch-doc::modulefile.5.in Thu Jan 1 01:00:00 1970
++++ sysutils/modules/files/patch-doc::modulefile.5.in Sun Nov 14 16:24:03 2004
+@@ -0,0 +1,17 @@
++--- doc/modulefile.5.in.orig Fri Jan 4 05:59:16 2002
+++++ doc/modulefile.5.in Sun Nov 14 16:19:28 2004
++@@ -1,4 +1,4 @@
++-.TH MODULEFILE 4 "1 July 1994"
+++.TH MODULEFILE 5 "1 July 1994"
++ .nh
++ .SH NAME
++ modulefile \- files containing Tcl code for The Modules package
++@@ -538,7 +538,7 @@
++ .RE
++ .RS
++ .I a syslog facility
++-- directs logging to the syslog. See \fBsyslog.conf(4)\fP for detailed
+++- directs logging to the syslog. See \fBsyslog.conf(5)\fP for detailed
++ description of the valid syslog facilities.
++ .RE
++ .RS
diff --git a/sysutils/modules/files/patch-doc::Makefile.in b/sysutils/modules/files/patch-doc::Makefile.in
new file mode 100644
index 0000000..2a0bd5b
--- /dev/null
+++ b/sysutils/modules/files/patch-doc::Makefile.in
@@ -0,0 +1,36 @@
+--- ./doc/Makefile.in.orig Wed Jun 28 02:17:33 2000
++++ ./doc/Makefile.in Sun Nov 14 16:04:44 2004
+@@ -26,21 +26,21 @@
+ # Directory in which to install man pages
+ mandir = @mandir@
+ man1dir = $(mandir)/man1
+-man4dir = $(mandir)/man4
++man5dir = $(mandir)/man5
+
+ SHELL = /bin/sh
+
+ #### End of system configuration section. ####
+
+-MAN_FILES= module.1 modulefile.4
++MAN_FILES= module.1 modulefile.5
+
+-MAKEDIRS= $(man1dir) $(man4dir)
++MAKEDIRS= $(man1dir) $(man5dir)
+
+ all:
+
+ install: all install-dirs
+ $(INSTALL_DATA) module.1 $(man1dir)
+- $(INSTALL_DATA) modulefile.4 $(man4dir)
++ $(INSTALL_DATA) modulefile.5 $(man5dir)
+
+ install-dirs:
+ @for i in $(MAKEDIRS) ; do \
+@@ -63,6 +63,6 @@
+ mostlyclean: clean
+
+ distclean: clean
+- rm -f module.1 modulefile.4
++ rm -f module.1 modulefile.5
+
+ realclean: distclean
diff --git a/sysutils/modules/files/patch-doc::module.1.in b/sysutils/modules/files/patch-doc::module.1.in
new file mode 100644
index 0000000..198a0e3
--- /dev/null
+++ b/sysutils/modules/files/patch-doc::module.1.in
@@ -0,0 +1,17 @@
+--- doc/module.1.in.orig Sat Jun 9 11:48:47 2001
++++ doc/module.1.in Sun Nov 14 17:17:58 2004
+@@ -114,7 +114,7 @@
+ .LP
+ Upon invocation \fImodulecmd\fP sources rc files which contain global, user
+ and modulefile specific setups. These files are interpreted as modulefiles.
+-See \fBmodulefile(4)\fP for detailed information.
++See \fBmodulefile(5)\fP for detailed information.
+ .LP
+ Upon invocation of modulecmd module RC files are sourced in the following
+ order:
+@@ -466,4 +466,4 @@
+ .B module update
+ sub-command.
+ .SH SEE ALSO
+-.BR modulefile(4)
++.BR modulefile(5)
diff --git a/sysutils/modules/files/patch-doc::modulefile.5.in b/sysutils/modules/files/patch-doc::modulefile.5.in
new file mode 100644
index 0000000..885afd4
--- /dev/null
+++ b/sysutils/modules/files/patch-doc::modulefile.5.in
@@ -0,0 +1,17 @@
+--- doc/modulefile.5.in.orig Fri Jan 4 05:59:16 2002
++++ doc/modulefile.5.in Sun Nov 14 16:19:28 2004
+@@ -1,4 +1,4 @@
+-.TH MODULEFILE 4 "1 July 1994"
++.TH MODULEFILE 5 "1 July 1994"
+ .nh
+ .SH NAME
+ modulefile \- files containing Tcl code for The Modules package
+@@ -538,7 +538,7 @@
+ .RE
+ .RS
+ .I a syslog facility
+-- directs logging to the syslog. See \fBsyslog.conf(4)\fP for detailed
++- directs logging to the syslog. See \fBsyslog.conf(5)\fP for detailed
+ description of the valid syslog facilities.
+ .RE
+ .RS
diff --git a/sysutils/modules/pkg-descr b/sysutils/modules/pkg-descr
new file mode 100644
index 0000000..69b96e7
--- /dev/null
+++ b/sysutils/modules/pkg-descr
@@ -0,0 +1,7 @@
+The Environment Modules package provides for the dynamic modification
+of a user's environment via modulefiles.
+
+WWW: http://modules.sourceforge.net/
+
+- Hokan
+hokan@me.umn.edu
diff --git a/sysutils/modules/pkg-plist b/sysutils/modules/pkg-plist
new file mode 100644
index 0000000..bd786c6
--- /dev/null
+++ b/sysutils/modules/pkg-plist
@@ -0,0 +1,25 @@
+Modules/%%MODULES_VERSION%%/bin/add.modules
+Modules/%%MODULES_VERSION%%/bin/mkroot
+Modules/%%MODULES_VERSION%%/bin/modulecmd
+Modules/%%MODULES_VERSION%%/init/.modulespath
+Modules/%%MODULES_VERSION%%/init/bash
+Modules/%%MODULES_VERSION%%/init/csh
+Modules/%%MODULES_VERSION%%/init/ksh
+Modules/%%MODULES_VERSION%%/init/perl
+Modules/%%MODULES_VERSION%%/init/python
+Modules/%%MODULES_VERSION%%/init/sh
+Modules/%%MODULES_VERSION%%/init/tcsh
+Modules/%%MODULES_VERSION%%/init/zsh
+Modules/%%MODULES_VERSION%%/modulefiles/dot
+Modules/%%MODULES_VERSION%%/modulefiles/module-cvs
+Modules/%%MODULES_VERSION%%/modulefiles/module-info
+Modules/%%MODULES_VERSION%%/modulefiles/modules
+Modules/%%MODULES_VERSION%%/modulefiles/null
+Modules/%%MODULES_VERSION%%/modulefiles/use.own
+Modules/versions/%%MODULES_VERSION%%
+@dirrm Modules/versions
+@dirrm Modules/%%MODULES_VERSION%%/modulefiles
+@dirrm Modules/%%MODULES_VERSION%%/init
+@dirrm Modules/%%MODULES_VERSION%%/bin
+@dirrm Modules/%%MODULES_VERSION%%
+@dirrm Modules
OpenPOWER on IntegriCloud