2010-11-15 14:45:56 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.56 2010/11/15 19:45:57 espie 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
|
|
|
|
2009-11-30 18:45:35 -05:00
|
|
|
DISTNAME= ddd-3.3.12
|
2010-11-15 14:45:56 -05:00
|
|
|
REVISION = 1
|
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
|
2010-04-24 16:18:39 -04:00
|
|
|
WANTLIB= ICE SM X11 Xaw Xau Xdmcp Xext Xmu Xpm Xt c m z stdc++ \
|
2009-08-10 02:29:51 -04:00
|
|
|
Xft Xrender expat fontconfig freetype ncurses \
|
2009-12-16 09:33:47 -05:00
|
|
|
pthread-stubs xcb jpeg png
|
2008-10-22 13:04:14 -04:00
|
|
|
|
|
|
|
MODULES= converters/libiconv
|
2000-03-11 21:16:27 -05:00
|
|
|
|
2009-09-06 06:46:25 -04:00
|
|
|
REGRESS_IS_INTERACTIVE=x11
|
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
|
2010-10-18 13:47:50 -04:00
|
|
|
USE_GROFF = Yes
|
2009-11-30 18:45:35 -05:00
|
|
|
CONFIGURE_STYLE=gnu
|
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
|
|
|
|
|
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}'"
|
2010-08-29 13:59:19 -04:00
|
|
|
FAKE_FLAGS= dddrootdir="${PREFIX}/share/ddd/" \
|
|
|
|
dddappdir="${PREFIX}/share/ddd/ddd/"
|
2000-12-19 10:26:16 -05:00
|
|
|
|
1999-12-31 19:15:50 -05:00
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/ddd
|
2009-11-30 18:45:35 -05:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/*.ps ${PREFIX}/share/doc/ddd
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/*.pdf ${PREFIX}/share/doc/ddd
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/ddd/html
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/html/* ${PREFIX}/share/doc/ddd/html
|
1999-12-31 19:15:50 -05:00
|
|
|
|
1998-05-22 19:55:12 -04:00
|
|
|
.include <bsd.port.mk>
|