Created attachment 164398 [details]
Pony is an object-oriented, actor-model, capabilities-secure programming language. It's object-oriented because it has classes and objects, like Python, Java, C++, and many other languages. It's actor-model because it has actors (similar to Erlang or Akka). These behave like objects, but they can also execute code asynchronously.
The original author already took care of FreeBSD compatibility prior to my port.
Thanks for your consideration
Created attachment 164418 [details]
better version of the port
This version fixes a plist doozey i made.
Created attachment 164422 [details]
updated port shar
Apparently i uploaded the wrong file. I hate clicking.
Can you run some tests (portlint, poudriere) to confirm? :)
(In reply to Vladimir Krstulja from comment #3)
i always run portlint :) it only complains about there not being a http/ftp URL (there is only https - which imho is not bad).
poudriere test-port is happy with it on 10.2-i386 and 10.2-amd64 (they are already on our pkg repo pkg.anycast.io) :)
- Makefile has broken newline: missing indentation in first section, spaces instead of tabs in LICENSE
- config=release should better go into MAKE_ARGS
- Please use USE_GITHUB=yes + GH_ACCOUNT=CausalityLtd, instead of MASTER_SITES/DISTNAME/WRKSRC
- pkg-descr should contain WWW. If there's no better alternative, github page would do.
(In reply to Dmitry Marakasov from comment #5)
> - Makefile has broken newline
Should read: Makefile has broken whitespace
Created attachment 165012 [details]
Updated Port shar
Thanks for the input, as we're eagerly awaiting ponyc 0.2.2 release (which works on i386/arm as well - it's already in HEAD), i've cleaned this port up as outlined by your remarks. Now the Makefile looks a lot cleaner :)
I've also added the current x86_64 architecture restriction into the Makefile, as well as the currently (for 0.2.1 required) FreeBSD 10.
Portlint seems happy, poudriere skips over currently unsupported architectures/versions.
(In reply to Franz Bettag from comment #7)
This port installs nothing but ponyc. No docs, no examples, not pony's runtime lib. Is this intentional?
The resulting package is not able to compile any of the provided examples, for instance:
Building . -> /wrkdirs/usr/ports/lang/ponyc/work/ponyc-0.2.1/examples/circle
builtin: couldn't locate this path
/wrkdirs/usr/ports/lang/ponyc/work/ponyc-0.2.1/examples/circle/main.pony:1:1: can't load package 'builtin'
collections: couldn't locate this path
/wrkdirs/usr/ports/lang/ponyc/work/ponyc-0.2.1/examples/circle/main.pony:1:1: can't load package 'collections'
Also the resulting package does not LIB_DEPEND on libunwind.so since ponyc does not.
Could you double-check and make the necessary changes?
Created attachment 185423 [details]
second update to ponyc shar
I've done a bunch of work on this port, it now installs all the necessary files and builds everything properly, as well as passes portlint and poudriere checks. It's also marked as broken on versions/arches where it does not build. Please take a look. If you're still interested in maintaining, I'm happy to commit it with you as maintainer. If not, I'll take it.
(In reply to Steve Wills from comment #9)
Oh, forgot to mention I updated this to the latest upstream release as well.
Created attachment 188963 [details]
updated to 0.21.0
Updated to the latest version, added missing USES.
Franz, are you good with the new patch (updated to 0.21.0) and still interested in being the maintainer?
Hi, i'm currently so much overworked that i barely have time to maintain the ports i already maintain :(
Greg V, do you want to be the maintainer of this port?
(In reply to Li-Wen Hsu from comment #14)
Sure, I guess I can be.
I still haven't really used Pony for anything, but this will give me another reason to try :)
A commit references this bug:
Date: Wed Feb 21 17:58:56 UTC 2018
New revision: 462537
Add lang/ponyc, Pony language compiler
This version includes updates from swills, Greg V <firstname.lastname@example.org>
Submitted by: Franz Bettag <email@example.com>