# Created by: Sergey A. Osokin # $FreeBSD: head/archivers/brotli/Makefile 546350 2020-08-27 14:45:38Z osa $ PORTNAME= brotli PORTVERSION= 1.0.9 DISTVERSIONPREFIX= v PORTEPOCH= 1 CATEGORIES= archivers devel MAINTAINER= osa@FreeBSD.org COMMENT= Generic-purpose lossless compression algorithm LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE USE_GITHUB= yes GH_ACCOUNT= google USES= autoreconf:build compiler:c++0x gmake libtool pkgconfig USE_LDCONFIG= yes GNU_CONFIGURE= yes INSTALL_TARGET= install-strip PLIST_SUB= SHLIBVER=${PORTVERSION} OPTIONS_DEFINE= DOCS pre-configure: (cd ${WRKSRC} && ./bootstrap) pre-package: @if [ -e ${STAGEDIR}/${PREFIX}/lib/pkgconfig/libbrotlidec.pc ] ; \ then \ ${MV} ${STAGEDIR}/${PREFIX}/lib/pkgconfig/*.pc ${STAGEDIR}/${PREFIX}/libdata/pkgconfig/ ; \ fi .include