# Template file for 'cscope'
pkgname=cscope
version=15.8a
revision=2
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="ncurses-devel"
short_desc="Interactively examine a C program"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
license="BSD"
homepage="http://cscope.sourceforge.net/"
distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.gz"
checksum=eb736ac40d5abebe8fa46820c7a8eccc8a17966a9a5f70375367b77177874d1e

post_install() {
	vlicense COPYING
	cd contrib/xcscope
	vbin cscope-indexer
	vmkdir usr/share/emacs/site-lisp
	vinstall xcscope.el 644 usr/share/emacs/site-lisp
}
