2018-10-04 13:56:22 +00:00

30 lines
671 B
Makefile

# $OpenBSD: Makefile,v 1.21 2018/10/04 13:56:22 benoit Exp $
COMMENT = code browsing program
DISTNAME = cscope-15.9
CATEGORIES = devel
HOMEPAGE = http://cscope.sourceforge.net/
MAINTAINER = Benoit Lecocq <benoit@openbsd.org>
# BSD
PERMIT_PACKAGE_CDROM = Yes
# uses pledge()
WANTLIB = c ncurses
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=cscope/}
CONFIGURE_STYLE = gnu
post-install:
@cd ${WRKSRC}; ${INSTALL_SCRIPT} contrib/xcscope/cscope-indexer \
${PREFIX}/bin/cscope-indexer
${INSTALL_DATA_DIR} ${PREFIX}/share/emacs/site-lisp
@cd ${WRKSRC}; ${INSTALL_DATA} contrib/xcscope/xcscope.el \
${PREFIX}/share/emacs/site-lisp
.include <bsd.port.mk>