SET(CPACK_POSTFLIGHT_SCRIPT &quot;/installed/script/here.sh&quot;)<div><br></div><div>should do what you want...</div><div><br></div><div>&quot;grep -rn POSTFLIGHT_SCRIPT *&quot; in the CMake source tree for more info/example use...</div>
<div><br><br></div><div>HTH,</div><div>David</div><div><br></div><div><br><div class="gmail_quote">On Sat, Nov 21, 2009 at 7:37 AM, Gustavo Gutierrez <span dir="ltr">&lt;<a href="mailto:gustavo.ggutierrez@gmail.com">gustavo.ggutierrez@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hello,<br><br>Is it possible to create a mac os x package (with the PackageMaker generator) that runs a post install script?. I am looking for the same functionality you get in debian when using:<br>
<br>set(CPACK_DEBIAN_PACKAGE_CONTROL_EXTRA &quot;${CMAKE_BINARY_DIR}/postinst&quot;) <br clear="all">
<br><br>Thanks in advance for any suggeston,<br>-- <br><font color="#888888">Gustavo<br>
</font><br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the CMake FAQ at: <a href="http://www.cmake.org/Wiki/CMake_FAQ" target="_blank">http://www.cmake.org/Wiki/CMake_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/listinfo/cmake</a><br></blockquote></div><br></div>