blob: a7ac1e8a9c0f786bf64ef5bdd8f53ad14b0f181d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
# $NetBSD: Makefile,v 1.12 2000/11/02 03:25:32 wiz Exp $
DISTNAME= cscope-15.0bl2
PKGNAME= cscope-15.0.2
CATEGORIES= devel
MASTER_SITES= http://download.sourceforge.net/cscope/
MAINTAINER= packages@netbsd.org
HOMEPAGE= http://cscope.sourceforge.net/
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"
|