Bug 65863

Summary: New port kscope, KDE front-end to cscope.
Product: Ports & Packages Reporter: frank
Component: Individual Port(s)Assignee: freebsd-ports-bugs (Nobody) <ports-bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
kscope.shar none

Description frank 2004-04-21 22:50:29 UTC

    
Comment 1 frank 2004-04-23 18:18:34 UTC
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@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@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@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@unexec rmdir %D/share/icons/locolor/16x16/apps 2>/dev/null || true
X@unexec rmdir %D/share/icons/locolor/32x32/apps 2>/dev/null || true
X@unexec rmdir %D/share/icons/hicolor/16x16/apps 2>/dev/null || true
X@unexec rmdir %D/share/icons/hicolor/32x32/apps 2>/dev/null || true
X@unexec rmdir %D/share/applnk/Utilities 2>/dev/null || true
X@dirrm share/doc/HTML/en/kscope
X@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
Comment 2 Mark Linimon freebsd_committer freebsd_triage 2004-04-30 09:20:53 UTC
State Changed
From-To: open->closed

Committed by green on 04/30/2004.