Summary: | New port: devel/libarea | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Pedro F. Giffuni <pfg> | ||||||||||||
Component: | Individual Port(s) | Assignee: | Raphael Kubo da Costa <rakuco> | ||||||||||||
Status: | Closed FIXED | ||||||||||||||
Severity: | Affects Only Me | CC: | rakuco | ||||||||||||
Priority: | --- | Keywords: | feature, patch | ||||||||||||
Version: | Latest | ||||||||||||||
Hardware: | Any | ||||||||||||||
OS: | Any | ||||||||||||||
Attachments: |
|
> DEPENDS= libboost_python:${PORTSDIR}/devel/boost-libs Don't you mean LIB_DEPENDS? > GH_PROJECT= libarea This is not needed because it's the same as PORTNAME. Created attachment 168095 [details]
libarea port as a shar file
Update, following rakuco's comments:
/usr/ports/devel/libarea % portlint
looks fine.
(Thanks! I hadn't done a new port in years)
It fails to build here, libboost_python.so is in devel/boost-python-libs, not devel/boost-libs. Additionally, you should add a WWW line to pkg-descr, and I suggest you run `portlint -AC' on the new port, it suggest USE_LDCONFIG=yes because you are installing new shared libraries. Created attachment 168099 [details]
libarea port as a shar file
Yikes.. embarrassing amount of errors :-/.
Thanks for the feedback. About the WWW line, I would prefer not to add one for this port: there is the github page but it doesn't provide any valuable information.
Having any WWW is helpful, even if it does not provide a lot of information: we have a big number of broken ports whose original distfiles have vanished and it's hard to find out what happened because there's no associated website. Created attachment 168122 [details]
Updated: libarea port as a shar file
Nice, while adding the URL I found a newer version.
This appears to be more frequently updated and includes MSVC warnings fixed.
Using the new URL.
The port still fails to build on Poudriere because it uses the python-configure binary to determine Python's include path. That comes from lang/python, which is not pulled by USES=python. You need to add a line like this: BUILD_DEPENDS= python-config:${PORTSDIR}/lang/python Since you'll need to change your shar file anyway, I also suggest using USES=cmake:outsource, which will build the port in a separate directory so that the sources and build files are kept away from each other. Created attachment 168177 [details]
Updated: libarea port as a shar file
Thanks ... did both updates and checked package still builds here.
A commit references this bug: Author: rakuco Date: Mon Mar 14 21:38:22 UTC 2016 New revision: 411120 URL: https://svnweb.freebsd.org/changeset/ports/411120 Log: New port: devel/libarea. libarea is a CAM-related software for profile and pocketing operation. This project provides library and associated python-modules to compute profile and pocket operations. libarea is used by HeeksCNC and FreeCAD's Path workbench. Written by Dan Heeks <danheeks @ gmail> WWW: https://github.com/heeks/libarea PR: 207932 Submitted by: pfg Changes: head/devel/Makefile head/devel/libarea/ head/devel/libarea/Makefile head/devel/libarea/distinfo head/devel/libarea/pkg-descr head/devel/libarea/pkg-plist Committed, thanks. |
Created attachment 168057 [details] libarea port as a shar file libarea is a CAM-related software for profile and pocketing operation. It is used in freecad, which is in the WantedPorts list.