blob: 5c95c54938ef9e3e23e3bf3c695b92cf99b4b689 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
# Created by: Mark Peek <mp@FreeBSD.org>
# $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
NO_STAGE= yes
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>
|