Edit

IABSD.fr/ports/archivers/zstd/Makefile

Branch :

  • Show log

    Commit

  • Author : bket
    Date : 2022-03-08 08:53:49
    Hash : 34a8a25e
    Message : remove rcs IDs in ports maintained by me

  • archivers/zstd/Makefile
  • COMMENT =		zstandard fast real-time compression algorithm
    
    V =			1.5.2
    DISTNAME =		zstd-${V}
    
    SHARED_LIBS =		zstd	6.1	# 1.5.1
    
    CATEGORIES =		archivers
    
    HOMEPAGE =		https://facebook.github.io/zstd/
    
    MAINTAINER =		Bjorn Ketelaars <bket@openbsd.org>
    
    # BSD 3 clauses + GPLv2
    PERMIT_PACKAGE =	Yes
    
    WANTLIB =		c lz4 lzma pthread z
    
    MASTER_SITES =		https://github.com/facebook/zstd/releases/download/v${V}/
    
    LIB_DEPENDS =		archivers/lz4 \
    			archivers/xz
    BUILD_DEPENDS =		sysutils/ggrep
    
    MAKE_ENV =		CC="${CC}" \
    			CPPFLAGS="-I${LOCALBASE}/include" \
    			LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib"
    MAKE_FLAGS =		SHARED_EXT_VER="so.$(LIBzstd_VERSION)" \
    			SONAME_FLAGS= \
    			V=1
    FAKE_FLAGS =		PREFIX="${PREFIX}"
    
    USE_GMAKE =		Yes
    
    DEBUG_PACKAGES =	${BUILD_PACKAGES}
    
    ALL_TARGET =		default
    TEST_TARGET =		check
    
    pre-build:
    	ln -fs ${LOCALBASE}/bin/ggrep ${WRKDIR}/bin/grep
    
    .include <bsd.port.mk>