Bug 232076 - [NEW PORT] cad/lepton-eda: Lepton Electronic Design Automation
Summary: [NEW PORT] cad/lepton-eda: Lepton Electronic Design Automation
Status: Open
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 mailing list
URL: https://github.com/lepton-eda/lepton-eda
Keywords: feature, needs-patch, needs-qa
Depends on:
Blocks:
 
Reported: 2018-10-08 16:46 UTC by dmn
Modified: 2019-02-09 17:42 UTC (History)
1 user (show)

See Also:


Attachments
svn diff for the new port (106.12 KB, patch)
2018-10-08 16:46 UTC, dmn
no flags Details | Diff
svn diff for lepton-eda-1.9.6 (106.18 KB, patch)
2018-11-02 14:26 UTC, dmn
no flags Details | Diff
New version: Lepton EDA Release 1.9.7 (Dec 11, 2018) (106.18 KB, patch)
2018-12-13 17:37 UTC, dmn
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description dmn 2018-10-08 16:46:13 UTC
Created attachment 197919 [details]
svn diff for the new port

Lepton EDA is a fork of the gEDA/gaf suite.
It's compatible with gEDA, fixes many bugs and contains new features:
https://github.com/lepton-eda/lepton-eda
Comment 1 dmn 2018-11-02 14:26:20 UTC
Created attachment 198885 [details]
svn diff for lepton-eda-1.9.6

New version of Lepton EDA is out: 1.9.6
Comment 2 dmn 2018-12-13 17:37:34 UTC
Created attachment 200085 [details]
New version: Lepton EDA Release 1.9.7 (Dec 11, 2018)

Changelog: https://github.com/lepton-eda/lepton-eda/blob/master/NEWS.md
Comment 3 Tobias Kortkamp freebsd_committer 2019-02-07 10:27:36 UTC
It fails to configure with the NLS option off:

===>  Configuring for lepton-eda-1.9.7
Can't exec "autopoint": No such file or directory at /usr/local/share/autoconf-2.69/Autom4te/FileUtils.pm line 345.
autoreconf-2.69: failed to run autopoint: No such file or directory
autoreconf-2.69: autopoint is needed because this package uses Gettext
*** Error code 1

The build also seems to call groff during the build, so please add
USES=groff.

+CPPFLAGS+=	-I${LOCALBASE}/include
+LDFLAGS+=	-L${LOCALBASE}/lib

Can you use USES=localbase or USES=localbase:ldflags instead?

+DOCSDIR=	${PREFIX}/share/doc/${PORTNAME}
+DATADIR=	${PREFIX}/share/${PORTNAME}

This is what they are set to by default.  Please remove them.

+%%PORTDOCS%%%%DOCSDIR%%/examples/README

All of these should go into EXAMPLESDIR instead.

A comment like

# Avoid error during stage:
# Cannot find 'install  -m 0644'; You probably want to pass -x $(INSTALL_DATA)

above pre-build would help to clarify what you're doing there :)
Comment 4 dmn 2019-02-09 17:42:34 UTC
Tobias, thank you very much for the review! This is my first port, and you suggestions and comments are of great help to me.
I'll fix the port as soon as possible and upload the patch here.
Do I have to notify you somehow when that is done?

Regards,
Dmitry.

P.S. FWIW, I'm working on lepton-eda port for FreeBSD on github:
https://github.com/graahnul-grom/freebsd-lepton-eda