Codebase list iraf-mscred / bf156a3
Import upstream version 5.05+2018.07.09+git20190522.1.153d38c Debian Janitor 2 years ago
3 changed file(s) with 26 addition(s) and 26 deletion(s). Raw diff Collapse all Expand all
100100 To define the package you need to an IRAF logical path to the mscred
101101 directory and a "task" declaration. As noted above, this is often done
102102 in the $iraf/unix/hlib/extern.pkg file but it can also be done in your
103 irafuser.csh file or even interactively. The statements you need are
103 irafuser.sh file or even interactively. The statements you need are
104104 something like:
105105
106106 reset mscred = /local/mscred/
143143
144144 If you will be compiling the package, as opposed to installing a binary
145145 distribution, then you need to define various environment variables.
146 The following is for Unix/csh which is the main supported environment.
146 The following is for Unix which is the main supported environment.
147147
148 % setenv iraf /iraf/iraf/ # Path to IRAF root (example)
149 % source $iraf/unix/hlib/irafuser.csh # Define rest of environment
150 % setenv IRAFARCH redhat # IRAF architecture
151 % setenv mscred <path>/ # Path to package
148 % export iraf=/iraf/iraf/ # Path to IRAF root (example)
149 % source $iraf/unix/hlib/irafuser.sh # Define rest of environment
150 % export IRAFARCH=linux64 # IRAF architecture
151 % export mscred=<path>/ # Path to package
152152
153153 where you need to supply the appropriate path to the IRAF installation
154154 root in the first step and the IRAF architecture identifier for your
110110 To define the package you need to an IRAF logical path to the mscred
111111 directory and a "task" declaration. As noted above, this is often
112112 done in the $iraf/unix/hlib/extern.pkg file but it can also be done
113 in your irafuser.csh file or even interactively. The statements you
113 in your irafuser.sh file or even interactively. The statements you
114114 need are something like:
115115
116116 .nf
158158
159159 If you will be compiling the package, as opposed to installing a binary
160160 distribution, then you need to define various environment variables.
161 The following is for Unix/csh which is the main supported environment.
162
163 .nf
164 % setenv iraf /iraf/iraf/ # Path to IRAF root (example)
165 % source $iraf/unix/hlib/irafuser.csh # Define rest of environment
166 % setenv IRAFARCH redhat # IRAF architecture
167 % setenv mscred <path>/ # Path to package
161 The following is for Unix which is the main supported environment.
162
163 .nf
164 % export iraf=/iraf/iraf/ # Path to IRAF root (example)
165 % source $iraf/unix/hlib/irafuser.sh # Define rest of environment
166 % export IRAFARCH=redhat # IRAF architecture
167 % export mscred=<path>/ # Path to package
168168 .fi
169169
170170 where you need to supply the appropriate path to the IRAF installation root
+12
-12
mkpkg less more
4242 arch: # show current float option
4343 showfloat:
4444 $verbose off
45 !$(hlib)/mkfloat.csh
45 !$(hlib)/mkfloat
4646 ;
4747 generic: # generic installation (no bin)
4848 $ifnfile (bin.generic)
5050 $endif
5151 $verbose off
5252 $set DIRS = "lib src"
53 !$(hlib)/mkfloat.csh generic -d $(DIRS)
53 !$(hlib)/mkfloat generic -d $(DIRS)
5454 ;
5555
5656 freebsd: # install FreeBSD binaries
5959 $endif
6060 $verbose off
6161 $set DIRS = "lib src"
62 !$(hlib)/mkfloat.csh freebsd -d $(DIRS)
62 !$(hlib)/mkfloat freebsd -d $(DIRS)
6363 ;
6464 linux: # install Linux 32-bit binaries
6565 $ifnfile (bin.linux)
6767 $endif
6868 $verbose off
6969 $set DIRS = "lib src"
70 !$(hlib)/mkfloat.csh linux -d $(DIRS)
70 !$(hlib)/mkfloat linux -d $(DIRS)
7171 ;
7272 linux64: # install Linux 64-bit binaries
7373 $ifnfile (bin.linux64)
7575 $endif
7676 $verbose off
7777 $set DIRS = "lib src"
78 !$(hlib)/mkfloat.csh linux64 -d $(DIRS)
78 !$(hlib)/mkfloat linux64 -d $(DIRS)
7979 ;
8080 macosx: # install Mac OS X (PPC) binaries
8181 $ifnfile (bin.macosx)
8383 $endif
8484 $verbose off
8585 $set DIRS = "lib src"
86 !$(hlib)/mkfloat.csh macosx -d $(DIRS)
86 !$(hlib)/mkfloat macosx -d $(DIRS)
8787 ;
8888 macintel: # install Mac OS X (Intel) binaries
8989 $ifnfile (bin.macintel)
9191 $endif
9292 $verbose off
9393 $set DIRS = "lib src"
94 !$(hlib)/mkfloat.csh macintel -d $(DIRS)
94 !$(hlib)/mkfloat macintel -d $(DIRS)
9595 ;
9696 cygwin: # install Cygwin binaries
9797 $ifnfile (bin.macintel)
9999 $endif
100100 $verbose off
101101 $set DIRS = "lib src"
102 !$(hlib)/mkfloat.csh macintel -d $(DIRS)
102 !$(hlib)/mkfloat macintel -d $(DIRS)
103103 ;
104104 redhat: # install Redhat Linux binaries
105105 $ifnfile (bin.redhat)
107107 $endif
108108 $verbose off
109109 $set DIRS = "lib src"
110 !$(hlib)/mkfloat.csh redhat -d $(DIRS)
110 !$(hlib)/mkfloat redhat -d $(DIRS)
111111 ;
112112 sparc: # install sparc binaries
113113 $ifnfile (bin.sparc)
115115 $endif
116116 $verbose off
117117 $set DIRS = "lib src"
118 !$(hlib)/mkfloat.csh sparc -d $(DIRS)
118 !$(hlib)/mkfloat sparc -d $(DIRS)
119119 ;
120120 ssun: # install Sun/Solaris binaries
121121 $ifnfile (bin.ssun)
123123 $endif
124124 $verbose off
125125 $set DIRS = "lib src"
126 !$(hlib)/mkfloat.csh ssun -d $(DIRS)
126 !$(hlib)/mkfloat ssun -d $(DIRS)
127127 ;
128128 sunos: # install SunOS (Solaris x86) binaries
129129 $ifnfile (bin.sunos)
131131 $endif
132132 $verbose off
133133 $set DIRS = "lib src"
134 !$(hlib)/mkfloat.csh sunos -d $(DIRS)
134 !$(hlib)/mkfloat sunos -d $(DIRS)
135135 ;
136136 noP2R:
137137 !find . -type f -name '*[xh]' -exec grep -q P2R {} \; -exec sed -i -e 's+P2R++g' {} \;