In the meanwhile after a day of tinkering , I got a Portfile that works. Only thing is there is no make install target .
What do I need to do with the destroot and install and activate phase to get the binary copied to /opt/local/bin ? I have attached my Portfile . Thanks and regards, Erik ( Lastic ) On 28/02/2019, Lastic ppc <[email protected]> wrote: > Hi everybody, > > Longtime user of Macports on PowerPC (OS X Leopard) and now under guidance > of kencu , > co-maintainer of smtube. > > My goal is to automate everything that I installed from sources into > Macports. > > Starting with something small. > > https://sourceforge.net/p/vpcs/code/HEAD/tree/ > > It needs standard gcc and make ,even the Apple versions. > > Before install it needs a patch /src/command.c for a test which fails on OS > X in general > (Intel/PowerPC) , I've attached the patch. > > Inside the /src directory you need to launch mk.sh for which I have created > a patch > so that it would also create a specific Makefile for PowerPC. > > With the help of Kencu I've found some info fetching from svn , patching > files but the one > thing I'm stuck on is ,the launch of mk.sh ? > > Where do I define this ? > > Also mk.sh doesn't have an install so the binary is inside the /src > directory. > > Can I specify an action in the Portfile so it does get copied to > /opt/local/bin ? > > Thanks everybody for your time and patience, > > Erik ( Lastic ) >
Portfile
Description: Binary data
