29 lines
717 B
Makefile
29 lines
717 B
Makefile
# $NetBSD: Makefile,v 1.14 2001/02/16 14:38:21 wiz Exp $
|
|
|
|
DISTNAME= cscope-15.0bl2
|
|
PKGNAME= cscope-15.0.2
|
|
CATEGORIES= devel
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=cscope/}
|
|
|
|
MAINTAINER= packages@netbsd.org
|
|
HOMEPAGE= http://cscope.sourceforge.net/
|
|
COMMENT= interactive C program browser
|
|
|
|
GNU_CONFIGURE= YES
|
|
USE_CURSES= YES
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
.if ${NEED_NCURSES} == "YES"
|
|
CONFIGURE_ARGS+=--with-ncurses=${LOCALBASE}
|
|
|
|
post-extract:
|
|
.for FILE in command.c display.c edit.c exec.c find.c help.c input.c main.c
|
|
@cd ${WRKSRC}/src; \
|
|
${MV} ${FILE} ${FILE}.orig; \
|
|
${SED} "s/^#include <curses.h>/#include <ncurses.h>/" \
|
|
< ${FILE}.orig > ${FILE}
|
|
.endfor
|
|
.endif
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|