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
F139624400: D14798.diff
Sun, Dec 14, 7:21 AM
F139587852: D14798.id41907.diff
Sat, Dec 13, 9:17 PM
Unknown Object (File)
Thu, Dec 11, 10:58 AM
Unknown Object (File)
Mon, Dec 8, 11:22 PM
Unknown Object (File)
Mon, Dec 8, 11:15 PM
Unknown Object (File)
Sun, Dec 7, 4:45 AM
Unknown Object (File)
Sat, Nov 29, 6:33 PM
Unknown Object (File)
Tue, Nov 25, 9:19 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}.