20a099a026
Based on patch by Brad Harder on pkgsrc-users. Changes not found.
34 lines
975 B
Makefile
34 lines
975 B
Makefile
# $NetBSD: Makefile,v 1.62 2021/01/03 00:42:55 wiz Exp $
|
|
|
|
DISTNAME= cscope-15.9
|
|
CATEGORIES= devel
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=cscope/}
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://cscope.sourceforge.net/
|
|
COMMENT= Interactive C program browser
|
|
LICENSE= original-bsd
|
|
|
|
GNU_CONFIGURE= YES
|
|
USE_TOOLS+= byacc lex:run
|
|
|
|
INSTALLATION_DIRS+= share/emacs/site-lisp
|
|
|
|
SUBST_CLASSES+= path
|
|
SUBST_SED.path= -e "s,PATH=\"\\(.*\\),PATH=\"${PREFIX}/bin:\\1,"
|
|
SUBST_FILES.path= contrib/xcscope/cscope-indexer
|
|
SUBST_MESSAGE.path= Fixing path in cscope-indexer.
|
|
SUBST_STAGE.path= pre-configure
|
|
|
|
post-install:
|
|
${INSTALL_SCRIPT} ${WRKSRC}/contrib/xcscope/cscope-indexer \
|
|
${DESTDIR}${PREFIX}/bin
|
|
${INSTALL_DATA} ${WRKSRC}/contrib/xcscope/xcscope.el \
|
|
${DESTDIR}${PREFIX}/share/emacs/site-lisp
|
|
|
|
.include "../../mk/curses.buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|
|
|
|
.if ${CURSES_TYPE} == "ncurses"
|
|
CONFIGURE_ARGS+= --with-ncurses=${BUILDLINK_PREFIX.ncurses}
|
|
.endif
|