mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-29 05:38:00 +00:00
1c5494ba1c
- Convert to new options framework Approved by: vanilla (maintainer)
35 lines
642 B
Makefile
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>
|