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

Frank Mayhar frank at exit.com
Wed Apr 21 21:50:29 UTC 2004


>Number:         65863
>Category:       ports
>Synopsis:       New port kscope, KDE front-end to cscope.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Apr 21 14:50:29 PDT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Frank Mayhar
>Release:        FreeBSD 4.9-STABLE i386
>Organization:
Exit Consulting
>Environment:
System: FreeBSD realtime.exit.com 4.9-STABLE FreeBSD 4.9-STABLE #7: Tue Feb 24 11:31:59 PST 2004 frank at realtime.exit.com:/usr/src/sys/compile/REALTIME i386

This should supersede PR ports/65856.

>Description:

>How-To-Repeat:

>Fix:



--- kscope.shar begins here ---
# 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.5
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.5.tar.gz) = 551abb2c2fda2ad56dc9cfa8ce53d09e
XSIZE (kscope-0.5.tar.gz) = 1001420
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
--- kscope.shar ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list