mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
eea576e5f7
Tassilo has provided PRs for the staging of the remaining Playstation toolchain ports, and has indicated he wants to continue as maintainer of this set of ports. PR: 192142
40 lines
1.2 KiB
Makefile
40 lines
1.2 KiB
Makefile
# Created by: Tassilo Philipp <tphilipp@potion-studios.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= binutils
|
|
PORTVERSION= 2.22
|
|
PORTREVISION= 1
|
|
CATEGORIES= devel
|
|
MASTER_SITES= ftp://ftp.gnu.org/pub/gnu/${PORTNAME}/ \
|
|
${MASTER_SITE_SOURCEWARE}
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}/releases
|
|
PKGNAMEPREFIX= psptoolchain-
|
|
|
|
MAINTAINER= tphilipp@potion-studios.com
|
|
COMMENT= PlayStation Portable development toolchain ${PORTNAME}
|
|
|
|
USES= gmake tar:bzip2 libtool
|
|
USE_GCC= any
|
|
|
|
HAS_CONFIGURE= yes
|
|
CONFIGURE_TARGET= ${ARCH:S/amd64/x86_64/}-unknown-${OPSYS:tl}${OSREL}
|
|
CONFIGURE_ARGS= --prefix=${PREFIX} \
|
|
--target="psp" \
|
|
--enable-install-libbfd \
|
|
--disable-nls \
|
|
--mandir=${PREFIX}/man
|
|
PLIST_SUB= CONFIGURE_TARGET="${CONFIGURE_TARGET}"
|
|
|
|
# Disable installation of .info files and libiberty.
|
|
post-patch:
|
|
@${REINPLACE_CMD} -E 's/^(install-data-am:)(.*)install-info-am(.*)/\1 \2 \3/' \
|
|
${WRKSRC}/ld/Makefile.in
|
|
@${REINPLACE_CMD} -E 's/^(install-info:)(.*install-info-am.*)/\1#\2/' \
|
|
${WRKSRC}/gas/doc/Makefile.in \
|
|
${WRKSRC}/bfd/doc/Makefile.in \
|
|
${WRKSRC}/binutils/doc/Makefile.in
|
|
@${REINPLACE_CMD} -E 's/^(install:)(.*)/\1#\2/' ${WRKSRC}/libiberty/Makefile.in
|
|
@${REINPLACE_CMD} -E 's,^(install.*:)(.*)install-info(.*),\1 \2 \3,' ${WRKSRC}/etc/Makefile.in
|
|
|
|
.include <bsd.port.mk>
|