<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="">Originally, after unzip the file, the user write java -jar file.jar in terminal to install the software, then the user can use it. I think the first choice fit very well. What do you think?<br class=""><div class="">
<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><blockquote type="cite" class=""><div class="">On Apr 22, 2016, at 10:36 PM, Ryan Schmidt &lt;<a href="mailto:ryandesign@macports.org" class="">ryandesign@macports.org</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><div class=""><br class="">On Apr 22, 2016, at 3:46 PM, Abdulrahman Alshammari wrote:<br class=""><br class=""><blockquote type="cite" class="">The original installation of the software that I am trying to make a port for, is using the command line: <br class="">Java -jar filename.jar <br class=""><br class="">Is there a port of software that used to use the same way of installation before the port build. In other words, I want to compare the portfile I have with similar portfiles so I can learn from them.<br class=""></blockquote><br class="">Do you mean that you need to run "java -jar filename.jar" to build/install the software? If so, you could write something like:<br class=""><br class="">build {<br class=""> &nbsp;&nbsp;&nbsp;system -C ${worksrcpath} "java -jar filename.jar"<br class="">}<br class=""><br class="">Or did you mean that the user will run "java -jar filename.jar" to run the software after it is installed? An example of this kind of port is antlr3 but there are several others.<br class=""><br class=""></div></div></blockquote></div><br class=""></div></body></html>