openbsd-ports/devel/ddd/Makefile

59 lines
1.6 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.47 2008/10/22 17:04:14 landry Exp $
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
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/}
HOMEPAGE= http://www.gnu.org/software/ddd/
# GPLv2 / LGPLv2.1
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++ \
Xft Xrender expat fontconfig freetype ncurses
MODULES= converters/libiconv
REGRESS_IS_INTERACTIVE=Yes
# Note - we need ~/.XAuthority, which doesn't exist in
# /${PKGNAME}_writes_to_home
REGRESS_FLAGS= "DISPLAY=$${DISPLAY}" "HOME=$${HOME}"
VMEM_WARNING= Yes
USE_MOTIF= any
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
CONFIGURE_STYLE=gnu autoconf no-autoheader
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
SEPARATE_BUILD= simple
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
DOCS= ddd-paper.ps ddd-themes.pdf ddd-themes.ps ddd.pdf ddd.ps html/ddd.html
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>