ports/65863: New port kscope, KDE front-end to cscope.

Frank Mayhar frank at exit.com
Fri Apr 23 17:20:10 UTC 2004


The following reply was made to PR ports/65863; it has been noted by GNATS.

From: Frank Mayhar <frank at exit.com>
To: freebsd-gnats-submit at FreeBSD.org, frank at exit.com
Cc:  
Subject: Re: ports/65863: New port kscope, KDE front-end to cscope.
Date: Fri, 23 Apr 2004 10:18:34 -0700

 Well, he already released a later version, 0.6.  I've enclosed a new
 shar-file containing the updated port:
 
 # 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:
 #
 #	kscope
 #	kscope/pkg-descr
 #	kscope/Makefile
 #	kscope/pkg-plist
 #	kscope/distinfo
 #	kscope/files
 #	kscope/files/patch-src-ctagsfrontend.cpp
 #
 echo c - kscope
 mkdir -p kscope > /dev/null 2>&1
 echo x - kscope/pkg-descr
 sed 's/^X//' >kscope/pkg-descr << 'END-of-kscope/pkg-descr'
 XFrom the documentation:
 X
 XKScope is a source-editing environment for KDE. Primarily, it is a
 front-end
 Xto the veteran Cscope, a source-code browser originally developed at
 Bell
 XLabs. Cscope works by parsing a set of source files, creating a cross-
 Xreference database, and allowing the user to query this database.
 KScope,
 Xhowever, extends the feature-set of Cscope with a contemporary user
 Xinterface, editor integration, project management capabilities, and
 multiple
 Xquery result windows.
 X
 XWWW:	http://kscope.sourceforge.net/
 X
 XFrank Mayhar <frank at exit.com>
 END-of-kscope/pkg-descr
 echo x - kscope/Makefile
 sed 's/^X//' >kscope/Makefile << 'END-of-kscope/Makefile'
 X# New ports collection makefile for:	kscope
 X# Date created:		2004-04-21
 X# Whom:			Frank Mayhar <frank at exit.com>
 X#
 X# $FreeBSD$
 X#
 X
 XPORTNAME=		kscope
 XPORTVERSION=		0.6
 X#PORTREVISION=		0
 XCATEGORIES=		devel kde
 XMASTER_SITES=		${MASTER_SITE_SOURCEFORGE}
 XMASTER_SITE_SUBDIR=	${PORTNAME}/
 X
 XMAINTAINER=		frank at exit.com
 XCOMMENT=		KDE front-end to Cscope
 X
 XLIB_DEPENDS=		jpeg.9:${PORTSDIR}/graphics/jpeg
 XRUN_DEPENDS=		exctags:${PORTSDIR}/devel/ctags \
 X			cscope:${PORTSDIR}/devel/cscope
 X
 XUSE_KDELIBS_VER=	3
 X
 XGNU_CONFIGURE=		yes
 XUSE_GMAKE=		yes
 XUSE_REINPLACE=		yes
 X
 XMAKE_ENV=		EXTRA_LIBRARIES="-L${LOCALBASE}/lib"
 XCONFIGURE_ARGS +=	--with-extra-includes=${LOCALBASE}/include \
 X			--with-extra-libs=${LOCALBASE}/lib
 X
 Xpre-build:
 X	${REINPLACE_CMD} "s,-pthread,${PTHREAD_LIBS},g" ${WRKSRC}/Makefile
 X
 X.include <bsd.port.pre.mk>
 X.include "${PORTSDIR}/x11/kde3/Makefile.kde"
 X.include <bsd.port.post.mk>
 END-of-kscope/Makefile
 echo x - kscope/pkg-plist
 sed 's/^X//' >kscope/pkg-plist << 'END-of-kscope/pkg-plist'
 Xbin/kscope
 Xshare/doc/HTML/en/kscope/project_new.png
 Xshare/doc/HTML/en/kscope/query_dlg.png
 Xshare/doc/HTML/en/kscope/call_tree.png
 Xshare/doc/HTML/en/kscope/project_open.png
 Xshare/doc/HTML/en/kscope/main_window.png
 Xshare/doc/HTML/en/kscope/pref.png
 Xshare/doc/HTML/en/kscope/project_files.png
 Xshare/doc/HTML/en/kscope/welcome.png
 Xshare/doc/HTML/en/kscope/index.docbook
 Xshare/doc/HTML/en/kscope/index.cache.bz2
 Xshare/icons/locolor/16x16/apps/kscope.png
 Xshare/icons/hicolor/32x32/apps/kscope.png
 Xshare/icons/locolor/32x32/apps/kscope.png
 Xshare/icons/hicolor/16x16/apps/kscope.png
 Xshare/applnk/Utilities/kscope.desktop
 Xshare/apps/kscope/kscopeui.rc
 X at unexec rmdir %D/share/icons/locolor/16x16/apps 2>/dev/null || true
 X at unexec rmdir %D/share/icons/locolor/32x32/apps 2>/dev/null || true
 X at unexec rmdir %D/share/icons/hicolor/16x16/apps 2>/dev/null || true
 X at unexec rmdir %D/share/icons/hicolor/32x32/apps 2>/dev/null || true
 X at unexec rmdir %D/share/applnk/Utilities 2>/dev/null || true
 X at dirrm share/doc/HTML/en/kscope
 X at dirrm share/apps/kscope
 END-of-kscope/pkg-plist
 echo x - kscope/distinfo
 sed 's/^X//' >kscope/distinfo << 'END-of-kscope/distinfo'
 XMD5 (kscope-0.6.tar.gz) = 7a273bca1ed74abd1e1e83224c283eb8
 XSIZE (kscope-0.6.tar.gz) = 992145
 END-of-kscope/distinfo
 echo c - kscope/files
 mkdir -p kscope/files > /dev/null 2>&1
 echo x - kscope/files/patch-src-ctagsfrontend.cpp
 sed 's/^X//' >kscope/files/patch-src-ctagsfrontend.cpp <<
 'END-of-kscope/files/patch-src-ctagsfrontend.cpp'
 X--- /homes/fmayhar/kscope-0.5/src/ctagsfrontend.cpp	Thu Dec 18 20:58:30
 2003
 X+++ src/ctagsfrontend.cpp	Wed Apr 21 13:01:45 2004
 X@@ -81,7 +81,7 @@
 X 	QFileInfo fi(sPath);
 X 
 X 	if (!fi.exists() || !fi.isFile() || !fi.isExecutable() ||
 X-		fi.fileName() != "ctags") {
 X+		fi.fileName() != "exctags") {
 X 		KMessageBox::error(0, i18n("Ctags cannot be found in the given "
 X 			"path"));
 X 		return false;
 END-of-kscope/files/patch-src-ctagsfrontend.cpp
 exit
 



More information about the freebsd-ports-bugs mailing list