Page MenuHomeFreeBSD

Add science/dlib-cpp and science/py-dlib ports.
ClosedPublic

Authored by arrowd on Mar 22 2018, 4:44 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, May 1, 8:16 AM
Unknown Object (File)
Sat, Apr 20, 3:55 AM
Unknown Object (File)
Fri, Apr 19, 3:00 PM
Unknown Object (File)
Fri, Apr 19, 2:52 PM
Unknown Object (File)
Thu, Apr 18, 10:05 AM
Unknown Object (File)
Mon, Apr 15, 7:13 PM
Unknown Object (File)
Mon, Apr 15, 6:42 PM
Unknown Object (File)
Sun, Apr 14, 5:01 AM
Subscribers

Details

Summary

This is a part of D12559 containing only dlib ports. The review was done there.

Diff Detail

Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 15722
Build 15745: arc lint + arc unit

Event Timeline

science/dlib-cpp/Makefile
26

Without yet having looked at the CMakeLists.txt, couldn't you use CMAKE_BOOLs for the options?

You also need to add them to science/Makefile

science/dlib-cpp/Makefile
3

^ How about using dlib and a PKGNAMESUFFIX? Instead of setting DISTNAME

science/dlib-cpp/Makefile
4

DISTVERSION is prefered

14

I would sort these alphabetically

science/py-dlib/Makefile
17

python:2 is obsolete -- also is this really python2.x only?

mat added inline comments.
science/dlib-cpp/Makefile
12

LICENSE_FILE?

science/py-dlib/Makefile
12

LICENSE_FILE?

15

${PY_BOOST}

17

python:2 is not obsolete, it is unsupported, so, this does not build.
Was all this review tested?

arrowd marked 9 inline comments as done.
  • Address review comments.
science/py-dlib/Makefile
17

Oops, I got lost in git and my branch was a bit behind. Sorry for putting this without testing.

science/dlib-cpp/Makefile
51

Should go with USES.

arrowd marked an inline comment as done.
  • Move USE_LDCONFIG near USES.

You need to add it to devel/Makefile too -- and you should use DISTVERSION instead of PORTVERSION; otherwise, it looks fine.

If you update it, I'll commit it later.

  • Use DISTVERSION in py-dlib and add new ports to science/Makefile.
This revision was not accepted when it landed; it landed in state Needs Review.Apr 26 2018, 8:39 PM
This revision was automatically updated to reflect the committed changes.
head/science/dlib-cpp/Makefile
46 ↗(On Diff #41907)

Missing @${PY_FLAVOR}.