pkgsrc/devel/ddd/Makefile
joerg 58c3144236 Mechanically replace all includes of buildlink3.mk of the following
packages with the modular Xorg equivalent. Those are falling back
to the old location by default, so this commmit doesn't change
dependencies.

graphics/xpm ==> x11/libXpm
fonts/Xft2 ==> x11/libXft
x11/Xfixes ==> x11/libXfixes
x11/xcursor ==> x11/libXcursor
x11/Xrender ==> x11/libXrender
x11/Xrandr ==> libXrandr
2006-12-15 20:32:52 +00:00

53 lines
1.6 KiB
Makefile

# $NetBSD: Makefile,v 1.73 2006/12/15 20:32:53 joerg Exp $
#
DISTNAME= ddd-3.3.11
PKGREVISION= 2
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GNU:=ddd/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.gnu.org/software/ddd/
COMMENT= Data Display Debugger -- graphical front-end for GDB/DBX/XDB
GNU_CONFIGURE= YES
INFO_FILES= # PLIST
TEST_TARGET= check
USE_TOOLS+= gmake gzip
USE_LANGUAGES= c c++
USE_X11BASE= YES
GCC_REQD+= 3.0
CONFIGURE_ARGS+= --with-ncurses=no
CONFIGURE_ENV+= COMPFACE=${FALSE:Q}
.include "../../mk/bsd.prefs.mk"
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;
post-configure:
${ECHO} LIBXM = ${MOTIFLIB:Q} >> ${WRKSRC:Q}/ddd/Makefile
post-install:
${INSTALL_DATA_DIR} ${PREFIX:Q}/share/doc/ddd
${INSTALL_DATA} ${WRKSRC:Q}/README ${PREFIX:Q}/share/doc/ddd
${INSTALL_DATA} ${WRKSRC:Q}/doc/ddd-paper.ps ${PREFIX:Q}/share/doc/ddd
${INSTALL_DATA} ${WRKSRC:Q}/doc/ddd.ps ${PREFIX:Q}/share/doc/ddd
${INSTALL_DATA} ${WRKSRC:Q}/doc/ddd.pdf ${PREFIX:Q}/share/doc/ddd
${GZIP_CMD} ${PREFIX:Q}/share/doc/ddd/ddd-paper.ps
${GZIP_CMD} ${PREFIX:Q}/share/doc/ddd/ddd.ps
.include "../../x11/libXpm/buildlink3.mk"
.include "../../mk/motif.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"