2008-10-22 13:04:14 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.47 2008/10/22 17:04:14 landry Exp $
|
2001-05-05 20:12:42 -04:00
|
|
|
|
2007-07-07 17:38:36 -04:00
|
|
|
COMMENT= Data Display Debugger, graphical front-end for GDB, etc
|
2000-02-10 22:01:54 -05:00
|
|
|
|
2005-06-28 15:31:56 -04:00
|
|
|
DISTNAME= ddd-3.3.11
|
2008-10-22 13:04:14 -04:00
|
|
|
PKGNAME= ${DISTNAME}p3
|
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
|
|
|
|
2008-10-22 13:04:14 -04:00
|
|
|
# GPLv2 / LGPLv2.1
|
2000-03-11 21:16:27 -05:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2007-11-13 09:06:21 -05:00
|
|
|
WANTLIB= ICE SM X11 Xaw Xau Xdmcp Xext Xmu Xp Xpm Xt c m z stdc++ \
|
2008-10-22 13:04:14 -04:00
|
|
|
Xft Xrender expat fontconfig freetype ncurses
|
|
|
|
|
|
|
|
MODULES= converters/libiconv
|
2000-03-11 21:16:27 -05:00
|
|
|
|
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
|
2008-01-04 13:38:51 -05:00
|
|
|
REGRESS_FLAGS= "DISPLAY=$${DISPLAY}" "HOME=$${HOME}"
|
2003-10-26 12:30:39 -05:00
|
|
|
|
2004-01-18 09:00:54 -05:00
|
|
|
VMEM_WARNING= Yes
|
2001-04-18 11:01:02 -04:00
|
|
|
USE_MOTIF= any
|
2000-03-11 21:16:27 -05:00
|
|
|
USE_GMAKE= Yes
|
2007-03-31 08:21:38 -04:00
|
|
|
USE_LIBTOOL= Yes
|
2006-11-11 16:04:27 -05:00
|
|
|
USE_X11= Yes
|
2004-03-04 12:49:26 -05:00
|
|
|
CONFIGURE_STYLE=gnu autoconf no-autoheader
|
2008-10-22 13:04:14 -04:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \
|
|
|
|
CXXFLAGS="${CXXFLAGS}"
|
|
|
|
|
|
|
|
# needed for is_ppc_file() in ddd/filetype.C
|
|
|
|
.if ${MACHINE_ARCH} == "powerpc"
|
|
|
|
CONFIGURE_ENV+= LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib"
|
|
|
|
LIB_DEPENDS+= elf::devel/libelf
|
|
|
|
.endif
|
|
|
|
|
2005-06-28 15:31:56 -04:00
|
|
|
AUTOCONF_VERSION=2.59
|
2003-10-26 12:30:39 -05:00
|
|
|
SEPARATE_BUILD= simple
|
2003-04-10 12:51:21 -04:00
|
|
|
|
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
|
|
|
|
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
|
|
|
|
|
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>
|