# New ports collection makefile for: cgdb # Date created: 2005-12-18 # Whom: Gea-Suan Lin # # $FreeBSD$ # PORTNAME= cgdb PORTVERSION= 0.6.3 CATEGORIES= devel MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} MAINTAINER= gslin@gslin.org COMMENT= A curses-based interface to the GNU Debugger INFO= cgdb MAN1= cgdb.1 GNU_CONFIGURE= yes .include .if ${OSVERSION} < 600000 IGNORE= it can be compiled, but cannot run .endif .if ${OSVERSION} < 700016 LIB_DEPENDS+= readline.5:${PORTSDIR}/devel/readline LDFLAGS+= -rpath ${LOCALBASE}/lib CONFIGURE_ARGS+= --with-readline=${LOCALBASE} CONFIGURE_ENV+= LDFLAGS="${LDFLAGS}" .endif .include