Index: head/devel/Makefile =================================================================== --- head/devel/Makefile +++ head/devel/Makefile @@ -6831,6 +6831,7 @@ SUBDIR += xa65 SUBDIR += xbyak SUBDIR += xc3sprog + SUBDIR += xcscope.el SUBDIR += xdg-user-dirs SUBDIR += xdg-utils SUBDIR += xdgpaths Index: head/devel/cscope/Makefile =================================================================== --- head/devel/cscope/Makefile +++ head/devel/cscope/Makefile @@ -14,16 +14,4 @@ GNU_CONFIGURE= yes -OPTIONS_DEFINE= XCSCOPE -OPTIONS_SUB= yes - -XCSCOPE_DESC= Install Emacs package - -EMACSLISPDIR= ${PREFIX}/share/emacs/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} - .include Index: head/devel/cscope/pkg-plist =================================================================== --- head/devel/cscope/pkg-plist +++ head/devel/cscope/pkg-plist @@ -1,5 +1,3 @@ bin/cscope bin/ocs man/man1/cscope.1.gz -%%XCSCOPE%%bin/cscope-indexer -%%XCSCOPE%%share/emacs/site-lisp/xcscope.el Index: head/devel/xcscope.el/Makefile =================================================================== --- head/devel/xcscope.el/Makefile +++ head/devel/xcscope.el/Makefile @@ -0,0 +1,30 @@ +# $FreeBSD$ + +PORTNAME= xcscope.el +DISTVERSIONPREFIX= v +DISTVERSION= 1.5 +CATEGORIES= devel + +MAINTAINER= jhb@FreeBSD.org +COMMENT= Emacs minor mode for using cscope + +LICENSE= GPLv2+ + +RUN_DEPENDS= cscope:devel/cscope + +USES= emacs +EMACS_NO_DEPENDS= yes + +USE_GITHUB= yes +GH_ACCOUNT= dkogan + +NO_ARCH= yes +NO_BUILD= yes + +PLIST_FILES= ${EMACS_SITE_LISPDIR}/xcscope.el + +do-install: + ${INSTALL_DATA} ${WRKSRC}/xcscope.el \ + ${STAGEDIR}${PREFIX}/${EMACS_SITE_LISPDIR} + +.include Index: head/devel/xcscope.el/distinfo =================================================================== --- head/devel/xcscope.el/distinfo +++ head/devel/xcscope.el/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1605054294 +SHA256 (dkogan-xcscope.el-v1.5_GH0.tar.gz) = 463c100e6291a698d262962ac69b1de53d58cb5bc67bab73d958eda926a6803d +SIZE (dkogan-xcscope.el-v1.5_GH0.tar.gz) = 30161 Index: head/devel/xcscope.el/pkg-descr =================================================================== --- head/devel/xcscope.el/pkg-descr +++ head/devel/xcscope.el/pkg-descr @@ -0,0 +1,4 @@ +xcscope is a wrapper around cscope that can be used to navigate source +files in GNU Emacs. + +WWW: https://github.com/dkogan/xcscope.el