blob: 3f53def0c59e71b8e2aec498efff52434ccc9e57 (
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.15 2001/06/20 03:22:17 jlam 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_BUILDLINK_ONLY= YES
CONFIGURE_ARGS+= --with-ncurses=${BUILDLINK_DIR}
# Change references to <curses.h> to <ncurses.h> in the source files.
NCURSES_SED= -e "s|<curses.h>|<ncurses.h>|g"
post-extract:
cd ${WRKSRC}/src; for file in *.[ch]; do \
${MV} -f $${file} $${file}.presubst; \
${SED} ${NCURSES_SED} $${file}.presubst > $${file}; \
${RM} -f $${file}.presubst; \
done
.include "../../devel/ncurses/buildlink.mk"
.include "../../mk/bsd.pkg.mk"
|