blob: 12dad4216f9e9b9f7c00a541513eb9a0d96b129b (
plain)
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
|
# Ports collection makefile for: GDB 5.3-act
# Date created: 8 August 2003
# Whom: John R. Shannon <john@johnrshannon.com>
#
# $FreeBSD$
PORTNAME= gdb
PORTVERSION= 5.3
PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= devel
PKGNAMESUFFIX= -act
MAINTAINER= john@johnrshannon.com
COMMENT= GDB 5.3 modified by ACT for Ada programming language
PLIST_FILES= bin/gdbada
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --program-suffix=ada
CONFIGURE_ARGS+= --disable-nls
SNAPDATE= 2003-09-03
CVS_DATE= ${SNAPDATE} 12:44:04 GMT
.if defined(CVS_DATE)
NO_CHECKSUM= yes
DIST_SUBDIR= ${PKGNAME}
CVS_CMD?= cvs -z3 -qR
CVSROOT= :pserver:anoncvs@libre.act-europe.fr:/anoncvs
STAMPFILE= ${DISTDIR}/${DIST_SUBDIR}/.timestamp
do-fetch:
@if [ ! -e ${WRKDIR}/.extract_done ] ; then \
if [ ! -e ${STAMPFILE} ] ; then \
${MKDIR} ${DISTDIR}/${DIST_SUBDIR} && \
cd ${DISTDIR}/${DIST_SUBDIR} ; \
unset CVS_RSH CVS_SERVER || ${TRUE} ; \
${ECHO_MSG} ">> Attempting to CVS checkout from ${CVSROOT}." ;\
if ${CVS_CMD} -d ${CVSROOT} co -P gdb-5.3 ; \
then \
( ${ECHO} -n "${CVS_DATE}" > ${STAMPFILE} ) ; \
exit ; \
fi ; \
${ECHO_MSG} ">> Couldn't CVS checkout ${PKGNAME}." ; \
${ECHO_MSG} ">> Please try again later."; \
exit 1; \
else \
if [ "X${CVS_DATE}" != "X$$(${CAT} ${STAMPFILE})" ]; then \
cd ${DISTDIR}/${DIST_SUBDIR} ; \
unset CVS_RSH CVS_SERVER || ${TRUE} ; \
${ECHO_MSG} ">> Attempting to CVS update from ${CVSROOT}." ;\
if ${CVS_CMD} -d ${CVSROOT} up -Pd gdb-5.3 ; \
then \
( ${ECHO} -n "${CVS_DATE}" > ${STAMPFILE} ) ; \
exit ; \
fi ; \
${ECHO_MSG} ">> Couldn't CVS checkout ${PKGNAME}." ; \
${ECHO_MSG} ">> Please try again later."; \
exit 1; \
fi; \
fi; \
fi;
do-extract:
${MKDIR} ${WRKSRC}
cd ${DISTDIR}/${DIST_SUBDIR}/gdb-5.3 ; ${PAX} -pe -rwt . ${WRKSRC}
.endif # CVS_DATE
pre-configure:
cd ${WRKSRC} ; ${RM} -rf dejagnu expect sim tcl texinfo
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/gdb/gdb ${PREFIX}/bin/gdbada
.include <bsd.port.mk>
|