mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-28 05:29:48 +00:00
Update to 4.8
PR: 71277 Submitted by: maintainer
This commit is contained in:
parent
14605107bd
commit
d17387a997
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=117910
@ -6,7 +6,7 @@
|
||||
#
|
||||
|
||||
PORTNAME= global
|
||||
PORTVERSION= 4.6.1
|
||||
PORTVERSION= 4.8
|
||||
CATEGORIES= devel
|
||||
MASTER_SITES= ${MASTER_SITE_GNU}
|
||||
MASTER_SITE_SUBDIR= ${PORTNAME}
|
||||
@ -16,13 +16,16 @@ COMMENT= A source code tag system
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
USE_PERL5= yes
|
||||
USE_REINPLACE= yes
|
||||
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
||||
|
||||
MAN1= gctags.1 global.1 gozilla.1 gtags.1 htags.1
|
||||
INFO= global
|
||||
|
||||
post-patch:
|
||||
${REINPLACE_CMD} -E 's,^(gtags_DATA = )AUTHORS .* THANKS( \\$$),\1\2,' ${WRKSRC}/Makefile.in
|
||||
|
||||
post-install:
|
||||
install-info ${PREFIX}/info/global.info ${PREFIX}/info/dir
|
||||
.if !defined(NOPORTDOCS)
|
||||
${MKDIR} ${PREFIX}/share/doc/global
|
||||
.for file in AUTHORS COPYING ChangeLog FAQ INSTALL LICENSE NEWS README \
|
||||
|
@ -1,2 +1,2 @@
|
||||
MD5 (global-4.6.1.tar.gz) = 6430ca736a74a734b10201d28fe0a64a
|
||||
SIZE (global-4.6.1.tar.gz) = 504379
|
||||
MD5 (global-4.8.tar.gz) = 1c1c80f3bd6bd8eea16124fa0a8006bf
|
||||
SIZE (global-4.8.tar.gz) = 591811
|
||||
|
@ -1,19 +0,0 @@
|
||||
--- doc/Makefile.in.orig Fri Oct 3 11:16:01 2003
|
||||
+++ doc/Makefile.in Mon Oct 20 13:53:50 2003
|
||||
@@ -358,15 +358,7 @@
|
||||
done; \
|
||||
done
|
||||
@$(POST_INSTALL)
|
||||
- @if (install-info --version && \
|
||||
- install-info --version | grep -i -v debian) >/dev/null 2>&1; then \
|
||||
- list='$(INFO_DEPS)'; \
|
||||
- for file in $$list; do \
|
||||
- relfile=`echo "$$file" | sed 's|^.*/||'`; \
|
||||
- echo " install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$relfile";\
|
||||
- install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$relfile || :;\
|
||||
- done; \
|
||||
- else : ; fi
|
||||
+
|
||||
install-man:
|
||||
|
||||
installcheck-am:
|
27
devel/global/files/patch-htags::htags.c-fix-d
Normal file
27
devel/global/files/patch-htags::htags.c-fix-d
Normal file
@ -0,0 +1,27 @@
|
||||
--- htags/htags.c 2004/09/01 14:44:33 1.14
|
||||
+++ htags/htags.c 2004/09/01 21:58:28 1.15
|
||||
@@ -61,7 +61,6 @@
|
||||
char *save_config;
|
||||
char *save_argv;
|
||||
|
||||
-char rootpath[MAXPATHLEN];
|
||||
char cwdpath[MAXPATHLEN];
|
||||
char dbpath[MAXPATHLEN];
|
||||
char distpath[MAXPATHLEN];
|
||||
@@ -1481,11 +1480,14 @@
|
||||
strbuf_close(sb);
|
||||
}
|
||||
/*
|
||||
- * get root, cwd and dbpath.
|
||||
+ * get dbpath.
|
||||
*/
|
||||
- getdbpath(cwdpath, rootpath, dbpath, 0);
|
||||
+ if (!getcwd(cwdpath, sizeof(cwdpath)))
|
||||
+ die("cannot get current directory.");
|
||||
if (arg_dbpath[0])
|
||||
strlimcpy(dbpath, arg_dbpath, sizeof(dbpath));
|
||||
+ else
|
||||
+ strlimcpy(dbpath, cwdpath, sizeof(cwdpath));
|
||||
|
||||
if (cflag && !usable("gzip")) {
|
||||
warning("'gzip' command not found. -c option ignored.");
|
@ -3,6 +3,7 @@ bin/global
|
||||
bin/gozilla
|
||||
bin/gtags
|
||||
bin/htags
|
||||
bin/htags.pl
|
||||
%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
|
||||
%%PORTDOCS%%%%DOCSDIR%%/COPYING
|
||||
%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
|
||||
@ -12,4 +13,13 @@ bin/htags
|
||||
%%PORTDOCS%%%%DOCSDIR%%/NEWS
|
||||
%%PORTDOCS%%%%DOCSDIR%%/README
|
||||
%%PORTDOCS%%%%DOCSDIR%%/THANKS
|
||||
share/gtags/globash.rc
|
||||
share/gtags/gtags.conf
|
||||
share/gtags/gtags.el
|
||||
share/gtags/gtags.pl
|
||||
share/gtags/gtags.vim
|
||||
share/gtags/nvi-1.79-gtags.diff
|
||||
share/gtags/bless.sh.tmpl
|
||||
share/gtags/global.cgi.tmpl
|
||||
@dirrm share/gtags
|
||||
%%PORTDOCS%%@dirrm %%DOCSDIR%%
|
||||
|
Loading…
Reference in New Issue
Block a user