2015-08-18 09:31:00 +02:00
|
|
|
# $NetBSD: Makefile,v 1.57 2015/08/18 07:31:04 wiz Exp $
|
2000-04-20 09:03:54 +02:00
|
|
|
|
2012-10-25 10:28:20 +02:00
|
|
|
DISTNAME= cscope-15.8a
|
2015-08-18 09:31:00 +02:00
|
|
|
PKGREVISION= 2
|
2000-04-20 09:03:54 +02:00
|
|
|
CATEGORIES= devel
|
2000-11-11 18:49:22 +01:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=cscope/}
|
2000-04-20 09:03:54 +02:00
|
|
|
|
2006-03-04 22:28:51 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2000-04-20 09:03:54 +02:00
|
|
|
HOMEPAGE= http://cscope.sourceforge.net/
|
2003-07-21 18:35:12 +02:00
|
|
|
COMMENT= Interactive C program browser
|
2009-05-23 11:06:44 +02:00
|
|
|
LICENSE= original-bsd
|
2000-04-20 09:03:54 +02:00
|
|
|
|
2001-06-20 05:22:17 +02:00
|
|
|
GNU_CONFIGURE= YES
|
2014-07-24 15:20:10 +02:00
|
|
|
USE_TOOLS+= byacc lex:run
|
2000-04-20 09:03:54 +02:00
|
|
|
|
2005-09-20 05:52:01 +02:00
|
|
|
CONFIGURE_ARGS+= --with-flex --with-yacc
|
2010-12-18 14:06:04 +01:00
|
|
|
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
|
2001-10-03 16:57:21 +02:00
|
|
|
|
2013-10-16 14:03:29 +02:00
|
|
|
.include "../../mk/curses.buildlink3.mk"
|
2000-11-02 04:25:32 +01:00
|
|
|
.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
|