1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-05 01:55:52 +00:00
freebsd-ports/math/numdiff/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

37 lines
775 B
Makefile

# Created by: Cheng-Lung Sung <clsung@FreeBSD.org>
# $FreeBSD$
PORTNAME= numdiff
PORTVERSION= 5.9.0
PORTREVISION= 1
CATEGORIES= math textproc
MASTER_SITES= SAVANNAH
MAINTAINER= ports@FreeBSD.org
COMMENT= Compare putatively similar files, ignoring small numeric differences
LICENSE= GPLv3
USES= gmake
GNU_CONFIGURE= yes
MAKE_ARGS= INSTALL_PROGRAM="${INSTALL_PROGRAM}" \
INSTALL_DATA="${INSTALL_DATA}"
INFO= numdiff
OPTIONS_DEFINE= DOCS GMP NLS
OPTIONS_DEFAULT= GMP
OPTIONS_SUB= yes
GMP_LIB_DEPENDS= libgmp.so:math/gmp
GMP_CONFIGURE_ENABLE= gmp
NLS_USES= gettext-runtime
NLS_CONFIGURE_ENABLE= nls
NLS_INSTALL_TARGET= install install-nls
post-patch:
@${REINPLACE_CMD} -e \
'/$$(INFOFILE).gz/s|$$(INSTALL_DATA)|:|' ${WRKSRC}/Makefile.in
.include <bsd.port.mk>