forked from ilpincy/argos3
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added support for MacOSX PackageMaker. Now ARGoS can be installed als…
…o on Mac.
- Loading branch information
Carlo Pinciroli
committed
Mar 27, 2013
1 parent
b79181c
commit b4ce002
Showing
8 changed files
with
74 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#!/bin/bash | ||
|
||
# Add path to ARGoS3 libraries to the DYLD_LIBRARY_PATH env variable. | ||
if [ -n "${DYLD_LIBRARY_PATH}" ]; then | ||
DYLD_LIBRARY_PATH=${DYLD_LIBRARY_PATH}:@CMAKE_INSTALL_PREFIX@/lib/argos3 | ||
else | ||
DYLD_LIBRARY_PATH=@CMAKE_INSTALL_PREFIX@/lib/argos3 | ||
fi | ||
export DYLD_LIBRARY_PATH | ||
|
||
# Execute argos3 with bash-internal command 'exec', which | ||
# replaces the script with the argos3 executable. In this | ||
# way, there is only one PID and the return value is handled | ||
# correctly. | ||
exec @CMAKE_INSTALL_PREFIX@/libexec/argos3 "$@" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
#!/bin/bash | ||
|
||
echo '=====================' | ||
echo '= ARGoS Uninstaller =' | ||
echo '=====================' | ||
echo | ||
echo 'To complete this operation, you will need administrative privileges.' | ||
echo | ||
read -p 'Press CTRL-C to exit, or any other key to proceed...' | ||
echo | ||
echo -n 'Uninstalling ARGoS3... ' | ||
sudo rm -rf @CMAKE_INSTALL_PREFIX@/bin/argos3 | ||
sudo rm -rf @CMAKE_INSTALL_PREFIX@/doc/argos3 | ||
sudo rm -rf @CMAKE_INSTALL_PREFIX@/include/argos3 | ||
sudo rm -rf @CMAKE_INSTALL_PREFIX@/lib/argos3 | ||
sudo rm -rf @CMAKE_INSTALL_PREFIX@/lib/pkgconfig/argos3_@[email protected] | ||
sudo rm -rf @CMAKE_INSTALL_PREFIX@/libexec/argos3 | ||
sudo rm -rf @CMAKE_INSTALL_PREFIX@/man/man1/argos3.1.gz | ||
sudo rm -rf @CMAKE_INSTALL_PREFIX@/share/argos3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters