openbsd-ports/devel/ddd/Makefile

56 lines
1.5 KiB
Makefile
Raw Normal View History

2010-08-29 13:59:19 -04:00
# $OpenBSD: Makefile,v 1.53 2010/08/29 17:59:19 jasper Exp $
COMMENT= Data Display Debugger, graphical front-end for GDB, etc
2000-02-10 22:01:54 -05:00
DISTNAME= ddd-3.3.12
PKGNAME= ${DISTNAME}p1
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
WANTLIB= ICE SM X11 Xaw Xau Xdmcp Xext Xmu Xpm Xt c m z stdc++ \
Xft Xrender expat fontconfig freetype ncurses \
pthread-stubs xcb jpeg png
MODULES= converters/libiconv
REGRESS_IS_INTERACTIVE=x11
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
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
SEPARATE_BUILD= simple
CONFIGURE_ARGS= --with-readline-libraries=/usr/lib
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
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/ddd
${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
.include <bsd.port.mk>