2001-10-12 17:42:54 -04:00
|
|
|
# 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
|
2002-10-06 22:10:18 -04:00
|
|
|
PORTVERSION= 5.2.1
|
2001-10-12 17:42:54 -04:00
|
|
|
CATEGORIES= emulators
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEWARE}
|
2002-05-12 14:29:13 -04:00
|
|
|
MASTER_SITE_SUBDIR= gdb/releases
|
|
|
|
DISTNAME= gdb-${PORTVERSION}
|
2001-10-12 17:42:54 -04:00
|
|
|
|
|
|
|
MAINTAINER= mp@FreeBSD.org
|
2003-03-07 01:14:21 -05:00
|
|
|
COMMENT= PowerPC simulator (PSIM) running in the GNU GDB 5
|
2001-10-12 17:42:54 -04:00
|
|
|
|
|
|
|
USE_GMAKE= yes
|
|
|
|
GNU_CONFIGURE= yes
|
2002-04-03 19:32:38 -05:00
|
|
|
CONFIGURE_ARGS= --enable-psim --target=powerpc-freebsd-elf \
|
|
|
|
--program-suffix=psim
|
2001-10-12 17:42:54 -04:00
|
|
|
|
|
|
|
pre-configure:
|
2002-04-03 19:32:38 -05:00
|
|
|
@cd ${WRKSRC} ; ${RM} -rf dejagnu expect tcl texinfo
|
2001-10-12 17:42:54 -04:00
|
|
|
|
|
|
|
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
|
|
|
|
|
2002-03-10 16:04:40 -05:00
|
|
|
cklatest:
|
|
|
|
ncftpls \
|
|
|
|
ftp://mirrors.rcn.net/mirrors/sources.redhat.com/${MASTER_SITE_SUBDIR}/ \
|
2002-05-12 14:29:13 -04:00
|
|
|
| ${GREP} gdb+dejagnu-
|
2002-03-10 16:04:40 -05:00
|
|
|
|
2003-11-20 20:29:18 -05:00
|
|
|
.include <bsd.port.mk>
|