blob: f0c5d1ec6c0874c32406cc35a76e3dbae76c150a (
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
29
30
31
32
33
34
35
36
|
# $NetBSD: Makefile,v 1.7 2000/06/14 02:10:57 hubertf 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
.include "../../mk/bsd.prefs.mk"
GOOD_CURSES= 1.4[S-Z] 1.4Z[A-Z] 1.[5-9]*
.for PATTERN in ${GOOD_CURSES}
.if ${OS_VERSION:M${PATTERN}} != ""
CURSES_GOOD?=
.endif
.endfor
.if !defined(CURSES_GOOD)
DEPENDS+= ncurses>=5.0:../../devel/ncurses
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"
|