freebsd-ports/emulators/psim-freebsd/Makefile
David E. O'Brien 7a97eb1199 Upgrade to version 7.0.1 (or 6.6 if "WITHOUT_GPLv3" is defined).
PR: 140181
Submitted by: ehaupt (v6.6)
2009-12-29 09:22:30 +00:00

44 lines
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
.if defined(WITHOUT_GPLv3)
PORTVERSION= 6.6
.else
PORTVERSION= 7.0.1
.endif
PORTREVISION?= 0
CATEGORIES= emulators
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= gdb
DISTNAME= gdb-${PORTVERSION}
MAINTAINER= obrien@FreeBSD.org
COMMENT= PowerPC simulator (PSIM) running in the GNU GDB 6
USE_BZIP2= 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} ${EXAMPLESDIR}
${INSTALL_DATA} ${FILESDIR}/dot.gdbinit ${EXAMPLESDIR}
.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>