openbsd-ports/devel/ddd/Makefile

51 lines
1.3 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.36 2003/10/26 17:30:39 sturm Exp $
COMMENT= "Data Display Debugger, graphical front-end for GDB, etc"
2000-02-10 22:01:54 -05:00
DISTNAME= ddd-3.3.7
1998-12-08 23:07:46 -05:00
CATEGORIES= devel
2002-05-13 14:50:36 -04:00
MASTER_SITES= ${MASTER_SITE_GNU:=ddd/}
HOMEPAGE= http://www.gnu.org/software/ddd/
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
REGRESS_IS_INTERACTIVE=Yes
# Note - we need ~/.XAuthority, which doesn't exist in
# /${PKGNAME}_writes_to_home
REGRESS_FLAGS+= "DISPLAY=$${DISPLAY}" "HOME=$${HOME}"
USE_MOTIF= any
USE_GMAKE= Yes
2002-03-21 00:28:20 -05:00
CONFIGURE_STYLE=gnu
SEPARATE_BUILD= simple
SUBST_VARS+= DISTNAME
2002-03-21 00:28:20 -05:00
MODGNU_CONFIG_GUESS_DIRS= ${WRKSRC} ${WRKSRC}/libiberty \
${WRKSRC}/readline/support
CONFIGURE_ARGS= --with-readline-libraries=/usr/lib
2002-03-21 00:28:20 -05:00
MAKE_FLAGS= MAINTAINER="'${MAINTAINER}'"
2000-12-19 10:26:16 -05:00
VMEM_WARNING= Yes
DOCS= ddd-paper.ps ddd-themes.pdf ddd-themes.ps ddd.pdf ddd.ps html/ddd.html
pre-build:
find ${WRKSRC} -type f \( -name '*.C' -o -name '*.h' \) -print0 | xargs -0 \
perl -pi -e 'next if /#include/; s/\bstring\b/gnu_string/g;'
2000-08-18 16:45:07 -04:00
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/ddd
2002-03-21 00:28:20 -05:00
cd ${WRKSRC}/doc && ${INSTALL_DATA} ${DOCS} ${PREFIX}/share/doc/ddd
@${GZIP_CMD} ${PREFIX}/share/doc/ddd/ddd-paper.ps
@${GZIP_CMD} ${PREFIX}/share/doc/ddd/ddd-themes.ps
@${GZIP_CMD} ${PREFIX}/share/doc/ddd/ddd.ps
.include <bsd.port.mk>