freebsd-ports/devel/cscope/Makefile
Johan van Selst 0c828804ad - Adopt port
- Simplify logic handling optional files
2014-12-11 17:36:11 +00:00

30 lines
740 B
Makefile

# Created by: Castor Fu
# $FreeBSD$
PORTNAME= cscope
PORTVERSION= 15.8a
CATEGORIES= devel
MASTER_SITES= SF
MAINTAINER= johans@FreeBSD.org
COMMENT= Interactive C program browser
LICENSE= BSD3CLAUSE
OPTIONS_DEFINE= XCSCOPE
OPTIONS_SUB= yes
XCSCOPE_DESC= Install (X)Emacs package
GNU_CONFIGURE= yes
EMACSLISPDIR= ${PREFIX}/share/emacs/site-lisp
XEMACSLISPDIR= ${PREFIX}/lib/xemacs/site-lisp
post-install:
${INSTALL_SCRIPT} ${WRKSRC}/contrib/xcscope/cscope-indexer ${STAGEDIR}${PREFIX}/bin
${MKDIR} ${STAGEDIR}${EMACSLISPDIR}
${INSTALL_DATA} ${WRKSRC}/contrib/xcscope/xcscope.el ${STAGEDIR}${EMACSLISPDIR}
${MKDIR} ${STAGEDIR}${XEMACSLISPDIR}
${LN} -sf ${EMACSLISPDIR}/xcscope.el ${STAGEDIR}${XEMACSLISPDIR}
.include <bsd.port.mk>