aboutsummaryrefslogtreecommitdiffstats
path: root/devel/protobuf/Makefile
blob: b7c64c97ddd3ba6112e73da40f7245d8dc163dd9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# ex:ts=8
# Ports collection makefile for:    protobuf
# Date created:             Aug 9, 2008
# Whom:                 vanilla
#
# $FreeBSD$
#

PORTNAME=   protobuf
PORTVERSION=    2.4.1
CATEGORIES= devel
MASTER_SITES=   ${MASTER_SITE_GOOGLE_CODE}

MAINTAINER= vanilla@FreeBSD.org
COMMENT=    A data interchange format library

USE_GMAKE=  yes
USE_BZIP2=  yes
GNU_CONFIGURE=  yes
USE_LDCONFIG=   yes
USE_GNOME=  gnomehack pkgconfig

post-patch:
    @${REINPLACE_CMD} -e 's|GREP "\\-L"|GREP "bin/ld"|g' ${WRKSRC}/configure

tests: build
    @(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} check)

.include <bsd.port.mk>