Writing a portfile

Bradley Giesbrecht brad at pixilla.com
Tue Apr 6 13:00:24 PDT 2010

On Apr 6, 2010, at 10:31 AM, Michael_google gmail_Gersten wrote:

>>>> Unfortunately nobody has made a port for it yet, so for now you  
>>>> have to
>>>> get it from the repository:
>>> Alright, where is the "Howto: for dummies" document on how to  
>>> write a
>>> port for someone that has never written a port before?
>> It's probably easiest to find a simple port whose source files are
>> downloaded in a similar manner and modify it to suit your needs.
>> What port are you wanting to create?
> Port-rdeps

So you are creating a port for a tcl script, right?

Maybe take a look at the port_cutleaves port which looks to be  a  
shell script.
Maybe package up your script in a similar manner.

Well, I was interested so I gave it a go.


// Brad

More information about the macports-users mailing list