Date: Wed, 9 Mar 2005 16:27:28 -0600 (CST) From: Hokan <hokan@me.umn.edu> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/78649: New port: sysutils/modules Message-ID: <200503092227.j29MRSIR015382@floodwood.enet.umn.edu> Resent-Message-ID: <200503092230.j29MU2kf000610@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 78649 >Category: ports >Synopsis: New port: sysutils/modules >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Mar 09 22:30:02 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Hokan >Release: FreeBSD 5.3-RELEASE i386 >Organization: Enet at the University of Minnesota >Environment: System: FreeBSD floodwood.enet.umn.edu 5.3-RELEASE FreeBSD 5.3-RELEASE #1: Tue Mar 1 14:01:14 CST 2005 root@floodwood.enet.umn.edu:/usr/src/sys/i386/compile/FLOODWOOD i386 >Description: >How-To-Repeat: >Fix: --- xx.txt begins here --- # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # /usr/ports/sysutils/modules/ # /usr/ports/sysutils/modules/Makefile # /usr/ports/sysutils/modules/distinfo # /usr/ports/sysutils/modules/pkg-descr # /usr/ports/sysutils/modules/pkg-plist # /usr/ports/sysutils/modules/files # /usr/ports/sysutils/modules/files/patch-configure # /usr/ports/sysutils/modules/files/patch-doc::Makefile.in # /usr/ports/sysutils/modules/files/patch-doc::module.1.in # /usr/ports/sysutils/modules/files/patch-doc::modulefile.5.in # echo c - /usr/ports/sysutils/modules/ mkdir -p /usr/ports/sysutils/modules/ > /dev/null 2>&1 echo x - /usr/ports/sysutils/modules/Makefile sed 's/^X//' >/usr/ports/sysutils/modules/Makefile << 'END-of-/usr/ports/sysutils/modules/Makefile' X# New ports collection makefile for: modules X# Date created: 9 March 2005 X# Whom: Hokan X# X# $FreeBSD$ X# X XPORTNAME= modules XPORTVERSION= 3.1.6 XCATEGORIES= sysutils tcl84 XMASTER_SITES= ${MASTER_SITE_SOURCEFORGE} XMASTER_SITE_SUBDIR= ${PORTNAME} X XMAINTAINER= hokan@me.umn.edu XCOMMENT= Dynamic modification of a user's environment X XLIB_DEPENDS= tcl${TCL_VER}:${PORTSDIR}/lang/tcl${TCL_VER} X XPLIST_SUB= MODULES_VERSION=${PORTVERSION} X XBINDIR= ${PREFIX}/Modules X XTCL_DVER?= 8.4 XTCL_VER= ${TCL_DVER:S/.//} XHAS_CONFIGURE= yes X XCONFIGURE_ARGS= --prefix=${PREFIX}/Modules/@VERSION@ \ X --without-x \ X --with-version-path=${PREFIX}/Modules/versions \ X --mandir=${PREFIX}/man \ X --with-tcl-version=${TCL_VER} \ X --with-tcl-include=${LOCALBASE}/include/tcl${TCL_DVER} \ X --with-tcl-libraries=${LOCALBASE}/lib/ X XMAN1= module.1 XMAN5= modulefile.5 X Xpost-extract: X ${MV} ${WRKSRC}/doc/modulefile.4.in ${WRKSRC}/doc/modulefile.5.in X Xpre-install: X ${MKDIR} ${PREFIX}/Modules X X.include <bsd.port.mk> END-of-/usr/ports/sysutils/modules/Makefile echo x - /usr/ports/sysutils/modules/distinfo sed 's/^X//' >/usr/ports/sysutils/modules/distinfo << 'END-of-/usr/ports/sysutils/modules/distinfo' XMD5 (modules-3.1.6.tar.gz) = d86bce839c418e76c13d12c4bcdd0af3 XSIZE (modules-3.1.6.tar.gz) = 420885 END-of-/usr/ports/sysutils/modules/distinfo echo x - /usr/ports/sysutils/modules/pkg-descr sed 's/^X//' >/usr/ports/sysutils/modules/pkg-descr << 'END-of-/usr/ports/sysutils/modules/pkg-descr' XThe Environment Modules package provides for the dynamic modification Xof a user's environment via modulefiles. X XWWW: http://modules.sourceforge.net/ X X- Hokan Xhokan@me.umn.edu END-of-/usr/ports/sysutils/modules/pkg-descr echo x - /usr/ports/sysutils/modules/pkg-plist sed 's/^X//' >/usr/ports/sysutils/modules/pkg-plist << 'END-of-/usr/ports/sysutils/modules/pkg-plist' XModules/%%MODULES_VERSION%%/bin/add.modules XModules/%%MODULES_VERSION%%/bin/mkroot XModules/%%MODULES_VERSION%%/bin/modulecmd XModules/%%MODULES_VERSION%%/init/.modulespath XModules/%%MODULES_VERSION%%/init/bash XModules/%%MODULES_VERSION%%/init/csh XModules/%%MODULES_VERSION%%/init/ksh XModules/%%MODULES_VERSION%%/init/perl XModules/%%MODULES_VERSION%%/init/python XModules/%%MODULES_VERSION%%/init/sh XModules/%%MODULES_VERSION%%/init/tcsh XModules/%%MODULES_VERSION%%/init/zsh XModules/%%MODULES_VERSION%%/modulefiles/dot XModules/%%MODULES_VERSION%%/modulefiles/module-cvs XModules/%%MODULES_VERSION%%/modulefiles/module-info XModules/%%MODULES_VERSION%%/modulefiles/modules XModules/%%MODULES_VERSION%%/modulefiles/null XModules/%%MODULES_VERSION%%/modulefiles/use.own XModules/versions/%%MODULES_VERSION%% X@dirrm Modules/versions X@dirrm Modules/%%MODULES_VERSION%%/modulefiles X@dirrm Modules/%%MODULES_VERSION%%/init X@dirrm Modules/%%MODULES_VERSION%%/bin X@dirrm Modules/%%MODULES_VERSION%% X@dirrm Modules END-of-/usr/ports/sysutils/modules/pkg-plist echo c - /usr/ports/sysutils/modules/files mkdir -p /usr/ports/sysutils/modules/files > /dev/null 2>&1 echo x - /usr/ports/sysutils/modules/files/patch-configure sed 's/^X//' >/usr/ports/sysutils/modules/files/patch-configure << 'END-of-/usr/ports/sysutils/modules/files/patch-configure' X--- configure.orig Mon Nov 5 22:50:41 2001 X+++ configure Sun Nov 14 16:18:02 2004 X@@ -4105,7 +4105,7 @@ X trap 'rm -fr `echo "Makefile modules.lsm .spec doc/Makefile init/Makefile X init/bash init/csh init/ksh init/perl init/python init/sh init/tcsh X init/zsh init/.modulespath X- doc/module.1 doc/modulefile.4 X+ doc/module.1 doc/modulefile.5 X etc/Makefile etc/add.modules etc/mkroot X etc/skel/.cshrc etc/skel/.login X etc/skel/.kshenv etc/skel/.profile X@@ -4234,7 +4234,7 @@ X CONFIG_FILES=\${CONFIG_FILES-"Makefile modules.lsm .spec doc/Makefile init/Makefile X init/bash init/csh init/ksh init/perl init/python init/sh init/tcsh X init/zsh init/.modulespath X- doc/module.1 doc/modulefile.4 X+ doc/module.1 doc/modulefile.5 X etc/Makefile etc/add.modules etc/mkroot X etc/skel/.cshrc etc/skel/.login X etc/skel/.kshenv etc/skel/.profile Xdiff -urN sysutils/modules.orig/files/patch-configure sysutils/modules/files/patch-configure X--- sysutils/modules.orig/files/patch-configure Thu Jan 1 01:00:00 1970 X+++ sysutils/modules/files/patch-configure Sun Nov 14 16:18:24 2004 X@@ -0,0 +1,20 @@ X+--- configure.orig Mon Nov 5 22:50:41 2001 X++++ configure Sun Nov 14 16:18:02 2004 X+@@ -4105,7 +4105,7 @@ X+ trap 'rm -fr `echo "Makefile modules.lsm .spec doc/Makefile init/Makefile X+ init/bash init/csh init/ksh init/perl init/python init/sh init/tcsh X+ init/zsh init/.modulespath X+- doc/module.1 doc/modulefile.4 X++ doc/module.1 doc/modulefile.5 X+ etc/Makefile etc/add.modules etc/mkroot X+ etc/skel/.cshrc etc/skel/.login X+ etc/skel/.kshenv etc/skel/.profile X+@@ -4234,7 +4234,7 @@ X+ CONFIG_FILES=\${CONFIG_FILES-"Makefile modules.lsm .spec doc/Makefile init/Makefile X+ init/bash init/csh init/ksh init/perl init/python init/sh init/tcsh X+ init/zsh init/.modulespath X+- doc/module.1 doc/modulefile.4 X++ doc/module.1 doc/modulefile.5 X+ etc/Makefile etc/add.modules etc/mkroot X+ etc/skel/.cshrc etc/skel/.login X+ etc/skel/.kshenv etc/skel/.profile Xdiff -urN sysutils/modules.orig/files/patch-doc::Makefile.in sysutils/modules/files/patch-doc::Makefile.in X--- sysutils/modules.orig/files/patch-doc::Makefile.in Thu Jan 1 01:00:00 1970 X+++ sysutils/modules/files/patch-doc::Makefile.in Sun Nov 14 16:05:08 2004 X@@ -0,0 +1,36 @@ X+--- ./doc/Makefile.in.orig Wed Jun 28 02:17:33 2000 X++++ ./doc/Makefile.in Sun Nov 14 16:04:44 2004 X+@@ -26,21 +26,21 @@ X+ # Directory in which to install man pages X+ mandir = @mandir@ X+ man1dir = $(mandir)/man1 X+-man4dir = $(mandir)/man4 X++man5dir = $(mandir)/man5 X+ X+ SHELL = /bin/sh X+ X+ #### End of system configuration section. #### X+ X+-MAN_FILES= module.1 modulefile.4 X++MAN_FILES= module.1 modulefile.5 X+ X+-MAKEDIRS= $(man1dir) $(man4dir) X++MAKEDIRS= $(man1dir) $(man5dir) X+ X+ all: X+ X+ install: all install-dirs X+ $(INSTALL_DATA) module.1 $(man1dir) X+- $(INSTALL_DATA) modulefile.4 $(man4dir) X++ $(INSTALL_DATA) modulefile.5 $(man5dir) X+ X+ install-dirs: X+ @for i in $(MAKEDIRS) ; do \ X+@@ -63,6 +63,6 @@ X+ mostlyclean: clean X+ X+ distclean: clean X+- rm -f module.1 modulefile.4 X++ rm -f module.1 modulefile.5 X+ X+ realclean: distclean Xdiff -urN sysutils/modules.orig/files/patch-doc::module.1.in sysutils/modules/files/patch-doc::module.1.in X--- sysutils/modules.orig/files/patch-doc::module.1.in Thu Jan 1 01:00:00 1970 X+++ sysutils/modules/files/patch-doc::module.1.in Sun Nov 14 17:18:21 2004 X@@ -0,0 +1,17 @@ X+--- doc/module.1.in.orig Sat Jun 9 11:48:47 2001 X++++ doc/module.1.in Sun Nov 14 17:17:58 2004 X+@@ -114,7 +114,7 @@ X+ .LP X+ Upon invocation \fImodulecmd\fP sources rc files which contain global, user X+ and modulefile specific setups. These files are interpreted as modulefiles. X+-See \fBmodulefile(4)\fP for detailed information. X++See \fBmodulefile(5)\fP for detailed information. X+ .LP X+ Upon invocation of modulecmd module RC files are sourced in the following X+ order: X+@@ -466,4 +466,4 @@ X+ .B module update X+ sub-command. X+ .SH SEE ALSO X+-.BR modulefile(4) X++.BR modulefile(5) Xdiff -urN sysutils/modules.orig/files/patch-doc::modulefile.5.in sysutils/modules/files/patch-doc::modulefile.5.in X--- sysutils/modules.orig/files/patch-doc::modulefile.5.in Thu Jan 1 01:00:00 1970 X+++ sysutils/modules/files/patch-doc::modulefile.5.in Sun Nov 14 16:24:03 2004 X@@ -0,0 +1,17 @@ X+--- doc/modulefile.5.in.orig Fri Jan 4 05:59:16 2002 X++++ doc/modulefile.5.in Sun Nov 14 16:19:28 2004 X+@@ -1,4 +1,4 @@ X+-.TH MODULEFILE 4 "1 July 1994" X++.TH MODULEFILE 5 "1 July 1994" X+ .nh X+ .SH NAME X+ modulefile \- files containing Tcl code for The Modules package X+@@ -538,7 +538,7 @@ X+ .RE X+ .RS X+ .I a syslog facility X+-- directs logging to the syslog. See \fBsyslog.conf(4)\fP for detailed X++- directs logging to the syslog. See \fBsyslog.conf(5)\fP for detailed X+ description of the valid syslog facilities. X+ .RE X+ .RS END-of-/usr/ports/sysutils/modules/files/patch-configure echo x - /usr/ports/sysutils/modules/files/patch-doc::Makefile.in sed 's/^X//' >/usr/ports/sysutils/modules/files/patch-doc::Makefile.in << 'END-of-/usr/ports/sysutils/modules/files/patch-doc::Makefile.in' X--- ./doc/Makefile.in.orig Wed Jun 28 02:17:33 2000 X+++ ./doc/Makefile.in Sun Nov 14 16:04:44 2004 X@@ -26,21 +26,21 @@ X # Directory in which to install man pages X mandir = @mandir@ X man1dir = $(mandir)/man1 X-man4dir = $(mandir)/man4 X+man5dir = $(mandir)/man5 X X SHELL = /bin/sh X X #### End of system configuration section. #### X X-MAN_FILES= module.1 modulefile.4 X+MAN_FILES= module.1 modulefile.5 X X-MAKEDIRS= $(man1dir) $(man4dir) X+MAKEDIRS= $(man1dir) $(man5dir) X X all: X X install: all install-dirs X $(INSTALL_DATA) module.1 $(man1dir) X- $(INSTALL_DATA) modulefile.4 $(man4dir) X+ $(INSTALL_DATA) modulefile.5 $(man5dir) X X install-dirs: X @for i in $(MAKEDIRS) ; do \ X@@ -63,6 +63,6 @@ X mostlyclean: clean X X distclean: clean X- rm -f module.1 modulefile.4 X+ rm -f module.1 modulefile.5 X X realclean: distclean END-of-/usr/ports/sysutils/modules/files/patch-doc::Makefile.in echo x - /usr/ports/sysutils/modules/files/patch-doc::module.1.in sed 's/^X//' >/usr/ports/sysutils/modules/files/patch-doc::module.1.in << 'END-of-/usr/ports/sysutils/modules/files/patch-doc::module.1.in' X--- doc/module.1.in.orig Sat Jun 9 11:48:47 2001 X+++ doc/module.1.in Sun Nov 14 17:17:58 2004 X@@ -114,7 +114,7 @@ X .LP X Upon invocation \fImodulecmd\fP sources rc files which contain global, user X and modulefile specific setups. These files are interpreted as modulefiles. X-See \fBmodulefile(4)\fP for detailed information. X+See \fBmodulefile(5)\fP for detailed information. X .LP X Upon invocation of modulecmd module RC files are sourced in the following X order: X@@ -466,4 +466,4 @@ X .B module update X sub-command. X .SH SEE ALSO X-.BR modulefile(4) X+.BR modulefile(5) END-of-/usr/ports/sysutils/modules/files/patch-doc::module.1.in echo x - /usr/ports/sysutils/modules/files/patch-doc::modulefile.5.in sed 's/^X//' >/usr/ports/sysutils/modules/files/patch-doc::modulefile.5.in << 'END-of-/usr/ports/sysutils/modules/files/patch-doc::modulefile.5.in' X--- doc/modulefile.5.in.orig Fri Jan 4 05:59:16 2002 X+++ doc/modulefile.5.in Sun Nov 14 16:19:28 2004 X@@ -1,4 +1,4 @@ X-.TH MODULEFILE 4 "1 July 1994" X+.TH MODULEFILE 5 "1 July 1994" X .nh X .SH NAME X modulefile \- files containing Tcl code for The Modules package X@@ -538,7 +538,7 @@ X .RE X .RS X .I a syslog facility X-- directs logging to the syslog. See \fBsyslog.conf(4)\fP for detailed X+- directs logging to the syslog. See \fBsyslog.conf(5)\fP for detailed X description of the valid syslog facilities. X .RE X .RS END-of-/usr/ports/sysutils/modules/files/patch-doc::modulefile.5.in exit --- xx.txt ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200503092227.j29MRSIR015382>