ports/113125: New ports: japanese/ctags
Issei SUZUKI
issei at issei.org
Tue May 29 14:00:12 UTC 2007
>Number: 113125
>Category: ports
>Synopsis: New ports: japanese/ctags
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Tue May 29 14:00:10 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator: Issei SUZUKI
>Release: 6.2-RELEASE
>Organization:
individual
>Environment:
FreeBSD fbsd.issei.org 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Fri Jan 12 11:05:30 UTC 2007 root at dessler.cse.buffalo.edu:/usr/obj/usr/src/sys/SMP i386
>Description:
A feature-filled tagfile generator for vi and emacs clones with Japanese language support. I made this port based on devel/ctags.
>How-To-Repeat:
>Fix:
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# japanese/ctags
# japanese/ctags/Makefile
# japanese/ctags/files
# japanese/ctags/files/patch-aa
# japanese/ctags/files/patch-Makefile.in
# japanese/ctags/pkg-descr
# japanese/ctags/distinfo
# japanese/ctags/pkg-message
# japanese/ctags/pkg-plist
#
echo c - japanese/ctags
mkdir -p japanese/ctags > /dev/null 2>&1
echo x - japanese/ctags/Makefile
sed 's/^X//' >japanese/ctags/Makefile << 'END-of-japanese/ctags/Makefile'
X# New ports collection makefile for: Exuberant Ctags with Japanese support
X# Date created: 29 May 2007
X# Whom: issei
X#
X# $FreeBSD$
X#
X
XPORTNAME= ctags
XPORTVERSION= 5.6j1
XCATEGORIES= devel
XMASTER_SITES= http://hp.vector.co.jp/authors/VA025040/ctags/downloads/
X
XMAINTAINER= issei at issei.org
XCOMMENT= A feature-filled tagfile generator with Japanese support
X
XGNU_CONFIGURE= yes
XCONFIGURE_ARGS= --enable-macro-patterns --with-readlib
X
XMAN1= jexctags.1
X
XPKGMESSAGE= ${WRKDIR}/pkg-message
X
Xpost-install:
X.if !defined(NOPORTDOCS)
X @${MKDIR} ${DOCSDIR}
X.for file in README README_J.TXT
X @${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
X.endfor
X.endif
X @${STRIP_CMD} ${PREFIX}/bin/jexctags
X @${SED} 's:%%PREFIX%%:'${PREFIX}':' < ${PKGDIR}/pkg-message > ${PKGMESSAGE}
X @${CAT} ${PKGMESSAGE}
X
X.include <bsd.port.mk>
END-of-japanese/ctags/Makefile
echo c - japanese/ctags/files
mkdir -p japanese/ctags/files > /dev/null 2>&1
echo x - japanese/ctags/files/patch-aa
sed 's/^X//' >japanese/ctags/files/patch-aa << 'END-of-japanese/ctags/files/patch-aa'
X--- ctags.1.orig Mon Mar 19 10:21:32 2001
X+++ ctags.1 Wed Mar 21 11:23:43 2001
X@@ -1,19 +1,19 @@
X-.TH CTAGS 1 "Version 5.0" "Darren Hiebert"
X+.TH JEXCTAGS 1 "Version 5.0" "Darren Hiebert"
X
X
X .SH "NAME"
X-ctags \- Generate tag files for source code
X+jexctags \- Generate tag files for source code
X
X
X .SH SYNOPSIS
X .TP 6
X-\fBctags\fP [\fBoptions\fP] [\fIfile(s)\fP]
X+\fBjexctags\fP [\fBoptions\fP] [\fIfile(s)\fP]
X .TP 6
X \fBetags\fP [\fBoptions\fP] [\fIfile(s)\fP]
X
X
X .SH "DESCRIPTION"
X-The \fBctags\fP and \fBetags\fP programs (hereinafter collectively referred to
X+The \fBjexctags\fP and \fBetags\fP programs (hereinafter collectively referred to
X as \fBctags\fP, except where distinguished) generate an index (or "tag") file
X for a variety of language objects found in \fIfile(s)\fP.
X This tag file allows these items to be quickly and easily located by a text
END-of-japanese/ctags/files/patch-aa
echo x - japanese/ctags/files/patch-Makefile.in
sed 's/^X//' >japanese/ctags/files/patch-Makefile.in << 'END-of-japanese/ctags/files/patch-Makefile.in'
X--- Makefile.in.orig Tue May 30 22:51:24 2006
X+++ Makefile.in Tue May 30 22:51:27 2006
X@@ -6,7 +6,7 @@
X # These are the names of the installed programs, in case you wish to change
X # them.
X #
X-CTAGS_PROG = ctags
X+CTAGS_PROG = jexctags
X ETAGS_PROG = etags
X
X # Set this to the path to your shell (must run Bourne shell commands).
END-of-japanese/ctags/files/patch-Makefile.in
echo x - japanese/ctags/pkg-descr
sed 's/^X//' >japanese/ctags/pkg-descr << 'END-of-japanese/ctags/pkg-descr'
XExuberant Ctags with Japanese language support.
X
XExuberant Ctags generates an index (or tag) file of source language
Xobjects in source files that allows these items to be quickly and
Xeasily located by a text editor or other utility.
X
XAlternatively, it can generate a cross reference file which lists,
Xin human-readable form, information about the various objects found
Xin a set of source code files.
X
XSupported languages include: Assembler, ASP, AWK, BETA, C, C++, C#,
XCOBOL, Eiffel, Fortran, HTML, Java, Javascript, Lisp, Lua, Make,
XPascal, Perl, PHP, PL/SQL, Python, REXX, Ruby, S-Lang, Scheme, Shell
X(Bourne/Korn/Z), Standard ML, Tcl, Vera, Verilog, Vim and Yacc.
X
XWWW: http://hp.vector.co.jp/authors/VA025040/ctags/
END-of-japanese/ctags/pkg-descr
echo x - japanese/ctags/distinfo
sed 's/^X//' >japanese/ctags/distinfo << 'END-of-japanese/ctags/distinfo'
XMD5 (ctags-5.6j1.tar.gz) = 801f533e5f25f74c13cbef6353c92e27
XSHA256 (ctags-5.6j1.tar.gz) = b521b46aada5a606a62c59f977c1de724a8a1a43b42fa5001591b9dad6b715a4
XSIZE (ctags-5.6j1.tar.gz) = 287476
END-of-japanese/ctags/distinfo
echo x - japanese/ctags/pkg-message
sed 's/^X//' >japanese/ctags/pkg-message << 'END-of-japanese/ctags/pkg-message'
X************************************************************
XThe executable for Exuberant CTAGS is installed as %%PREFIX%%/bin/jexctags
X************************************************************
END-of-japanese/ctags/pkg-message
echo x - japanese/ctags/pkg-plist
sed 's/^X//' >japanese/ctags/pkg-plist << 'END-of-japanese/ctags/pkg-plist'
Xbin/jexctags
Xinclude/readtags.h
Xlib/readtags.o
Xshare/doc/ctags/README
Xshare/doc/ctags/README_J.TXT
END-of-japanese/ctags/pkg-plist
exit
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list