freebsd-ports/sysutils/cmockery2/Makefile
Mathieu Arnold e1bfdfbe56 Add DOCS options to ports that should have one.
Also various fixes related to said option.

PR:		230864
Submitted by:	mat
exp-runs by:	antoine
2018-09-10 13:14:50 +00:00

32 lines
648 B
Makefile

# Created by: Harshavardhana
# $FreeBSD$
#
PORTNAME= cmockery2
PORTVERSION= 1.3.8
DISTVERSIONPREFIX= v
CATEGORIES= sysutils
MAINTAINER= harsha@harshavardhana.net
COMMENT= Cmockery2 revival of Cmockery unit test framework from Google
LICENSE= APACHE20
USES= autoreconf libtool pkgconfig
USE_LDCONFIG= yes
USE_GITHUB= yes
GH_ACCOUNT= lpabon
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
# Disable gcov on FreeBSD
# CONFIGURE_ARGS= --enable-gcov
OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -e '/^docdir =/s|-$$(VERSION)||' \
-e '/^pkgconfigdir =/s|$$(libdir)|$$(prefix)/libdata|' \
${WRKSRC}/Makefile.am
.include <bsd.port.mk>