mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-27 05:10:36 +00:00
47 lines
1.1 KiB
Makefile
47 lines
1.1 KiB
Makefile
# ex:ts=8
|
|
# Ports collection makefile for: GDB 5.1 PowerPC simulator
|
|
# Date created: 12 October 2001
|
|
# Whom: Mark Peek <mp@FreeBSD.org>
|
|
# David O'Brien <obrien@NUXI.com>
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= psim-freebsd
|
|
PORTVERSION= 6.4
|
|
PORTREVISION?= 0
|
|
CATEGORIES= emulators
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEWARE}
|
|
MASTER_SITE_SUBDIR= gdb/releases
|
|
DISTNAME= gdb-${PORTVERSION}
|
|
|
|
MAINTAINER= obrien@FreeBSD.org
|
|
COMMENT= PowerPC simulator (PSIM) running in the GNU GDB 6
|
|
|
|
BROKEN= Does not build
|
|
DEPRECATED= ${BROKEN}
|
|
EXPIRATION_DATE=2006-12-01
|
|
|
|
USE_BZIP2= yes
|
|
USE_GMAKE= yes
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --enable-psim --target=powerpc-freebsd-elf \
|
|
--program-suffix=psim \
|
|
--disable-nls
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/gdb/gdb ${PREFIX}/bin/${PORTNAME}
|
|
${MKDIR} ${PREFIX}/share/examples/${PORTNAME}
|
|
${INSTALL_DATA} ${FILESDIR}/dot.gdbinit \
|
|
${PREFIX}/share/examples/${PORTNAME}
|
|
.if !defined(NOPORTDOCS)
|
|
@${MKDIR} ${DOCSDIR}
|
|
${INSTALL_DATA} ${FILESDIR}/HOW-TO ${DOCSDIR}
|
|
.endif
|
|
|
|
cklatest:
|
|
ncftpls \
|
|
ftp://mirrors.rcn.net/mirrors/sources.redhat.com/${MASTER_SITE_SUBDIR}/ \
|
|
| ${GREP} gdb+dejagnu-
|
|
|
|
.include <bsd.port.mk>
|