Bug 242759

Summary: revive port: math/freefem++: finite element method application
Product: Ports & Packages Reporter: Kouichi Hirabayashi <kh>
Component: Individual Port(s)Assignee: freebsd-ports-bugs (Nobody) <ports-bugs>
Status: Open ---    
Severity: Affects Only Me CC: kh, thierry
Priority: --- Flags: thierry: maintainer-feedback? (kh)
Version: Latest   
Hardware: Any   
OS: Any   
Description Flags
FreeFem++ v4.4-3 port for FreeBSD-12.1
Diff to be committed if you approve it
thierry: maintainer-approval? (kh)
Resulting port. none

Description Kouichi Hirabayashi 2019-12-21 08:29:41 UTC
Created attachment 210094 [details]
FreeFem++ v4.4-3 port for FreeBSD-12.1

FreeFem++ is the most successful finite element method application and I want
to revive it.  FreeFem++ v4.4-3 requires the latest math/suitesparse,
so we cannot compile without FreeBSD-12.1.
Comment 1 Thierry Thomas freebsd_committer 2019-12-21 10:10:44 UTC
Please note that this is a revival:

$ grep math/freefem++ /usr/ports/MOVED
math/freefem++||2009-08-23|Has expired: unmaintained and consistently unportable
Comment 2 Thierry Thomas freebsd_committer 2020-06-15 07:36:23 UTC
Created attachment 215570 [details]
Diff to be committed if you approve it
Comment 3 Thierry Thomas freebsd_committer 2020-06-15 07:37:14 UTC
Created attachment 215571 [details]
Resulting port.
Comment 4 Thierry Thomas freebsd_committer 2020-06-15 07:41:08 UTC
Please see porterĀ“s hanbook: https://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/

	- don't rewrite every target but use the ones from ports/Mk/bsd.port.mk

	- a package cannot allow "--enable-download": you have to depend from the ports/packages provided by the system.

	- the previous port had an option for MPI, but you explicitely disabled it; it would be fine to reintroduce it.

	- since MPI is disabled, parmetis, pscotch, mumps, etc. are also disabled.

Attached are the patch to resurrect freefem++ and to upgrade it to 4.6, and also a tarball with the resulting port.

Let me know if you approve it.
Comment 5 Thierry Thomas freebsd_committer 2020-08-04 17:19:45 UTC
Back to pool.