1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-05 01:55:52 +00:00
freebsd-ports/devel/i386-rtems-gdb/Makefile
James E. Housley 7d2cf7b13c Update patches
- Also move into main directory since it shares the main distfile with
  other ports.
2001-04-09 15:33:50 +00:00

58 lines
1.5 KiB
Makefile

# New ports collection makefile for: i386-rtems-gdb
# Date created: 9 June 2000
# Whom: James Housley <jim@thehousleys.net>
#
# $FreeBSD$
#
PORTNAME= gdb
PORTVERSION= 5.0
PORTREVISION= 3
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= gdb
MAINTAINER= jeh@FreeBSD.org
PATCHFILES= ${GDBNAME}-rtems-20010314.diff
PATCH_SITES= ftp://ftp.oarcorp.com/pub/rtems/snapshots/c_tools/source/ \
http://rtems.thehousleys.net/
LCLTARGET?= i386-rtems
GDBNAME= gdb-5.0
MASTERDIR= ${.CURDIR}/../i386-rtems-gdb
PLIST= ${PKGDIR}/pkg-plist.${LCLTARGET}
BUILD_DEPENDS= ${LCLTARGET}-as:${PORTSDIR}/devel/${LCLTARGET}-binutils \
${LCLTARGET}-ld:${PORTSDIR}/devel/${LCLTARGET}-binutils
RUN_DEPENDS= ${LCLTARGET}-as:${PORTSDIR}/devel/${LCLTARGET}-binutils \
${LCLTARGET}-ld:${PORTSDIR}/devel/${LCLTARGET}-binutils
PKGNAMEPREFIX= ${LCLTARGET}-
USE_GMAKE= yes
GNU_CONFIGURE= yes
ALL_TARGET= all info
CONFIGURE_TARGET?= --target=${LCLTARGET}
CONFIGURE_ARGS?= --verbose
CONFIGURE_WRKSRC?= ${WRKDIR}/build-${LCLTARGET}
CONFIGURE_SCRIPT?= ../${GDBNAME}/configure
PATCH_DIST_STRIP?= -p1
MAN1= ${LCLTARGET}-gdb.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>