1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-08 06:48:28 +00:00
freebsd-ports/devel/protobuf/Makefile
Matthias Andree 3ee07e08ea - USE_GMAKE->USES [1]
- Add missing STRIP_CMD for .so files to please stage-qa in DEVELOPER=yes mode.

Approved by:	portmgr@ (implicit, blanket) [1]
2014-01-13 18:44:45 +00:00

32 lines
794 B
Makefile

# Created by: vanilla
# $FreeBSD$
PORTNAME= protobuf
PORTVERSION= 2.5.0
PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
MAINTAINER= vanilla@FreeBSD.org
COMMENT= A data interchange format library
USE_BZIP2= yes
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
USES= gmake pathfix pkgconfig
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>