Ticket #52148: Portfile

File Portfile, 1.1 KB (added by nevil (Anders Hasselqvist), 8 years ago)

Portfile for v1.0.0 of zstd

Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim: fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2# $Id$
3
4PortSystem          1.0
5PortGroup           github 1.0
6
7github.setup        facebook zstd 1.0.0 v
8categories          archivers devel
9platforms           darwin
10license             BSD
11
12maintainers         sean openmaintainer
13
14description         Zstandard - Fast real-time compression algorithm
15long_description    Zstd, short for Zstandard, is a fast lossless compression \
16                    algorithm, targeting real-time compression scenarios at \
17                    zlib-level and better compression ratios.
18
19checksums           rmd160  ee561d7a5d330474d3fd0bf3b2ee70ded76b3603 \
20                    sha256  777c14f495a5140c1d5aba346ed68f0b8505f914011cb1f0586a7dbafed02c74
21
22use_configure       no
23
24build.env-append    CC="${configure.cc} [get_canonical_archflags cc]" \
25                    CFLAGS="${configure.cflags}" \
26                    PREFIX="${prefix}"
27   
28destroot.env-append CC="${configure.cc} [get_canonical_archflags cc]" \
29                    CFLAGS="${configure.cflags}" \
30                    PREFIX="${prefix}"