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
|
2006-11-22 16:59:22 -05:00
|
|
|
PORTVERSION= 6.5
|
2005-03-10 23:50:07 -05:00
|
|
|
PORTREVISION?= 0
|
2001-10-12 17:42:54 -04:00
|
|
|
CATEGORIES= emulators
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEWARE}
|
2008-03-01 22:32:07 -05:00
|
|
|
MASTER_SITE_SUBDIR= gdb/old-releases
|
2002-05-12 14:29:13 -04:00
|
|
|
DISTNAME= gdb-${PORTVERSION}
|
2001-10-12 17:42:54 -04:00
|
|
|
|
2005-12-15 10:56:29 -05:00
|
|
|
MAINTAINER= obrien@FreeBSD.org
|
2003-12-15 03:51:55 -05:00
|
|
|
COMMENT= PowerPC simulator (PSIM) running in the GNU GDB 6
|
2001-10-12 17:42:54 -04:00
|
|
|
|
2003-12-15 03:51:55 -05:00
|
|
|
USE_BZIP2= yes
|
2001-10-12 17:42:54 -04:00
|
|
|
GNU_CONFIGURE= yes
|
2002-04-03 19:32:38 -05:00
|
|
|
CONFIGURE_ARGS= --enable-psim --target=powerpc-freebsd-elf \
|
2005-03-10 23:50:07 -05:00
|
|
|
--program-suffix=psim \
|
|
|
|
--disable-nls
|
2004-09-25 22:43:13 -04:00
|
|
|
|
2001-10-12 17:42:54 -04:00
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/gdb/gdb ${PREFIX}/bin/${PORTNAME}
|
2006-11-22 16:59:22 -05:00
|
|
|
${MKDIR} ${EXAMPLESDIR}
|
|
|
|
${INSTALL_DATA} ${FILESDIR}/dot.gdbinit ${EXAMPLESDIR}
|
2001-10-12 17:42:54 -04:00
|
|
|
.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
|
|
|
|
2005-03-10 23:50:07 -05:00
|
|
|
.include <bsd.port.mk>
|