1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # T2 SDE: package/*/jmf/jmf.conf
3 # Copyright (C) 2004 - 2021 The T2 SDE Project
5 # This Copyright note is generated by scripts/Create-CopyPatch,
6 # more information can be found in the files COPYING and README.
8 # This program is free software; you can redistribute it and/or modify
9 # it under the terms of the GNU General Public License version 2.
10 # --- T2-COPYRIGHT-NOTE-END ---
13 # Copy all bin files to the package bindir.
14 cp -v bin/* $root$bindir
16 # Copy all jar files to the package libdir.
17 cp -v lib/*.jar $root$libdir
19 # Copy all documentation to the package docdir.
20 ( cd doc; tar -c * | tar -x -C $root$docdir )
24 # prepare necessary environment variables.
25 cat <<-EOT > $root/etc/profile.d/jmf
26 PATH=\$PATH:$root/$prefix
27 CLASSPATH=\$CLASSPATH:$root$libdir/jmf.jar
32 hook_add inmake 5 jmf-install
33 hook_add postmake 5 jmf-profile