2003-10-26 12:30:39 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.36 2003/10/26 17:30:39 sturm Exp $
|
2001-05-05 20:12:42 -04:00
|
|
|
|
|
|
|
COMMENT= "Data Display Debugger, graphical front-end for GDB, etc"
|
2000-02-10 22:01:54 -05:00
|
|
|
|
2003-10-26 12:30:39 -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/}
|
1998-05-22 19:55:12 -04:00
|
|
|
|
2000-08-17 01:47:24 -04:00
|
|
|
HOMEPAGE= http://www.gnu.org/software/ddd/
|
2000-03-11 21:16:27 -05:00
|
|
|
|
2003-04-10 12:51:21 -04:00
|
|
|
# GPL
|
2000-03-11 21:16:27 -05:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
2003-10-26 12:30:39 -05:00
|
|
|
REGRESS_IS_INTERACTIVE=Yes
|
|
|
|
# Note - we need ~/.XAuthority, which doesn't exist in
|
|
|
|
# /${PKGNAME}_writes_to_home
|
|
|
|
REGRESS_FLAGS+= "DISPLAY=$${DISPLAY}" "HOME=$${HOME}"
|
|
|
|
|
2001-04-18 11:01:02 -04:00
|
|
|
USE_MOTIF= any
|
2000-03-11 21:16:27 -05:00
|
|
|
USE_GMAKE= Yes
|
2002-03-21 00:28:20 -05:00
|
|
|
CONFIGURE_STYLE=gnu
|
2003-10-26 12:30:39 -05:00
|
|
|
SEPARATE_BUILD= simple
|
2003-04-10 12:51:21 -04:00
|
|
|
|
|
|
|
SUBST_VARS+= DISTNAME
|
|
|
|
|
2002-03-21 00:28:20 -05:00
|
|
|
MODGNU_CONFIG_GUESS_DIRS= ${WRKSRC} ${WRKSRC}/libiberty \
|
|
|
|
${WRKSRC}/readline/support
|
2002-02-20 16:00:36 -05:00
|
|
|
CONFIGURE_ARGS= --with-readline-libraries=/usr/lib
|
1998-05-22 19:55:12 -04:00
|
|
|
|
2002-03-21 00:28:20 -05:00
|
|
|
MAKE_FLAGS= MAINTAINER="'${MAINTAINER}'"
|
2000-12-19 10:26:16 -05:00
|
|
|
|
2001-11-11 08:57:32 -05:00
|
|
|
VMEM_WARNING= Yes
|
1998-05-22 19:55:12 -04:00
|
|
|
|
2003-10-26 12:30:39 -05:00
|
|
|
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
|
|
|
|
1999-12-31 19:15:50 -05: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
|
1999-12-31 19:15:50 -05:00
|
|
|
@${GZIP_CMD} ${PREFIX}/share/doc/ddd/ddd-paper.ps
|
2003-10-26 12:30:39 -05:00
|
|
|
@${GZIP_CMD} ${PREFIX}/share/doc/ddd/ddd-themes.ps
|
1999-12-31 19:15:50 -05:00
|
|
|
@${GZIP_CMD} ${PREFIX}/share/doc/ddd/ddd.ps
|
|
|
|
|
1998-05-22 19:55:12 -04:00
|
|
|
.include <bsd.port.mk>
|