Import ctags-5.8nb20150427 as wip/ctags-git.
Exuberant Ctags generates an index (or tag) file of source language objects in source files that allows these items to be quickly and easily located by a text editor or other utility. Alternatively, it can generate a cross reference file which lists, in human-readable form, information about the various objects found in a set of source code files. Supported languages include: Ada, Assembler, ASP, Awk, C, C++, Clojure, CSS, BETA, COBOL, D, Eiffel, Falcon, Fortran, Go, Java, Json, Lisp, Make, Pascal, Perl, PHP, Python, REXX, Ruby, Rust, Scheme, Shell scripts (Bourne/Korn/Z), S-Lang, Tcl, Vim and YACC/Bison.
This commit is contained in:
parent
50480cc7c8
commit
cd5a85197f
5 changed files with 90 additions and 0 deletions
12
ctags-git/DESCR
Normal file
12
ctags-git/DESCR
Normal file
|
@ -0,0 +1,12 @@
|
|||
Exuberant Ctags generates an index (or tag) file of source language
|
||||
objects in source files that allows these items to be quickly and
|
||||
easily located by a text editor or other utility.
|
||||
|
||||
Alternatively, it can generate a cross reference file which lists,
|
||||
in human-readable form, information about the various objects found
|
||||
in a set of source code files.
|
||||
|
||||
Supported languages include: Ada, Assembler, ASP, Awk, C, C++, Clojure, CSS,
|
||||
BETA, COBOL, D, Eiffel, Falcon, Fortran, Go, Java, Json, Lisp, Make, Pascal,
|
||||
Perl, PHP, Python, REXX, Ruby, Rust, Scheme, Shell scripts (Bourne/Korn/Z),
|
||||
S-Lang, Tcl, Vim and YACC/Bison.
|
33
ctags-git/Makefile
Normal file
33
ctags-git/Makefile
Normal file
|
@ -0,0 +1,33 @@
|
|||
# $NetBSD: Makefile,v 1.1 2015/04/27 21:17:15 jonthn Exp $
|
||||
|
||||
DISTNAME= ctags-5.8
|
||||
CATEGORIES= devel
|
||||
MASTER_SITES= ${MASTER_SITE_GITHUB:=fishman/}
|
||||
|
||||
MAINTAINER= pkgsrc-users@NetBSD.org
|
||||
HOMEPAGE= https://github.com/fishman/ctags
|
||||
COMMENT= Exuberant (feature-filled) tagfile generator for vi, emacs and clones
|
||||
LICENSE= gnu-gpl-v2
|
||||
|
||||
GIT_REPOSITORIES= ctags
|
||||
GIT_REPO.ctags= git://github.com/fishman/ctags
|
||||
GIT_MODULE.ctags= ctags
|
||||
|
||||
WRKSRC= ${WRKDIR}/${GIT_MODULE.ctags}
|
||||
|
||||
USE_TOOLS= aclocal autoreconf autoconf automake autoheader gmake
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ARGS+= --enable-macro-patterns
|
||||
CONFIGURE_ARGS+= --enable-readlib
|
||||
CONFIGURE_ARGS+= --disable-readcmd
|
||||
CONFIGURE_ARGS+= --enable-custom-config=${PKG_SYSCONFDIR}/ctags.conf
|
||||
|
||||
CONFLICTS= exctags-[0-9]*
|
||||
|
||||
pre-configure:
|
||||
cd ${WRKSRC} && autoreconf -f -i -v
|
||||
|
||||
.include "options.mk"
|
||||
|
||||
.include "../../wip/mk/git-package.mk"
|
||||
.include "../../mk/bsd.pkg.mk"
|
17
ctags-git/PLIST
Normal file
17
ctags-git/PLIST
Normal file
|
@ -0,0 +1,17 @@
|
|||
@comment $NetBSD: PLIST,v 1.1 2015/04/27 21:17:15 jonthn Exp $
|
||||
bin/${PREFIX_PROGRAM}ctags
|
||||
${PLIST.emacs}bin/${PREFIX_PROGRAM}etags
|
||||
include/readtags.h
|
||||
lib/readtags.o
|
||||
libexec/ctags/drivers/coffeetags
|
||||
man/man1/${PREFIX_PROGRAM}ctags.1
|
||||
${PLIST.emacs}man/man1/${PREFIX_PROGRAM}etags.1
|
||||
share/ctags/corpora/RFC1213-MIB.txt
|
||||
share/ctags/corpora/ctags.ctags
|
||||
share/ctags/optlib/coffee.ctags
|
||||
share/ctags/optlib/ctags.ctags
|
||||
share/ctags/optlib/mib.ctags
|
||||
share/ctags/preload/default.ctags
|
||||
@pkgdir etc/ctags/preload
|
||||
@pkgdir etc/ctags/optlib
|
||||
@pkgdir etc/ctags/corpora
|
1
ctags-git/distinfo
Normal file
1
ctags-git/distinfo
Normal file
|
@ -0,0 +1 @@
|
|||
$NetBSD: distinfo,v 1.1 2015/04/27 21:17:15 jonthn Exp $
|
27
ctags-git/options.mk
Normal file
27
ctags-git/options.mk
Normal file
|
@ -0,0 +1,27 @@
|
|||
# $NetBSD: options.mk,v 1.1 2015/04/27 21:17:15 jonthn Exp $
|
||||
|
||||
PKG_OPTIONS_VAR= PKG_OPTIONS.ctags
|
||||
PKG_SUPPORTED_OPTIONS= exctags emacs
|
||||
|
||||
.include "../../mk/bsd.options.mk"
|
||||
|
||||
# Package-specific option-handling
|
||||
|
||||
###
|
||||
### Use prefixed program name 'exctags'
|
||||
###
|
||||
.if !empty(PKG_OPTIONS:Mexctags)
|
||||
CONFIGURE_ARGS+= --program-prefix=ex
|
||||
PLIST_SUBST+= PREFIX_PROGRAM="ex"
|
||||
.else
|
||||
PLIST_SUBST+= PREFIX_PROGRAM=""
|
||||
.endif
|
||||
|
||||
###
|
||||
### Generate tool/link for emacs support
|
||||
###
|
||||
PLIST_VARS+= emacs
|
||||
.if !empty(PKG_OPTIONS:Memacs)
|
||||
CONFIGURE_ARGS+= --enable-etags
|
||||
PLIST.emacs= yes
|
||||
.endif
|
Loading…
Reference in a new issue