mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-22 00:35:15 +00:00
76c7f8fbe6
minor COMMENT typos and surrounding whitespace fixes. Categories D-F. CR: D196 Approved by: portmgr (bapt)
31 lines
802 B
Makefile
31 lines
802 B
Makefile
# Created by: vanilla
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= protobuf
|
|
PORTVERSION= 2.5.0
|
|
PORTREVISION= 2
|
|
CATEGORIES= devel
|
|
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
|
|
|
|
MAINTAINER= vanilla@FreeBSD.org
|
|
COMMENT= Data interchange format library
|
|
|
|
GNU_CONFIGURE= yes
|
|
USE_LDCONFIG= yes
|
|
USES= gmake pathfix pkgconfig tar:bzip2 libtool:keepla
|
|
ONLY_FOR_ARCHS= i386 amd64
|
|
|
|
# clang will generate code that just doesn't work with clementine-player
|
|
# if this isn't compiled as though it were C99.
|
|
CFLAGS+= -std=c99
|
|
|
|
post-install:
|
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libprotobuf-lite.so.8
|
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libprotobuf.so.8
|
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libprotoc.so.8
|
|
|
|
tests: build
|
|
@(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} check)
|
|
|
|
.include <bsd.port.mk>
|