Bug 242759 - revive port: math/freefem++: finite element method application
Summary: revive port: math/freefem++: finite element method application
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Thierry Thomas
Depends on:
Reported: 2019-12-21 08:29 UTC by Kouichi Hirabayashi
Modified: 2020-11-29 16:29 UTC (History)
2 users (show)

See Also:
thierry: maintainer-feedback? (kh)

FreeFem++ v4.4-3 port for FreeBSD-12.1 (57.20 KB, text/plain)
2019-12-21 08:29 UTC, Kouichi Hirabayashi
no flags Details
Diff to be committed if you approve it (69.32 KB, patch)
2020-06-15 07:36 UTC, Thierry Thomas
thierry: maintainer-approval? (kh)
Details | Diff
Resulting port. (8.04 KB, application/x-bzip)
2020-06-15 07:37 UTC, Thierry Thomas
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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.
Comment 6 Kouichi Hirabayashi 2020-11-14 02:38:54 UTC
Please revive 'math/freefem++||2009-08-23' with attachment 215571 [details].
Sorry for late answer.
Comment 7 Thierry Thomas freebsd_committer 2020-11-29 16:29:00 UTC
Committed, thanks!
Comment 8 commit-hook freebsd_committer 2020-11-29 16:29:34 UTC
A commit references this bug:

Author: thierry
Date: Sun Nov 29 16:28:57 UTC 2020
New revision: 556585
URL: https://svnweb.freebsd.org/changeset/ports/556585

  Revive port math/freefem++: finite element method application.

  PR:		242759
  Submitted by:	Kouichi Hirabayashi