pkgsrc/devel/cscope/Makefile
2004-01-03 00:54:18 +00:00

31 lines
747 B
Makefile

# $NetBSD: Makefile,v 1.30 2004/01/03 00:54:18 heinz Exp $
#
DISTNAME= cscope-15.4
PKGREVISION= 1
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=cscope/}
MAINTAINER= tech-pkg@NetBSD.org
HOMEPAGE= http://cscope.sourceforge.net/
COMMENT= Interactive C program browser
GNU_CONFIGURE= YES
CONFIG_GUESS_OVERRIDE= ${WRKSRC}/config.guess
CONFIG_SUB_OVERRIDE= ${WRKSRC}/config.sub
USE_BUILDLINK2= YES
CONFIGURE_ARGS+= --with-ncurses=${BUILDLINK_PREFIX.ncurses}
CONFIGURE_ARGS+= --with-flex
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "SunOS"
BUILD_DEPENDS+= flex-[0-9]*:../../devel/flex
LEX= ${LOCALBASE}/bin/flex
.endif
CONFIGURE_ENV+= LEX=${LEX}
.include "../../devel/ncurses/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"