7d78d9b2e7
This closes pkg/12893 from Martti Kuparinen <martti.kuparinen@iki.fi> Changes are - data themes - debugger interaction while the program is running - support for JDB 1.2 - several bug fixes More information is available at ftp://ftp.gnu.org/pub/gnu/ddd/NEWS
50 lines
1.5 KiB
Makefile
50 lines
1.5 KiB
Makefile
# $NetBSD: Makefile,v 1.33 2001/06/13 20:45:08 skrll Exp $
|
|
#
|
|
|
|
DISTNAME= ddd-3.3
|
|
CATEGORIES= devel
|
|
MASTER_SITES= ${MASTER_SITE_GNU:=ddd/}
|
|
|
|
MAINTAINER= frueauf@netbsd.org
|
|
HOMEPAGE= http://www.gnu.org/software/ddd/
|
|
COMMENT= Data Display Debugger -- a common graphical front-end for GDB/DBX/XDB
|
|
|
|
USE_MOTIF= YES
|
|
USE_XPM= YES
|
|
GNU_CONFIGURE= YES
|
|
USE_GMAKE= YES
|
|
|
|
CONFIGURE_ARGS+= --with-ncurses=no
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
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:
|
|
@${INSTALL_DATA_DIR} ${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.ps ${PREFIX}/share/doc/ddd
|
|
${INSTALL_DATA} ${WRKSRC}/doc/ddd.pdf ${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.ps
|
|
|
|
test:
|
|
(cd ${WRKSRC} ; ${GMAKE} check)
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|