vpcs new port , need help with creating my first Portfile

Lastic ppc lasticppc at gmail.com
Fri Mar 1 17:09:39 UTC 2019


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 <lasticppc at gmail.com> 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 )
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Portfile
Type: application/octet-stream
Size: 1756 bytes
Desc: not available
URL: <http://lists.macports.org/pipermail/macports-dev/attachments/20190301/49e55b42/attachment.obj>


More information about the macports-dev mailing list