blob: 6ca3a1362de5df6366c1b5193d50c99348fd8c34 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
# 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}/ \
SOURCEWARE/${PORTNAME}/releases
PKGNAMEPREFIX= psptoolchain-
MAINTAINER= tphilipp@potion-studios.com
COMMENT= PlayStation Portable development toolchain ${PORTNAME}
USES= gmake tar:bzip2 libtool
HAS_CONFIGURE= yes
CONFIGURE_TARGET= ${ARCH:S/amd64/x86_64/:S/armv6/arm/}-unknown-${OPSYS:tl}${OSREL}
CONFIGURE_ARGS= --prefix=${PREFIX} \
--target="psp" \
--enable-install-libbfd \
--disable-werror \
--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>
|