1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-06 01:57:40 +00:00
freebsd-ports/archivers/snappy/Makefile
Sunpoet Po-Chuan Hsieh 1c5494ba1c - Fix build when devel/googletest was installed
- Convert to new options framework

Approved by:	vanilla (maintainer)
2013-02-20 21:15:12 +00:00

35 lines
642 B
Makefile

# 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
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>