Index: head/devel/global/Makefile =================================================================== --- head/devel/global/Makefile (revision 117909) +++ head/devel/global/Makefile (revision 117910) @@ -1,34 +1,37 @@ # New ports collection makefile for: global # Date created: 20 June 2000 # Whom: chuckr@freebsd.org # # $FreeBSD$ # PORTNAME= global -PORTVERSION= 4.6.1 +PORTVERSION= 4.8 CATEGORIES= devel MASTER_SITES= ${MASTER_SITE_GNU} MASTER_SITE_SUBDIR= ${PORTNAME} MAINTAINER= rui@ruilopes.com 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 \ THANKS ${INSTALL_MAN} ${WRKSRC}/${file} ${PREFIX}/share/doc/global .endfor .endif .include Property changes on: head/devel/global/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.16 \ No newline at end of property +1.17 \ No newline at end of property Index: head/devel/global/distinfo =================================================================== --- head/devel/global/distinfo (revision 117909) +++ head/devel/global/distinfo (revision 117910) @@ -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 Property changes on: head/devel/global/distinfo ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.14 \ No newline at end of property +1.15 \ No newline at end of property Index: head/devel/global/files/patch-aa =================================================================== --- head/devel/global/files/patch-aa (revision 117909) +++ head/devel/global/files/patch-aa (revision 117910) @@ -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: Property changes on: head/devel/global/files/patch-aa ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.6 \ No newline at end of property +1.7 \ No newline at end of property Index: head/devel/global/files/patch-htags::htags.c-fix-d =================================================================== --- head/devel/global/files/patch-htags::htags.c-fix-d (nonexistent) +++ head/devel/global/files/patch-htags::htags.c-fix-d (revision 117910) @@ -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."); Property changes on: head/devel/global/files/patch-htags::htags.c-fix-d ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Index: head/devel/global/pkg-plist =================================================================== --- head/devel/global/pkg-plist (revision 117909) +++ head/devel/global/pkg-plist (revision 117910) @@ -1,15 +1,25 @@ bin/gctags bin/global bin/gozilla bin/gtags bin/htags +bin/htags.pl %%PORTDOCS%%%%DOCSDIR%%/AUTHORS %%PORTDOCS%%%%DOCSDIR%%/COPYING %%PORTDOCS%%%%DOCSDIR%%/ChangeLog %%PORTDOCS%%%%DOCSDIR%%/FAQ %%PORTDOCS%%%%DOCSDIR%%/INSTALL %%PORTDOCS%%%%DOCSDIR%%/LICENSE %%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%% Property changes on: head/devel/global/pkg-plist ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.9 \ No newline at end of property +1.10 \ No newline at end of property