Bug 213624

Summary: New Port: devel/leatherman - needed to support newer native Factor by Puppet
Product: Ports & Packages Reporter: Jason Slagle <jslagle>
Component: Individual Port(s)Assignee: Dmitry Marakasov <amdmi3>
Status: Closed FIXED    
Severity: Affects Some People CC: jslagle, luca, swills, zleslie
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
Shar containing new port
none
Fix the LICENSE tag
none
New shar with port - tested with poudriere and building good.
none
Patch leatherman to build libs as libleatherman and not just leatherman
none
updated port for leatherman none

Description Jason Slagle 2016-10-19 20:47:25 UTC
Created attachment 175944 [details]
Shar containing new port

This adds a port for the Leatherman C++ utility library, used by Puppetlabs for their tools.
Comment 1 Jason Slagle 2016-10-19 21:06:05 UTC
Created attachment 175946 [details]
Fix the LICENSE tag
Comment 2 Jason Slagle 2016-10-23 23:51:52 UTC
I have some changes I'm uploading so it does a shared library, etc.
Comment 3 Jason Slagle 2016-10-23 23:53:00 UTC
Created attachment 176089 [details]
New shar with port - tested with poudriere and building good.
Comment 4 Jason Slagle 2016-10-25 01:58:46 UTC
Created attachment 176127 [details]
Patch leatherman to build libs as libleatherman and not just leatherman

Complete shar with changes needed to build cpp-hocon - that port is forthcoming.
Comment 5 Dmitry Marakasov freebsd_committer freebsd_triage 2016-12-29 17:01:16 UTC
- You don't need GH_PROJECT and GH_TAGNAME, as they default to PORTNAME and PORTVERSION respectively.
- RUBY option does nothing apart from adding a dependency, e.g. it doesn't toggle actual building of ruby support.
- Lacks WWW
Comment 6 Steve Wills freebsd_committer freebsd_triage 2017-01-05 19:52:22 UTC
Created attachment 178555 [details]
updated port for leatherman

I worked on this a bit, here's an updated version.
Comment 7 Zach Leslie freebsd_committer freebsd_triage 2017-01-29 06:35:44 UTC
The updated version builds for me without issue.
Comment 8 commit-hook freebsd_committer freebsd_triage 2017-03-03 17:26:33 UTC
A commit references this bug:

Author: amdmi3
Date: Fri Mar  3 17:25:21 UTC 2017
New revision: 435354
URL: https://svnweb.freebsd.org/changeset/ports/435354

Log:
  A collection of C++ and CMake utility libraries.

  WWW: https://github.com/puppetlabs/leatherman

  PR:		213624
  Submitted by:	jslagle@gmail.com

Changes:
  head/devel/Makefile
  head/devel/leatherman/
  head/devel/leatherman/Makefile
  head/devel/leatherman/distinfo
  head/devel/leatherman/files/
  head/devel/leatherman/files/patch-cmake_cflags.cmake
  head/devel/leatherman/files/patch-cmake_leatherman.cmake
  head/devel/leatherman/pkg-descr
  head/devel/leatherman/pkg-plist