blob: f4b47fd1c9a917a46a3ca9a5d2e94f7aacad886a (
plain)
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
39
40
41
42
43
44
|
# Created by: Peter Johnson <johnson.peter@gmail.com>
# $FreeBSD$
PORTNAME= binutils
PORTVERSION= 2.17
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_SOURCEWARE}
MASTER_SITE_SUBDIR= binutils/releases
PKGNAMEPREFIX= djgpp-
MAINTAINER= johnson.peter@gmail.com
COMMENT= FSF binutils for DJGPP cross-development
LICENSE= GPLv2
TARGET= i586-pc-msdosdjgpp
PATCH_WRKSRC= ${SRCDIR}
CONFIGURE_SCRIPT= ../${SRCDIR:C/${WRKDIR}//}/configure
USES= gmake makeinfo tar:bzip2
GNU_CONFIGURE= yes
SRCDIR= ${WRKDIR}/binutils-${PORTVERSION}
WRKSRC= ${WRKDIR}/build
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}/info
BINARIES= addr2line ar as c++filt ld nm objcopy objdump ranlib \
readelf size strings strip
pre-configure:
@${MKDIR} ${CONFIGURE_WRKSRC}
post-install:
.for F in ${BINARIES}
@${LN} -f ${STAGEDIR}${PREFIX}/bin/${TARGET}-$F ${STAGEDIR}${PREFIX}/${TARGET}/bin/$F
.endfor
@${RM} ${STAGEDIR}${PREFIX}/${TARGET}/info/dir
.include <bsd.port.mk>
|