Fixup fromcvs/togit conversion
[pkgsrcv2.git] / cross / mingw-binutils / Makefile
1 # $NetBSD: Makefile,v 1.1.1.1 2010/03/15 18:34:36 asau Exp $
2
3 DISTNAME=       binutils-2.18
4 PKGNAME=        mingw-${DISTNAME:S/-src//}
5 PKGREVISION=    1
6 CATEGORIES=     cross
7 MASTER_SITES=   ${MASTER_SITE_GNU:=binutils/}
8 EXTRACT_SUFX=   .tar.bz2
9
10 MAINTAINER=     pkgsrc-users@NetBSD.org
11 HOMEPAGE=       http://mingw.sourceforge.net/
12 COMMENT=        GNU binutils for win32 cross-development
13
14 PKG_DESTDIR_SUPPORT=    user-destdir
15
16 USE_PKGLOCALEDIR=       yes
17 GNU_CONFIGURE=          yes
18 USE_CROSSBASE=          yes
19 USE_TOOLS+=             pax
20 INFO_FILES=             yes
21
22 post-install:
23 .for f in windres dllwrap
24         ${LN} -fs ${PREFIX}/bin/${MINGW_TARGET}-${f} \
25                 ${DESTDIR}${PREFIX}/${MINGW_TARGET}/bin/${f}
26 .endfor
27
28 .include "../../cross/mingw/Makefile.common"
29 .include "../../cross/mingw-w32api-bin/buildlink3.mk"
30 .include "../../cross/mingw-runtime-bin/buildlink3.mk"
31 .include "../../mk/bsd.pkg.mk"