aboutsummaryrefslogtreecommitdiffstats
path: root/devel/mingw32-binutils/Makefile
blob: 1ab271a82c484bcd05cfbe208b7243e9509c9334 (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
39
40
41
42
43
44
45
46
47
# New ports collection makefile for: mingw-binutils
# Date created:     6 June 2000
# Whom:         Toshihiro Inoue <tino@pa2.so-net.ne.jp>
#
# $FreeBSD$
#

PORTNAME=   binutils
PORTVERSION=    2.9.1
CATEGORIES= devel
MASTER_SITES=   ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= binutils
PKGNAMEPREFIX=  mingw-

MAINTAINER= tino@pa2.so-net.ne.jp

USE_GMAKE=  yes
USE_LIBTOOL=    yes
CONFIGURE_ARGS= --target=i386-mingw32msvc

MAN1=   i386-mingw32msvc-addr2line.1 \
    i386-mingw32msvc-ar.1        \
    i386-mingw32msvc-as.1        \
    i386-mingw32msvc-c++filt.1   \
    i386-mingw32msvc-ld.1        \
    i386-mingw32msvc-nlmconv.1   \
    i386-mingw32msvc-nm.1        \
    i386-mingw32msvc-objcopy.1   \
    i386-mingw32msvc-objdump.1   \
    i386-mingw32msvc-ranlib.1    \
    i386-mingw32msvc-size.1      \
    i386-mingw32msvc-strings.1   \
    i386-mingw32msvc-strip.1

post-install:
    @for file in \
      addr2line ar as c++filt dlltool gasp ld nm \
      objcopy objdump ranlib size strings strip windres; \
    do \
      strip ${PREFIX}/bin/i386-mingw32msvc-$${file}; \
    done
    @for file in ar as dlltool ld nm ranlib strip; \
    do \
      strip ${PREFIX}/i386-mingw32msvc/bin/$${file}; \
    done

.include <bsd.port.mk>