mirror of
https://git.freebsd.org/ports.git
synced 2025-06-17 02:30:44 -04:00
The Ini file manager consists of a package, Config, which can read or write informations from various configuration files known as "ini" files because they have often the ".ini" extension. They are text files which look like the following: ; Comment line [Section 1] a_string = abcd # a comment here... a_number = +123.456 ; another comment [Section 2] a_string = efgh For more examples in this format, just search files with the .ini extension on a windows-based computer. WWW: http://sourceforge.net/projects/ini-files/
17 lines
469 B
Bash
17 lines
469 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 test_config.adb"
|
|
echo "The executable example is located in /tmp/test_config"
|
|
echo "It requires no options; just run it"
|
|
echo 'You may want to execute "rm /tmp/test_config*" when you are done.'
|