[Bug 278228] archivers/snappy: Improvements to port

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 07 Apr 2024 10:54:14 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=278228

            Bug ID: 278228
           Summary: archivers/snappy: Improvements to port
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: vanilla@FreeBSD.org
          Reporter: diizzy@FreeBSD.org
             Flags: maintainer-feedback?(vanilla@FreeBSD.org)
          Assignee: vanilla@FreeBSD.org

Created attachment 249798
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=249798&action=edit
Patch for snappy

- Convert from PORTVERSION to DISTVERSION
 
https://docs.freebsd.org/en/books/porters-handbook/book/#makefile-master_sites-github
- Define LICENSE_FILE
  https://docs.freebsd.org/en/books/porters-handbook/book/#licenses
- Remove CMAKE_BUILD_TYPE, defined by framework
  https://cgit.freebsd.org/ports/tree/Mk/Uses/cmake.mk#n34
- Use = instead of += for PLIST_SUB, SUB_FILES, SUB_LIST

Compile tested on 14.0-RELEASE (amd64)
Poudriere testport OK, 14.0-RELEASE (amd64)

-- 
You are receiving this mail because:
You are the assignee for the bug.