Creating a portfile without a Makefile

Daniel J. Luke dluke at geeklair.net
Tue Apr 22 12:33:07 PDT 2008


On Apr 22, 2008, at 3:16 PM, Giorgio Valoti wrote:
> I’m trying to write the portfile for pgintcl, a pure-Tcl PostgreSQL  
> driver. The sources come without a Makefile and, even after having  
> read the guide, it’s not clear to me how to customize the port  
> phases. Any hints?


You can override the build phase with:

build {}

You can do this to any of the phases (as well as being able to add  
post-/pre- targets to any of the phases).

If you still want to or need to do something in the build phase, just  
put it between those curly brackets.

--
Daniel J. Luke
+========================================================+
| *---------------- dluke at geeklair.net ----------------* |
| *-------------- http://www.geeklair.net -------------* |
+========================================================+
|   Opinions expressed are mine and do not necessarily   |
|          reflect the opinions of my employer.          |
+========================================================+



-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 194 bytes
Desc: This is a digitally signed message part
Url : http://lists.macosforge.org/pipermail/macports-users/attachments/20080422/880ed9b8/PGP.bin


More information about the macports-users mailing list