Date: 7 Jun 2000 06:21:43 -0000 From: lioux@uol.com.br To: FreeBSD-gnats-submit@freebsd.org Subject: ports/19083: New port devel/codemedic Message-ID: <20000607062143.43610.qmail@Fedaykin.here>
next in thread | raw e-mail | index | archive | help
>Number: 19083 >Category: ports >Synopsis: New port devel/codemedic >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Jun 06 23:40:01 PDT 2000 >Closed-Date: >Last-Modified: >Originator: Mario Sergio Fujikawa Ferreira >Release: FreeBSD 4.0-STABLE i386 >Organization: >Environment: FreeBSD Here.here 4.0-STABLE FreeBSD 4.0-STABLE #17: Wed May 24 19:49:37 EST 2000 root@:/usr/src/sys/compile/LIOUX i386 >Description: This port should be repo-copied from old devel/codecrusader to preserve history. Code Medic provides an elegant graphical interface to gdb and it is a perfect companion to devel/codecrusader. This port depends upon ports/19030, ports/19039 and ports/19041 >How-To-Repeat: n/a >Fix: # 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: # # codemedic # codemedic/patches # codemedic/patches/patch-aa # codemedic/patches/patch-ab # codemedic/pkg # codemedic/pkg/COMMENT # codemedic/pkg/DESCR # codemedic/pkg/PLIST # codemedic/files # codemedic/files/md5 # codemedic/Makefile # echo c - codemedic mkdir -p codemedic > /dev/null 2>&1 echo c - codemedic/patches mkdir -p codemedic/patches > /dev/null 2>&1 echo x - codemedic/patches/patch-aa sed 's/^X//' >codemedic/patches/patch-aa << 'END-of-codemedic/patches/patch-aa' X--- Makefile.orig Tue May 30 13:04:38 2000 X+++ Makefile Tue May 30 13:09:41 2000 X@@ -264,11 +264,6 @@ X include/make/jx_config X @ln -s ../../include/missing_proto/jMissingProto_empty.h \ X include/jcore/jMissingProto.h X- @ln -s config-freebsd.h \ X- ACE/ACE_wrappers/ace/config.h X- @ln -s platform_freebsd.GNU \ X- ACE/ACE_wrappers/include/makeinclude/platform_macros.GNU X- @${INSTALL_CMD} X X .PHONY : freebsd3.x X freebsd3.x: prep X@@ -276,11 +271,6 @@ X include/make/jx_config X @ln -s ../../include/missing_proto/jMissingProto_empty.h \ X include/jcore/jMissingProto.h X- @ln -s config-freebsd-pthread.h \ X- ACE/ACE_wrappers/ace/config.h X- @ln -s platform_freebsd_pthread.GNU \ X- ACE/ACE_wrappers/include/makeinclude/platform_macros.GNU X- @${INSTALL_CMD} X X # X # SunOS 4.x END-of-codemedic/patches/patch-aa echo x - codemedic/patches/patch-ab sed 's/^X//' >codemedic/patches/patch-ab << 'END-of-codemedic/patches/patch-ab' X--- programs/code_medic/Make.header.orig Fri Sep 24 15:42:08 1999 X+++ programs/code_medic/Make.header Tue Jun 6 11:34:26 2000 X@@ -24,7 +24,7 @@ X X # Directories to search for header files X X-SEARCHDIRS := -I- \ X+SEARCHDIRS = -I- \ X -I${CODEDIR} \ X -I${TREEDIR} \ X -I${VARTREEDIR} \ X@@ -39,7 +39,8 @@ X -I${JSEARCHDIR} \ X -I${JCOREDIR}\ X -I${JXDIR}\ X- -I${ACE_ROOT} X+ -I${ACE_ROOT} \ X+ ${J_X11_INCLUDE_DIR} X X # other constants X X@@ -57,17 +58,10 @@ X X # library dependencies X X-ifdef J_BUILD_SHARED_LIB X- LIB_DEPS := ${JLIBDIR}/libjtree-${JTREE_LIB_VERSION}.so \ X- ${JLIBDIR}/libjsearch-${JSEARCH_LIB_VERSION}.so X-else X- LIB_DEPS := ${JLIBDIR}/libjtree-${JTREE_LIB_VERSION}.a \ X- ${JLIBDIR}/libjsearch-${JSEARCH_LIB_VERSION}.a X-endif X X # make variables X X-LOADLIBES := -L${JLIBDIR} ${ljtree} ${ljsearch} ${ljx} ${ljcore} ${J_SYS_LIBS} X+LOADLIBES := -L${JLIBDIR} ${PORTLIBS} ${ljtree} ${ljsearch} ${ljx} ${ljcore} ${J_SYS_LIBS} X STATIC_LOADLIBES := -L${JLIBDIR} \ X -Xlinker -Bstatic \ X ${ljtree} ${ljsearch} \ X@@ -85,7 +79,7 @@ X ##### X X .PHONY : default X-default: libs medic X+default: medic X X .PHONY : Makefiles X Makefiles: X@@ -121,7 +115,7 @@ X # X X .PHONY : jxinstall X-jxinstall: medic X+jxinstall_not: medic X @strip medic X @mv medic ${JX_INSTALL_ROOT}/ X END-of-codemedic/patches/patch-ab echo c - codemedic/pkg mkdir -p codemedic/pkg > /dev/null 2>&1 echo x - codemedic/pkg/COMMENT sed 's/^X//' >codemedic/pkg/COMMENT << 'END-of-codemedic/pkg/COMMENT' XCode Medic provides an elegant graphical interface to gdb END-of-codemedic/pkg/COMMENT echo x - codemedic/pkg/DESCR sed 's/^X//' >codemedic/pkg/DESCR << 'END-of-codemedic/pkg/DESCR' XThe standard UNIX debugger, gdb, is extremely powerful, but its Xcommand line interface can be quite intimidating and painful to Xuse. X XCode Medic provides an elegant free graphical interface to gdb's Xmost important features. Unlike most interfaces to gdb, Code Medic Xaims to remove the need for the command line. X XIt provides access to the power of gdb with an intuitive front end. XIt currently supports opening multiple source windows at once, Xsetting/clearing breakpoints while the program is running, watching Xvariables change in the variable tree as you step through code X(even with nested structs), text searching through source, and Xintegration with Code Crusader to provide a rapid, efficient Xdevelop-debug cycle. X XWWW: http://www.newplanetsoftware.com/medic/ END-of-codemedic/pkg/DESCR echo x - codemedic/pkg/PLIST sed 's/^X//' >codemedic/pkg/PLIST << 'END-of-codemedic/pkg/PLIST' Xbin/medic X%%PORTDOCS:%%share/doc/%%PORTNAME%%/LICENSE X%%PORTDOCS:%%share/doc/%%PORTNAME%%/README.binary X%%PORTDOCS:%%@dirrm share/doc/%%PORTNAME%% END-of-codemedic/pkg/PLIST echo c - codemedic/files mkdir -p codemedic/files > /dev/null 2>&1 echo x - codemedic/files/md5 sed 's/^X//' >codemedic/files/md5 << 'END-of-codemedic/files/md5' XMD5 (Code_Medic_source-1.0.4.tar.gz) = 13fc3011baf29a6c4b97322665602304 END-of-codemedic/files/md5 echo x - codemedic/Makefile sed 's/^X//' >codemedic/Makefile << 'END-of-codemedic/Makefile' X# New ports collection makefile for: Code Medic X# Date created: 30 July 1999 X# Whom: Davec <davec@unforgettable.com> X# X# $FreeBSD$ X# X XPORTNAME= code_medic XPORTVERSION= 1.0.4 XCATEGORIES= devel XMASTER_SITES= http://people.FreeBSD.org/~sobomax/distfiles/ XDISTNAME= Code_Medic_source-${PORTVERSION} X XMAINTAINER= lioux@linf.unb.br X XBUILD_DEPENDS= nonexistent:${JXPORT}:patch \ X makemake:${JXPORT} XLIB_DEPENDS= jx-1_5_3.1:${JXPORT} \ X jtree-1_1_7.1:${PORTSDIR}/x11-toolkits/libjtree \ X jsearch-0_5_6.0:${PORTSDIR}/x11-toolkits/libjsearch X XWRKSRC= ${WRKDIR}/JX-1.5.3 X XUSE_XLIB= yes XUSE_BISON= yes XUSE_GMAKE= yes X# breaks if CXX is c++ XMAKE_ARGS= CC="${CC}" CXX="g++" XMAKE_ENV= JX_INSTALL_ROOT="${PREFIX}/bin" \ X JX_LIB_ROOT="${PREFIX}/lib" \ X X11PREFIX="${X11BASE}" \ X PORTCFLAGS="${CFLAGS}" \ X PORTCXXFLAGS="${CXXFLAGS}" \ X PORTINCLUDES="${PORTINCLUDES}" \ X PORTLIBS="${PORTLIBS}" XPLIST_SUB= PORTNAME="${PORTNAME}" X X# Make environment XPORTINCLUDES= -I${X11BASE}/include -I${X11BASE}/include/jx \ X -I${X11BASE}/include/jsearch \ X -I${X11BASE}/include/jtree \ X -I${LOCALBASE}/include XPORTLIBS= -L${X11BASE}/lib X X# Installs dir with proper permissions XINSTALL_DATA_DIR= ${INSTALL} -d -o ${SHAREOWN} -g ${SHAREGRP} -m 755 X# program files XPROGRAMFILES= code_medic/medic X# documents XDOCFILES= LICENSE README.binary XDOCDIR_PREFIX= ${PREFIX}/share/doc/${PORTNAME} X# additional configuration and header files XEXTRALIB_PREFIX= ${X11BASE}/lib/jx X# main jx distribution files needed for building XCOPY_JXDIRS= include lib libjcore XCOPY_JXFILES= Makefile X# main jx distribution port wrksrc XJXPORT= ${PORTSDIR}/x11-toolkits/jx XJXPORT_WRKSRC= ${JXPORT}/work/JX-1.5.3 XJX_MAKE_CONSTANTS= jsearch_constants jtree_constants X X.include <bsd.port.pre.mk> X X.if ${OSVERSION} >= 300000 XALL_TARGET= freebsd3.x X.else XALL_TARGET= freebsd2.x X.endif X X.if defined(NOPORTDOCS) XPLIST_SUB+= PORTDOCS:="@comment " X.else XPLIST_SUB+= PORTDOCS:= X.endif # !defined(NOPORTDOCS) X Xpost-extract: X.for i in ${COPY_JXDIRS} X @${CP} -Rp ${JXPORT_WRKSRC}/${i} ${WRKSRC} X.endfor X.for i in ${COPY_JXFILES} X @${CP} -p ${JXPORT_WRKSRC}/${i} ${WRKSRC} X.endfor X Xpre-build: X.for i in ${JX_MAKE_CONSTANTS} X @${LN} -sf ${EXTRALIB_PREFIX}/make/${i} ${WRKSRC}/include/make X.endfor X Xpost-build: X @cd ${WRKSRC}/programs/${PORTNAME}; ${SETENV} ${MAKE_ENV} makemake; \ X ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} \ X ${MAKEFILE} ${MAKE_ARGS} X Xdo-install: X.if !defined(NOPORTDOCS) X# Install all documentation X @${INSTALL_DATA_DIR} ${DOCDIR_PREFIX} X.for i in ${DOCFILES} X @${INSTALL_DATA} ${WRKSRC}/programs/${PORTNAME}/${i} ${DOCDIR_PREFIX} X.endfor X.endif # !defined(NOPORTDOCS) X# Install all programs X.for i in ${PROGRAMFILES} X @${INSTALL_PROGRAM} ${WRKSRC}/programs/${i} ${PREFIX}/bin X.endfor X X.include <bsd.port.post.mk> END-of-codemedic/Makefile exit >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000607062143.43610.qmail>