summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>1998-06-02 11:29:28 +0000
committeragc <agc@pkgsrc.org>1998-06-02 11:29:28 +0000
commiteb6b7122b792453c0c9f408ec7744ae51f3b2bb4 (patch)
tree38f831c8e2c2a9d06e0d9a2dc47dc37b42d2cd05 /devel
parent14efdf179e1fab408d5797d4526840f20b78f3bb (diff)
downloadpkgsrc-eb6b7122b792453c0c9f408ec7744ae51f3b2bb4.tar.gz
Addition of DDD-2.2.3 to the NetBSD packages collection. This was
taken from the FreeBSD ports collection, but has been modified slightly (to use PAPERSIZE from env or /etc/mk.conf, rather than hardcoding it), and minor changes in the DESCR file.
Diffstat (limited to 'devel')
-rw-r--r--devel/ddd/Makefile50
-rw-r--r--devel/ddd/files/md51
-rw-r--r--devel/ddd/pkg/COMMENT1
-rw-r--r--devel/ddd/pkg/DESCR20
-rw-r--r--devel/ddd/pkg/PLIST9
5 files changed, 81 insertions, 0 deletions
diff --git a/devel/ddd/Makefile b/devel/ddd/Makefile
new file mode 100644
index 00000000000..3ee9bf39cb0
--- /dev/null
+++ b/devel/ddd/Makefile
@@ -0,0 +1,50 @@
+# $NetBSD: Makefile,v 1.1 1998/06/02 11:29:28 agc Exp $
+# Id: Makefile,v 1.5 1998/02/19 09:43:16 obrien Exp
+#
+
+DISTNAME= ddd-2.2.3
+CATEGORIES= devel
+MASTER_SITES= ftp://ftp.ips.cs.tu-bs.de/pub/local/softech/ddd/ \
+ ftp://richb-pc.acc.qc.edu/pub/ddd/ \
+ ftp://ftp.gre.ac.uk/pub/tools/debuggers/ddd/ \
+ ftp://uiarchive.cso.uiuc.edu/pub/packages/ddd/ \
+ ftp://ftp.th-darmstadt.de/pub/programming/tools/ddd/
+
+MAINTAINER= obrien@NUXI.com
+
+GNU_CONFIGURE= yes
+USE_GMAKE= yes
+REQUIRES_MOTIF= yes
+MAN1= ddd.1
+
+post-patch:
+ @case ${PAPERSIZE} in \
+ A4) echo "Using A4 paper size" ;; \
+ Letter*) echo "Using US Letter paper size"; \
+ ${MV} ${WRKSRC}/ddd/Ddd.in ${WRKSRC}/ddd/Ddd.in.orig; \
+ ${SED} -e 's|@Ddd@\*paperSize: 210mm x 297mm|@Ddd@*paperSize: 8.5" x 11"|' \
+ < ${WRKSRC}/ddd/Ddd.in.orig \
+ > ${WRKSRC}/ddd/Ddd.in ;; \
+ "") echo "PAPERSIZE not set - defaulting to A4" ;; \
+ *) echo "Bad PAPERSIZE - $$PAPERSIZE - defaulting to A4" ;; \
+ esac;
+
+post-configure:
+ echo "LIBXM = ${MOTIFLIB}" >> ${WRKSRC}/ddd/Makefile
+
+post-install:
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${PREFIX}/share/doc/ddd
+ ${INSTALL_DATA} ${WRKSRC}/PROBLEMS ${PREFIX}/share/doc/ddd
+ ${INSTALL_DATA} ${WRKSRC}/doc/README ${PREFIX}/share/doc/ddd
+ ${INSTALL_DATA} ${WRKSRC}/doc/ddd-paper.ps ${PREFIX}/share/doc/ddd
+ ${INSTALL_DATA} ${WRKSRC}/doc/ddd.man.ps ${PREFIX}/share/doc/ddd
+ ${INSTALL_DATA} ${WRKSRC}/doc/sample.dddinit ${PREFIX}/share/doc/ddd
+ ${GZIP_CMD} ${PREFIX}/share/doc/ddd/ddd-paper.ps
+ ${GZIP_CMD} ${PREFIX}/share/doc/ddd/ddd.man.ps
+.endif
+
+check:
+ (cd ${WRKSRC} ; ${GMAKE} check)
+
+.include <bsd.port.mk>
diff --git a/devel/ddd/files/md5 b/devel/ddd/files/md5
new file mode 100644
index 00000000000..c467e7cba64
--- /dev/null
+++ b/devel/ddd/files/md5
@@ -0,0 +1 @@
+MD5 (ddd-2.2.3.tar.gz) = 40cecf4fa0db57a7b999fc90dfe6020e
diff --git a/devel/ddd/pkg/COMMENT b/devel/ddd/pkg/COMMENT
new file mode 100644
index 00000000000..a3fea2bb98e
--- /dev/null
+++ b/devel/ddd/pkg/COMMENT
@@ -0,0 +1 @@
+Data Display Debugger -- a common graphical front-end for GDB/DBX/XDB
diff --git a/devel/ddd/pkg/DESCR b/devel/ddd/pkg/DESCR
new file mode 100644
index 00000000000..5305f8ac8f7
--- /dev/null
+++ b/devel/ddd/pkg/DESCR
@@ -0,0 +1,20 @@
+DDD is the Data Display Debugger, a common graphical front-end for
+GDB, DBX, and XDB debuggers.
+
+DDD is a Motif application that besides the "usual" features such as
+viewing source texts and breakpoints. DDD provides a graphical data
+display, where data structures are displayed as graphs. A simple
+mouse click dereferences pointers or reveals structure contents.
+Complex data structures can be explored incrementally and
+interactively, using automatic layout if preferred. Each time the
+program stops, the data display reflects the current variable values.
+
+See the DDD homepage at
+ http://www.cs.tu-bs.de/softech/ddd/
+Also daily CVS snapshots are at
+ ftp://ftp.ips.cs.tu-bs.de/pub/local/softech/ddd/current/
+Binaries for other systems are at:
+ ftp://ftp.ips.cs.tu-bs.de/pub/local/softech/ddd/bin/
+
+- David O'Brien
+obrien@NUXI.com
diff --git a/devel/ddd/pkg/PLIST b/devel/ddd/pkg/PLIST
new file mode 100644
index 00000000000..db74fdfa8f4
--- /dev/null
+++ b/devel/ddd/pkg/PLIST
@@ -0,0 +1,9 @@
+@comment $NetBSD: PLIST,v 1.1 1998/06/02 11:29:29 agc Exp $
+bin/ddd
+man/man1/ddd.1.gz
+share/doc/ddd/PROBLEMS
+share/doc/ddd/README
+share/doc/ddd/ddd-paper.ps.gz
+share/doc/ddd/ddd.man.ps.gz
+share/doc/ddd/sample.dddinit
+@dirrm share/doc/ddd