aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/cmockery2/Makefile
blob: cbd92c6b59ab525a66e456ec88b636765c6db5ab (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
30
31
32
# Created by: Harshavardhana
# $FreeBSD$
#

PORTNAME=   cmockery2
PORTVERSION=    1.3.8
CATEGORIES= sysutils
MASTER_SITES=   https://codeload.github.com/lpabon/cmockery2/tar.gz/
DISTNAME=   v1.3.8
EXTRACT_SUFX=

MAINTAINER= harsha@harshavardhana.net
COMMENT=    Cmockery2 revival of Cmockery unit test framework from Google

LICENSE=    APACHE20

WRKSRC=     ${WRKDIR}/cmockery2-${PORTVERSION}

GNU_CONFIGURE=  yes
USES=       autoreconf libtool pkgconfig
USE_LDCONFIG=   yes

INSTALL_TARGET= install-strip
# Disable gcov on FreeBSD
# CONFIGURE_ARGS=   --enable-gcov

post-patch:
    @${REINPLACE_CMD} -e '/^docdir =/s|-$$(VERSION)||' \
        -e '/^pkgconfigdir =/s|$$(libdir)|$$(prefix)/libdata|' \
        ${WRKSRC}/Makefile.am

.include <bsd.port.mk>