aboutsummaryrefslogtreecommitdiffstats
path: root/archivers/snappy/Makefile
blob: 1b0c90c32b6b108dbae06cadfbb8d8f94a04eda1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Created by: Vanilla I. Shu <vanilla@FreeBSD.org>
# $FreeBSD$

PORTNAME=   snappy
PORTVERSION=    1.1.0
PORTREVISION=   0
CATEGORIES= archivers
MASTER_SITES=   GOOGLE_CODE

MAINTAINER= vanilla@FreeBSD.org
COMMENT=    Fast compressor/decompressor library

OPTIONS_DEFINE= DOCS

NO_STAGE=   yes
CONFIGURE_ARGS= --disable-gtest
GNU_CONFIGURE=  yes
USE_LDCONFIG=   yes

.include <bsd.port.options.mk>

post-patch:
.if empty(PORT_OPTIONS:MDOCS)
    ${REINPLACE_CMD} -e \
        '/^install-data-am:/ s|install-dist_docDATA||' \
        ${WRKSRC}/Makefile.in
.endif

.include <bsd.port.pre.mk>

.if ${ARCH} == "sparc64"
BROKEN=     Does not compile on sparc64
.endif

.include <bsd.port.post.mk>