mestre 6c71c67982 The first #ifdef around pledge was totally wrong and this way this pledge was
never called. This problem was pointed out by jca@ a big thank you!
As upstream doesn't seem to be active anymore both #ifdefs around the pledges
can go away.

OK tb@
2016-03-25 12:41:56 +00:00

31 lines
686 B
Makefile

# $OpenBSD: Makefile,v 1.20 2016/03/25 12:41:56 mestre Exp $
COMMENT = code browsing program
DISTNAME = cscope-15.8b
REVISION = 1
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>