pkgsrc/devel/cscope/Makefile

37 lines
1 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.57 2015/08/18 07:31:04 wiz Exp $
DISTNAME= cscope-15.8a
PKGREVISION= 2
CATEGORIES= devel
2000-11-11 18:49:22 +01:00
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
2014-07-24 15:20:10 +02:00
USE_TOOLS+= byacc lex:run
CONFIGURE_ARGS+= --with-flex --with-yacc
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= post-patch
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
2013-10-16 14:03:29 +02:00
.include "../../mk/curses.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
2013-10-16 14:03:29 +02:00
.if ${CURSES_TYPE} == "ncurses"
CONFIGURE_ARGS+= --with-ncurses=${BUILDLINK_PREFIX.ncurses}
.endif