pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

ctags-git: Fix PLIST and adapt for recent changes upstream



Module Name:	pkgsrc-wip
Committed By:	Jonathan Buschmann <jonthn+pkgsrc%pinacea.com@localhost>
Pushed By:	jonthn
Date:		Thu Jan 21 21:46:07 2016 +0100
Changeset:	8fa3540d922911be81eb7b0c52c3183c167ddb41

Modified Files:
	ctags-git/Makefile
	ctags-git/PLIST

Log Message:
ctags-git: Fix PLIST and adapt for recent changes upstream

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=8fa3540d922911be81eb7b0c52c3183c167ddb41

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 ctags-git/Makefile | 17 +++++++++++++----
 ctags-git/PLIST    | 10 +---------
 2 files changed, 14 insertions(+), 13 deletions(-)

diffs:
diff --git a/ctags-git/Makefile b/ctags-git/Makefile
index 28ed536..1ca50ee 100644
--- a/ctags-git/Makefile
+++ b/ctags-git/Makefile
@@ -5,8 +5,8 @@ CATEGORIES=	devel
 MASTER_SITES=   ${MASTER_SITE_GITHUB:=universal-ctags/}
 
 MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE=	https://ctags.io
-COMMENT=	A maintained ctags implementation
+HOMEPAGE=	https://ctags.io/
+COMMENT=	Maintained ctags implementation
 LICENSE=	gnu-gpl-v2
 
 GIT_REPOSITORIES=	ctags
@@ -15,7 +15,15 @@ GIT_MODULE.ctags=	ctags
 
 WRKSRC=			${WRKDIR}/${GIT_MODULE.ctags}
 
-USE_TOOLS=		aclocal autoreconf autoconf automake autoheader gmake
+USE_TOOLS=		aclocal autoreconf autoconf automake autoheader
+USE_TOOLS+=		bash gmake
+
+SUBST_CLASSES+=         bash
+SUBST_MESSAGE.bash=     Fixing shellbang references to bash.
+SUBST_STAGE.bash=       post-extract
+SUBST_SED.bash=         -e 's,\#\!/bin/bash,\#\!${BASH},g'
+SUBST_FILES.bash=       misc/optlib2c
+
 GNU_CONFIGURE=		yes
 CONFIGURE_ARGS+=	--enable-macro-patterns
 CONFIGURE_ARGS+=	--enable-readlib
@@ -25,7 +33,8 @@ CONFIGURE_ARGS+=	--enable-custom-config=${PKG_SYSCONFDIR}/ctags.conf
 CONFLICTS=	exctags-[0-9]*
 
 pre-configure:
-	cd ${WRKSRC} && autoreconf -f -i -v
+	cd ${WRKSRC} && ./autogen.sh
+
 
 .include "options.mk"
 
diff --git a/ctags-git/PLIST b/ctags-git/PLIST
index c87f30b..53fb634 100644
--- a/ctags-git/PLIST
+++ b/ctags-git/PLIST
@@ -1,13 +1,5 @@
 @comment $NetBSD$
 bin/${PREFIX_PROGRAM}ctags
 ${PLIST.emacs}bin/${PREFIX_PROGRAM}etags
-include/readtags.h
-lib/readtags.o
-libexec/ctags/drivers/coffeetags
+libexec/ctags/drivers/${PREFIX_PROGRAM}coffeetags
 man/man1/${PREFIX_PROGRAM}ctags.1
-${PLIST.emacs}man/man1/${PREFIX_PROGRAM}etags.1
-share/ctags/optlib/coffee.ctags
-share/ctags/optlib/ctags.ctags
-share/ctags/optlib/gdbinit.ctags
-share/ctags/optlib/m4.ctags
-share/ctags/preload/default.ctags


Home | Main Index | Thread Index | Old Index