Annotation of pkgsrc/cross/h8300-hms-binutils/Makefile, Revision 1.15
1.15 ! jlam 1: # $NetBSD: Makefile,v 1.14 2006/03/05 16:27:23 jlam Exp $
1.1 dmcmahil 2:
3: DISTNAME= binutils-2.12.1
4: PKGNAME= cross-h8300-hms-binutils-2.12.1
1.13 joerg 5: PKGREVISION= 1
1.1 dmcmahil 6: CATEGORIES= cross
7: MASTER_SITES= ftp://ftp.gnu.org/gnu/binutils/
8: EXTRACT_SUFX= .tar.bz2
9:
10: MAINTAINER= oishi@ims.ac.jp
1.2 jlam 11: HOMEPAGE= # empty
1.1 dmcmahil 12: COMMENT= h8300-hms cross utility
13:
1.2 jlam 14: H8300_PREFIX= ${PREFIX}/libexec/cross-h8300-hms
15:
1.6 agc 16: WRKSRC= ${WRKDIR}/objdir
1.14 jlam 17: USE_TOOLS+= gmake makeinfo
1.1 dmcmahil 18: HAS_CONFIGURE= yes
1.12 rillig 19: CONFIGURE_ARGS+= --prefix=${H8300_PREFIX:Q}
1.2 jlam 20: CONFIGURE_ARGS+= --infodir=${H8300_PREFIX}/binutils
1.1 dmcmahil 21: CONFIGURE_ARGS+= --target=h8300-hms
22: CONFIGURE_SCRIPT= ${SRCDIR}/configure
23: SRCDIR= ${WRKDIR}/${DISTNAME}
1.9 wiz 24: BUILD_TARGET= CFLAGS="-O2 -fomit-frame-pointer" all
1.5 seb 25: INFO_DIR= libexec/cross-h8300-hms/binutils
1.15 ! jlam 26: INFO_FILES= # PLIST
! 27:
! 28: INSTALLATION_DIRS= ${H8300_PREFIX}
1.1 dmcmahil 29:
30: post-extract:
31: ${MKDIR} ${WRKSRC}
32:
33: post-install:
34: for f in h8300-hms-size h8300-hms-objdump h8300-hms-ar \
35: h8300-hms-strings h8300-hms-ranlib h8300-hms-objcopy \
36: h8300-hms-srconv h8300-hms-sysdump h8300-hms-coffdump \
37: h8300-hms-addr2line h8300-hms-readelf h8300-hms-nm \
38: h8300-hms-strip h8300-hms-c++filt h8300-hms-as \
39: h8300-hms-gasp h8300-hms-ld ; do \
1.3 jlam 40: ${LN} -s ${H8300_PREFIX}/bin/$$f ${PREFIX}/bin/$$f; \
1.1 dmcmahil 41: done
1.2 jlam 42: ${MV} ${H8300_PREFIX}/lib/libiberty.a \
43: ${H8300_PREFIX}/lib/libiberty_binutils.a
1.1 dmcmahil 44:
45: .include "../../mk/bsd.pkg.mk"
CVSweb <webmaster@jp.NetBSD.org>