1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-25 09:34:11 +00:00
freebsd-ports/devel/check/Makefile
Baptiste Daroussin 7990f81066 Install texinfo files (GNU info) into ${PREFIX}/share/info
After a discussion on the mailing list on moving manpages to
${PREFIX}/share/man for consistency with base where it is
installed in usr/share/man, it appeared the same should happen
to GNU info files which were installed under share in base and
not in ports.

Now texinfo is not in base on any of the supported version of FreeBSD
it is possible to proceed to this move and it is easier to do than
the manpage change.

Other benefit than consistency are less patching: all build tools but
cmake are expecting info files to be under share/info and cmake (patched here)
was having an exception for BSD so the patch makes FreeBSD case less
specific for them

Bump revision of all impacted ports

PR:		232907
exp-run by:	antoine
Differential Revision:	https://reviews.freebsd.org/D17816
2018-11-10 18:12:57 +00:00

40 lines
834 B
Makefile

# Created by: mikeh@FreeBSD.org
# $FreeBSD$
PORTNAME= check
PORTVERSION= 0.12.0
PORTREVISION= 1
CATEGORIES= devel
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Unit test framework for C
LICENSE= LGPL21
OPTIONS_DEFINE= DOCS EXAMPLES
CONFIGURE_ENV= ac_cv_path_AWK_PATH=${AWK}
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
USE_LDCONFIG= yes
USES= autoreconf libtool makeinfo pathfix pkgconfig
INFO= check
PORTDOCS= *
PORTEXAMPLES= *
GH_ACCOUNT= lib${PORTNAME}
USE_GITHUB= yes
post-patch:
@${REINPLACE_CMD} \
-e 's|COPYING.LESSER||' \
-e '/^docdir = / s|$$(PACKAGE)|${PORTNAME}|' \
${WRKSRC}/Makefile.am
@${REINPLACE_CMD} \
-e '/^exampledir = / s|(docdir)/example|(datadir)/examples/${PORTNAME}|' \
-e '/^example[a-z]*dir = / s|(docdir)/example/|(exampledir)/|' \
${WRKSRC}/doc/Makefile.am
.include <bsd.port.mk>