<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hey,<div class=""><br class=""></div><div class="">I have a portfile that works with no error. However, I need to add a script to bin directory.&nbsp;</div><div class=""><br class=""></div><div class="">The portfile is here:</div><div class=""><a href="https://trac.macports.org/attachment/ticket/51169/Portfile.4" class="">https://trac.macports.org/attachment/ticket/51169/Portfile.4</a></div><div class=""><br class=""></div><div class="">The jar file will be in&nbsp;<br class=""><div class="">
${prefix}/share/doc/${name}/lib</div><div class=""><br class=""></div><div class="">In fact, the regular download process is to get the jar file and save anywhere. Then, we get the path of the jar file and update it in civl script. Here is the civl script:</div><div class=""><br class=""></div><div class="">#!/bin/sh</div><div class="">java -jar -Duser.home=$HOME -Djava.io.tmpdir=$TMPDIR /Users/Abdulrahman/Desktop/CIVL/lib/civl-1.6_2872.jar $@</div><div class=""><br class=""></div><div class="">The script then will be in Bin directory, or any place in $PATH.&nbsp;</div><div class="">&nbsp;</div><div class="">If I did this, the civl will work.&nbsp;</div><div class="">Please let me know if you have a suggestion how to do this,</div><div class=""><br class=""></div><div class="">-Abdul<br class="">---------------------------------------------------------------------------------------------------------------<br class=""><br class="">Note: It might appear my name as&nbsp;"Ziad Ali" instaed of&nbsp;"Abdulrahman Alshammari".&nbsp;<br class="">This is an issue that I am trying to&nbsp;fix.

</div>
<br class=""></div></body></html>