summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
Diffstat (limited to 'devel')
-rw-r--r--devel/ddd/Makefile32
-rw-r--r--devel/ddd/PLIST7
-rw-r--r--devel/ddd/distinfo8
3 files changed, 25 insertions, 22 deletions
diff --git a/devel/ddd/Makefile b/devel/ddd/Makefile
index c74af43efa3..ae6839dc369 100644
--- a/devel/ddd/Makefile
+++ b/devel/ddd/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.74 2009/12/17 21:31:43 abs Exp $
+# $NetBSD: Makefile,v 1.75 2010/06/02 13:34:34 hauke Exp $
#
-DISTNAME= ddd-3.3.11
-PKGREVISION= 2
+DISTNAME= ddd-3.3.12
+#PKGREVISION= 1
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GNU:=ddd/}
@@ -10,6 +10,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.gnu.org/software/ddd/
COMMENT= Data Display Debugger -- graphical front-end for GDB/DBX/XDB
+LICENSE= gnu-gpl-v3
+
GNU_CONFIGURE= YES
INFO_FILES= YES # PLIST
TEST_TARGET= check
@@ -29,17 +31,14 @@ PKG_DESTDIR_SUPPORT= user-destdir
INSTALLATION_DIRS+= share/doc/ddd
-post-patch:
- case ${PAPERSIZE:Q} in \
- A4) ${ECHO} "Using A4 paper size" ;; \
- Letter*) ${ECHO} "Using US Letter paper size"; \
- ${MV} ${WRKSRC:Q}/ddd/Ddd.in ${WRKSRC:Q}/ddd/Ddd.in.orig; \
- ${SED} -e 's|@Ddd@\*paperSize: 210mm x 297mm|@Ddd@*paperSize: 8.5" x 11"|' \
- < ${WRKSRC:Q}/ddd/Ddd.in.orig \
- > ${WRKSRC:Q}/ddd/Ddd.in ;; \
- "") ${ECHO} "PAPERSIZE not set - defaulting to A4" ;; \
- *) ${ECHO} "Bad PAPERSIZE - $$PAPERSIZE - defaulting to A4" ;; \
- esac;
+# Default paper size is A4
+.if !empty(PAPERSIZE:MLetter*)
+SUBST_CLASSES+= set-papersize
+SUBST_STAGE.set-papersize= pre-configure
+SUBST_MESSAGE.set-papersize= Setting papersize for program documentation to ${PAPERSIZE}.
+SUBST_FILES.set-papersize= ddd/Ddd.in
+SUBST_SED.set-papersize= -e 's|@Ddd@\*paperSize: 210mm x 297mm|@Ddd@*paperSize: 8.5" x 11"|'
+.endif
post-configure:
${ECHO} LIBXM = ${MOTIFLIB:Q} >> ${WRKSRC:Q}/ddd/Makefile
@@ -47,11 +46,12 @@ post-configure:
post-install:
${INSTALL_DATA} ${WRKSRC:Q}/README ${DESTDIR}${PREFIX:Q}/share/doc/ddd
${INSTALL_DATA} ${WRKSRC:Q}/doc/ddd-paper.ps ${DESTDIR}${PREFIX:Q}/share/doc/ddd
- ${INSTALL_DATA} ${WRKSRC:Q}/doc/ddd.ps ${DESTDIR}${PREFIX:Q}/share/doc/ddd
${INSTALL_DATA} ${WRKSRC:Q}/doc/ddd.pdf ${DESTDIR}${PREFIX:Q}/share/doc/ddd
+ ${INSTALL_DATA} ${WRKSRC:Q}/doc/ddd-themes.pdf ${DESTDIR}${PREFIX:Q}/share/doc/ddd
+ ${INSTALL_DATA} ${WRKSRC:Q}/doc/html/ddd.html ${DESTDIR}${PREFIX:Q}/share/doc/ddd
${GZIP_CMD} ${DESTDIR}${PREFIX:Q}/share/doc/ddd/ddd-paper.ps
- ${GZIP_CMD} ${DESTDIR}${PREFIX:Q}/share/doc/ddd/ddd.ps
+.include "../../sysutils/desktop-file-utils/desktopdb.mk"
.include "../../x11/libXpm/buildlink3.mk"
.include "../../mk/motif.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/ddd/PLIST b/devel/ddd/PLIST
index 0fddc6e99f2..1656a177ebb 100644
--- a/devel/ddd/PLIST
+++ b/devel/ddd/PLIST
@@ -1,8 +1,9 @@
-@comment $NetBSD: PLIST,v 1.11 2009/06/14 17:48:40 joerg Exp $
+@comment $NetBSD: PLIST,v 1.12 2010/06/02 13:34:34 hauke Exp $
bin/ddd
info/ddd-themes.info
info/ddd.info
man/man1/ddd.1
+share/applications/ddd.desktop
share/${PKGNAME}/COPYING
share/${PKGNAME}/NEWS
share/${PKGNAME}/ddd/Ddd
@@ -13,6 +14,7 @@ share/${PKGNAME}/themes/smalltitles.vsl
share/${PKGNAME}/themes/smallvalues.vsl
share/${PKGNAME}/themes/suppress.vsl
share/${PKGNAME}/themes/tinyvalues.vsl
+share/${PKGNAME}/themes/x86.vsl
share/${PKGNAME}/vsllib/arcs.vsl
share/${PKGNAME}/vsllib/builtin.vsl
share/${PKGNAME}/vsllib/colors.vsl
@@ -35,5 +37,6 @@ share/${PKGNAME}/vsllib/vsldef.vsl
share/${PKGNAME}/vsllib/vsllib.vsl
share/doc/ddd/README
share/doc/ddd/ddd-paper.ps.gz
+share/doc/ddd/ddd-themes.pdf
+share/doc/ddd/ddd.html
share/doc/ddd/ddd.pdf
-share/doc/ddd/ddd.ps.gz
diff --git a/devel/ddd/distinfo b/devel/ddd/distinfo
index d3381897fc9..fa13cd0e974 100644
--- a/devel/ddd/distinfo
+++ b/devel/ddd/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.15 2005/08/04 11:26:34 martti Exp $
+$NetBSD: distinfo,v 1.16 2010/06/02 13:34:34 hauke Exp $
-SHA1 (ddd-3.3.11.tar.gz) = c302c37bdcccaad22e235177f5962dec424b1de3
-RMD160 (ddd-3.3.11.tar.gz) = d9d705a494373f659d936cef115ad0af23797389
-Size (ddd-3.3.11.tar.gz) = 7564005 bytes
+SHA1 (ddd-3.3.12.tar.gz) = b91d2dfb1145af409138bd34517a898341724e56
+RMD160 (ddd-3.3.12.tar.gz) = fcc71b2b57f4d7a2c17ac817739674c89e1dd7a0
+Size (ddd-3.3.12.tar.gz) = 5687115 bytes
SHA1 (patch-ai) = 513621cb015cde43736ad9c28e1535358c398992