mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-05 01:55:52 +00:00
61 lines
1.7 KiB
Makefile
61 lines
1.7 KiB
Makefile
# New ports collection makefile for: i386-rtems-binutils
|
|
# Date created: 9 June 2000
|
|
# Whom: James Housley <jim@thehousleys.net>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= binutils
|
|
PORTVERSION= 2.13.2.1
|
|
PORTREVISION= 0
|
|
CATEGORIES= devel
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEWARE}
|
|
MASTER_SITE_SUBDIR= binutils/releases
|
|
#PATCHFILES= ${BINNAME}-rtems-20010622.diff
|
|
#PATCH_SITES= ftp://ftp.oarcorp.com/pub/rtems/snapshots/c_tools/source/ \
|
|
# http://rtems.thehousleys.net/
|
|
|
|
MAINTAINER= jeh@FreeBSD.org
|
|
COMMENT= FSF binutils-2.13.2.1 base-port for RTEMS development
|
|
|
|
LCLTARGET?= i386-rtems
|
|
|
|
BINNAME= binutils-2.13.2.1
|
|
MASTERDIR= ${.CURDIR}/../i386-rtems-binutils
|
|
PLIST= ${PKGDIR}/pkg-plist.${LCLTARGET}
|
|
|
|
PKGNAMEPREFIX= ${LCLTARGET}-
|
|
USE_BZIP2= yes
|
|
USE_GMAKE= yes
|
|
GNU_CONFIGURE= yes
|
|
ALL_TARGET= all info
|
|
NO_CPUCFLAGS= yes
|
|
|
|
CONFIGURE_TARGET?= --target=${LCLTARGET}
|
|
CONFIGURE_ARGS?= --verbose
|
|
CONFIGURE_WRKSRC?= ${WRKDIR}/build-${LCLTARGET}
|
|
CONFIGURE_SCRIPT?= ../${BINNAME}/configure
|
|
|
|
PATCH_DIST_STRIP?= -p1
|
|
|
|
MAN1= ${LCLTARGET}-ar.1 ${LCLTARGET}-nm.1 ${LCLTARGET}-objdump.1 \
|
|
${LCLTARGET}-ranlib.1 ${LCLTARGET}-size.1 \
|
|
${LCLTARGET}-strings.1 ${LCLTARGET}-strip.1 \
|
|
${LCLTARGET}-objcopy.1 ${LCLTARGET}-addr2line.1 \
|
|
${LCLTARGET}-nlmconv.1 ${LCLTARGET}-as.1 ${LCLTARGET}-ld.1 \
|
|
${LCLTARGET}-dlltool.1 ${LCLTARGET}-readelf.1 \
|
|
${LCLTARGET}-windres.1
|
|
|
|
pre-configure:
|
|
@(cd ${WRKDIR} ; ${MKDIR} build-${LCLTARGET})
|
|
|
|
do-build:
|
|
@(cd ${WRKDIR}/build-${LCLTARGET} ; \
|
|
${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${ALL_TARGET})
|
|
|
|
do-install:
|
|
@(cd ${WRKDIR}/build-${LCLTARGET} && \
|
|
${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${INSTALL_TARGET})
|
|
|
|
.include <bsd.port.mk>
|