blob: bd5bef88f7de1b0e7fa29420392a1a876c3c7776 (
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
|
# 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= 5.1.1
CATEGORIES= emulators
MASTER_SITES= ${MASTER_SITE_SOURCEWARE}
MASTER_SITE_SUBDIR= gdb/releases
DISTNAME= gdb-${PORTVERSION}
MAINTAINER= mp@FreeBSD.org
USE_BZIP2= yes
.include <bsd.port.pre.mk>
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_TARGET= ${ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --enable-psim --target=powerpc-freebsd-elf --program-suffix=psim
pre-configure:
cd ${WRKSRC} ; ${RM} -rf dejagnu expect tcl texinfo
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
.include <bsd.port.post.mk>
|