freebsd-ports/devel/djgpp-binutils/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
918 B
Makefile

# Created by: Peter Johnson <johnson.peter@gmail.com>
# $FreeBSD$
PORTNAME= binutils
PORTVERSION= 2.17
PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= SOURCEWARE/binutils/releases
PKGNAMEPREFIX= djgpp-
MAINTAINER= johnson.peter@gmail.com
COMMENT= FSF binutils for DJGPP cross-development
LICENSE= GPLv2
TARGET= i586-pc-msdosdjgpp
USES= gmake makeinfo tar:bzip2
GNU_CONFIGURE= yes
CONFIGURE_OUTSOURCE= yes
CONFIGURE_ARGS= --target=${TARGET} \
--with-gcc --with-gnu-ld --with-gnu-as \
--disable-nls --disable-shared --disable-werror
INFO= as bfd binutils ld configure standards
INFO_PATH= ${TARGET}/share/info
BINARIES= addr2line ar as c++filt ld nm objcopy objdump ranlib \
readelf size strings strip
post-install:
.for F in ${BINARIES}
@${LN} -f ${STAGEDIR}${PREFIX}/bin/${TARGET}-$F ${STAGEDIR}${PREFIX}/${TARGET}/bin/$F
.endfor
@${RM} ${STAGEDIR}${PREFIX}/${INFO_PATH}/dir
.include <bsd.port.mk>