pkgsrc/devel/cscope/Makefile
jlam 0d72500311 Convert to use buildlink.mk files and mark as USE_BUILDLINK_ONLY. Also
use a slightly more general mechanism to replaces references to <curses.h>
to <ncurses.h> in the source files.
2001-06-20 03:22:17 +00:00

28 lines
777 B
Makefile

# $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"