2001-03-31 11:04:58 +02:00
|
|
|
# ex:ts=8
|
|
|
|
# Ports collection makefile for: GDB 5.1
|
|
|
|
# Date created: 30 March 2001
|
|
|
|
# Whom: David O'Brien <obrien@NUXI.com>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2004-03-25 00:12:34 +01:00
|
|
|
SNAPDATE= 2004-03-23
|
2003-03-16 06:15:24 +01:00
|
|
|
SNAPVER= ${SNAPDATE:S/-//g}
|
|
|
|
|
2002-01-27 09:04:23 +01:00
|
|
|
PORTNAME= gdb
|
2004-03-25 00:12:34 +01:00
|
|
|
PORTVERSION= 6
|
2003-03-16 06:15:24 +01:00
|
|
|
PORTREVISION= ${SNAPVER}
|
2001-03-31 11:04:58 +02:00
|
|
|
CATEGORIES= devel
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEWARE}
|
2004-03-25 00:12:34 +01:00
|
|
|
MASTER_SITE_SUBDIR= gdb/snapshots/current
|
|
|
|
DISTNAME= gdb+dejagnu-weekly-${SNAPVER}
|
2002-10-09 17:55:14 +02:00
|
|
|
|
2004-03-25 00:12:34 +01:00
|
|
|
MAINTAINER= obrien@FreeBSD.org
|
|
|
|
COMMENT= GNU GDB 6
|
2001-03-31 11:04:58 +02:00
|
|
|
|
2003-03-16 06:15:24 +01:00
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME:S/-weekly//}
|
2002-10-12 20:58:08 +02:00
|
|
|
USE_BZIP2= yes
|
2001-03-31 11:04:58 +02:00
|
|
|
USE_GMAKE= yes
|
2004-03-25 00:12:34 +01:00
|
|
|
USE_REINPLACE= yes
|
2001-03-31 11:04:58 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2004-03-25 00:12:34 +01:00
|
|
|
CONFIGURE_ARGS= --program-suffix=6
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's/$$/ [FreeBSD]/' ${WRKSRC}/gdb/version.in
|
|
|
|
|
|
|
|
do-patch: post-patch
|
|
|
|
@${ECHO} 'FreeBSD-specific patches disabled for now, until upgraded.'
|
2001-03-31 11:04:58 +02:00
|
|
|
|
|
|
|
pre-configure:
|
|
|
|
cd ${WRKSRC} ; ${RM} -rf dejagnu expect sim tcl texinfo
|
|
|
|
|
|
|
|
do-install:
|
2002-03-09 22:38:50 +01:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/gdb/gdb \
|
|
|
|
${PREFIX}/bin/${PORTNAME}${PORTVERSION:S/.//g}
|
2001-03-31 11:04:58 +02:00
|
|
|
|
2002-03-15 20:12:51 +01:00
|
|
|
cklatest:
|
|
|
|
ncftpls \
|
2004-03-25 00:12:34 +01:00
|
|
|
ftp://sources.redhat.com/pub/${MASTER_SITE_SUBDIR}/ \
|
2002-10-20 05:19:58 +02:00
|
|
|
| ${GREP} gdb+dejagnu-weekly
|
2002-03-15 20:12:51 +01:00
|
|
|
|
2001-03-31 11:04:58 +02:00
|
|
|
.include <bsd.port.mk>
|
2004-03-25 00:12:34 +01:00
|
|
|
|
|
|
|
.if ${ARCH} == "amd64"
|
|
|
|
CONFIGURE_TARGET= x86_64-portbld-freebsd${OSREL}
|
|
|
|
.endif
|