aboutsummaryrefslogtreecommitdiff
path: root/devel/gdb53-act/Makefile
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2003-09-27 07:38:23 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2003-09-27 07:38:23 +0000
commit5ee17cb3c626761fbc5feefdd152bbd9be7e02c7 (patch)
tree31d8b41342cf17e772ad21eb997806e291a10642 /devel/gdb53-act/Makefile
parent99af2876ad0e7e435b5d20d9649f50dfebd601f7 (diff)
downloadports-5ee17cb3c626761fbc5feefdd152bbd9be7e02c7.tar.gz
ports-5ee17cb3c626761fbc5feefdd152bbd9be7e02c7.zip
Notes
Diffstat (limited to 'devel/gdb53-act/Makefile')
-rw-r--r--devel/gdb53-act/Makefile71
1 files changed, 71 insertions, 0 deletions
diff --git a/devel/gdb53-act/Makefile b/devel/gdb53-act/Makefile
new file mode 100644
index 000000000000..e7f3ce745129
--- /dev/null
+++ b/devel/gdb53-act/Makefile
@@ -0,0 +1,71 @@
+# 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-act
+CATEGORIES= devel
+
+MAINTAINER= john@johnrshannon.com
+COMMENT= GDB 5.3 modified by ACT for Ada programming language
+
+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>