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
F81700384: D14798.id41001.diff
Sat, Apr 20, 3:55 AM
F81661126: D14798.diff
Fri, Apr 19, 3:00 PM
F81660750: D14798.id41001.diff
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
Unknown Object (File)
Sun, Apr 14, 1:30 AM
Subscribers

Details

Summary

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

Diff Detail

Repository
rP FreeBSD ports repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

science/dlib-cpp/Makefile
26 ↗(On Diff #40602)

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 ↗(On Diff #40602)

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

science/dlib-cpp/Makefile
4 ↗(On Diff #40602)

DISTVERSION is prefered

14 ↗(On Diff #40602)

I would sort these alphabetically

science/py-dlib/Makefile
17 ↗(On Diff #40602)

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

mat added inline comments.
science/dlib-cpp/Makefile
12 ↗(On Diff #40602)

LICENSE_FILE?

science/py-dlib/Makefile
12 ↗(On Diff #40602)

LICENSE_FILE?

15 ↗(On Diff #40602)

${PY_BOOST}

17 ↗(On Diff #40602)

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 ↗(On Diff #40602)

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

science/dlib-cpp/Makefile
50 ↗(On Diff #41001)

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

Missing @${PY_FLAVOR}.