mirror of
https://git.freebsd.org/ports.git
synced 2025-06-02 03:16:28 -04:00
17 lines
473 B
Bash
17 lines
473 B
Bash
#!/bin/sh
|
|
|
|
# This script will:
|
|
# 1) Build the example executable in /tmp
|
|
# 2) Tell the user how to execute it
|
|
|
|
GNATMAKE=@PREFIX@/gcc-aux/bin/gnatmake
|
|
ADA_PROJECT_PATH=@PREFIX@/lib/gnat
|
|
export ADA_PROJECT_PATH
|
|
|
|
${GNATMAKE} -P example
|
|
|
|
echo
|
|
echo "The source for the example is excel_out_demo.adb"
|
|
echo "The executable example is located in /tmp/excel_out_demo"
|
|
echo "It requires no options; just run it"
|
|
echo 'You may want to execute "rm /tmp/excel_out*" when you are done.'
|