Bug 211144 - New port: devel/zephir Language for creating C-extensions in PHP
Summary: New port: devel/zephir Language for creating C-extensions in PHP
Status: Closed Overcome By Events
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-07-15 14:42 UTC by ThePanaceya
Modified: 2018-05-12 11:08 UTC (History)
2 users (show)

See Also:


Attachments
Port source (4.10 KB, text/plain)
2016-07-15 14:42 UTC, ThePanaceya
no flags Details
zephir shar (9/19/2016) (99.54 KB, text/plain)
2016-09-19 15:58 UTC, joshruehlig
no flags Details
zephir shar v0.9.6 (99.87 KB, text/plain)
2017-01-22 06:49 UTC, joshruehlig
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description ThePanaceya 2016-07-15 14:42:35 UTC
Created attachment 172556 [details]
Port source
Comment 1 joshruehlig 2016-09-19 15:58:57 UTC
Created attachment 174967 [details]
zephir shar (9/19/2016)

I don't recommend we merge this port until zephir is released with some fixes I have proposed here.
https://github.com/phalcon/zephir/pull/1324

I made some improvements to the shar you submitted, I'll replace this once a zephir version is available with the previously mentioned fixes.
* define php dependencies needed
* add autoconf, re2c and sudo dependencies
* install the files to STAGEDIR
* don't install hidden files
* include a pkg-plist
Comment 2 joshruehlig 2017-01-22 06:49:52 UTC
Created attachment 179206 [details]
zephir shar v0.9.6

Here is a 'shar' for version 0.9.6 that is ready for review.

This will install itself to lib/zephir-0.9.6.
When you use the "zephir build" command it will first build the "zephir_parser" extension creating extra files in lib/zephir-0.9.6, as well as installing a PHP extension (lib/php/20151012/test.so). These extra files are not cleaned up even if zephir is uninstalled.

Here is an example PHP module you can build.
https://github.com/niel/php-yenc
Comment 3 Tobias Kortkamp freebsd_committer freebsd_triage 2018-05-09 15:03:14 UTC
Hi,

it has been more than a year.  Is this still relevant?

There have been lots of zephir releases in the meantime, so this would need an
update.  We probably also need to check if this works correctly with PHP flavors
we now support in the ports framework.

Who is going to be the maintainer of this port?
Comment 4 joshruehlig 2018-05-09 16:02:04 UTC
I assume this is still relevant to anyone needing to use zephir to install software on FreeBSD.
It is not a priority for me personally at this moment since my setup is working so unless someone leads the effort to update this in the following days/week we can probably close this issue.
Comment 5 Tobias Kortkamp freebsd_committer freebsd_triage 2018-05-12 11:08:06 UTC
(In reply to joshruehlig from comment #4)
> I assume this is still relevant to anyone needing to use zephir to install software on FreeBSD.
> It is not a priority for me personally at this moment since my setup is working so unless someone leads the effort to update this in the following days/week we can probably close this issue.

Thanks.  Based on your response and ThePanaceya not commenting on this bug for
~2 years I think it's best to close it for now.  Maybe someone will pick this
up in the future.