freebsd-ports/devel/protobuf25/Makefile
Mathieu Arnold 60d1a83c2a MASTER_SITES cleanup.
- Replace ${MASTER_SITE_FOO} with FOO.
- Merge MASTER_SITE_SUBDIR into MASTER_SITES when possible. (This means 99.9%
  of the time.)
- Remove occurrences of MASTER_SITE_LOCAL when no subdirectory was present and
  no hint of what it should be was present.
- Fix some logic.
- And generally, make things more simple and easy to understand.

While there, add magic values to the FESTIVAL, GENTOO, GIMP, GNUPG, QT and
SAMBA macros.

Also, replace some EXTRACT_SUFX occurences with USES=tar:*.

Checked by:	make fetch-urlall-list
With hat:	portmgr
Sponsored by:	Absolight
2015-05-14 10:15:04 +00:00

32 lines
802 B
Makefile

# Created by: vanilla
# $FreeBSD$
# devel/hadoop2 needs version 2.5.0
PORTNAME= protobuf
PORTVERSION= 2.5.0
PORTREVISION= 4
CATEGORIES= devel
MASTER_SITES= GOOGLE_CODE
PKGNAMESUFFIX= 25
MAINTAINER= demon@FreeBSD.org
COMMENT= Data interchange format library
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/COPYING.txt
GNU_CONFIGURE= yes
GNU_CONFIGURE_PREFIX= ${PREFIX}/protobuf25
USE_LDCONFIG= yes
USES= gmake pathfix pkgconfig tar:bzip2 libtool
ONLY_FOR_ARCHS= i386 amd64
INSTALL_TARGET= install-strip
# 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 -DGOOGLE_PROTOBUF_NO_RTTI
tests: build
@(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} check)
.include <bsd.port.mk>