Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 31 Jul 1999 16:20:39 -0700 (PDT)
From:      davec@unforgettable.com
To:        freebsd-gnats-submit@freebsd.org
Subject:   ports/12900: New port:  Code Crusader with Code Medic
Message-ID:  <19990731232039.CE87A14E2B@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         12900
>Category:       ports
>Synopsis:       New port:  Code Crusader with Code Medic
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jul 31 16:30:00 PDT 1999
>Closed-Date:
>Last-Modified:
>Originator:     Davec
>Release:        4.0-CURRENT
>Organization:
>Environment:
>Description:
Code Crusader is a complete code development environment, inspired by MetroWerks CodeWarrior.
Excellent, feature rich, and MATURE IDE that is constantly being updated and worked on by the
author, John Lindal.
>How-To-Repeat:
A shar of the port is included below.
>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:
#
#       codecrusader
#       codecrusader/Makefile
#       codecrusader/files
#       codecrusader/files/md5
#       codecrusader/pkg
#       codecrusader/pkg/COMMENT
#       codecrusader/pkg/DESCR
#       codecrusader/pkg/PLIST
#       codecrusader/patches
#       codecrusader/patches/patch-aa
#       codecrusader/patches/patch-ab
#       codecrusader/patches/patch-ac
#
echo c - codecrusader
mkdir -p codecrusader > /dev/null 2>&1
echo x - codecrusader/Makefile
sed 's/^X//' >codecrusader/Makefile << 'END-of-codecrusader/Makefile'
X# New ports collection makefile for:   Code Crusader
X# Version required:    2.1.3
X# Date created:                30 July 1999
X# Whom:                        Davec <davec@unforgettable.com>
X#
X# $Id$
X#
X
XDISTNAME=      CodeCrusader-2.1.3
XPKGNAME=       code_crusader-2.1.3
XCATEGORIES=    devel
X
XMAINTAINER=    davec@unforgettable.com
X
XMASTER_SITES=  ftp://ftp.its.caltech.edu/pub/jafl/programs/jcc/source/ \
X               ftp://ftp.its.caltech.edu/pub/jafl/jx/source-1.5.2/ \
X               ftp://ftp.cs.itu.edu.tr/pub/linux/x11/jx/
X
XDISTFILES=     code_crusader_source-2.1.3.tar.gz \
X               JTree_source-1.1.5.tar.gz \
X               JX_source-1.5.2.tar.gz \
X               JToolBar_source-0.5.3.tar.gz
X
XLIB_DEPENDS=   Xpm.4:${PORTSDIR}/graphics/xpm
X
XWRKSRC=                ${WRKDIR}/JX-1.5.2
X
XMAN1=          ctags.1
XUSE_XLIB=      yes
XPLIST_SUB+=    "LIBACE=${LIBACE}" \
X               "LIBJTOOL=${LIBJTOOL}" \
X               "LIBJSEARCH=${LIBJSEARCH}" \
X               "LIBJTREE=${LIBJTREE}" \
X               "LIBJX=${LIBJX}"
XUSE_GMAKE=     yes
XMAKE_ENV=      JX_INSTALL_ROOT=${PREFIX}/bin \
X               JX_LIB_ROOT=${PREFIX}/lib
X
X.if !defined(CODEMEDIC) || (${CODEMEDIC} != no && ${CODEMEDIC} != NO)
Xpre-fetch:
X               @ ${ECHO_MSG}
X               @ ${ECHO_MSG} Code Medic is a gdb frontend to complement
X               @ ${ECHO_MSG} Code Crusader.  It is compiled in this port
X               @ ${ECHO_MSG} with Code Crusader by default.
X               @ ${ECHO_MSG} If you would prefer not compiling it in
X               @ ${ECHO_MSG} then set the variable CODEMEDIC=no.
X               @ ${ECHO_MSG}
X               @ ${ECHO_MSG} Compiling Code Crusader with Code Medic.
X               @ ${ECHO_MSG} Installing into ${PREFIX}
X               @ ${ECHO_MSG}
XMASTER_SITES+= ftp://ftp.cco.caltech.edu/pub/glenn/Medic/source/ \
X               ftp://ftp.cco.caltech.edu/pub/glenn/Arrow/source/
XDISTFILES+=    Code_Medic_source-1.0.3.tar.gz \
X               JSearch_source-0.5.6.tar.gz
X.endif
X
X.include <bsd.port.pre.mk>
X.if ${OSREL} >= 3
XALL_TARGET=    freebsd3.x
XLIBACE=                4
XLIBJTOOL=      0
XLIBJSEARCH=    0
XLIBJTREE=      1
XLIBJX=         1
X.else
XALL_TARGET=    freebsd2.x
XLIBACE=                4.6
XLIBJTOOL=      0.5
XLIBJSEARCH=    0.5
XLIBJTREE=      1.1
XLIBJX=         1.5
X.endif
X
Xdo-install:
X               ${LN} -sf ${PREFIX}/lib/libACE-4_6.so \
X                       ${PREFIX}/lib/libACE-4_6.so.${LIBACE};
X               ${LN} -sf ${PREFIX}/lib/libjcore-1_5_2.so \
X                       ${PREFIX}/lib/libjcore-1_5_2.so.${LIBJX};
X               ${LN} -sf ${PREFIX}/lib/libjtoolbar-0_5_3.so \
X                       ${PREFIX}/lib/libjtoolbar-0_5_3.so.${LIBJTOOL};
X               ${LN} -sf ${PREFIX}/lib/libjtree-1_1_5.so \
X                       ${PREFIX}/lib/libjtree-1_1_5.so.${LIBJTREE};
X               ${LN} -sf ${PREFIX}/lib/libjx-1_5_2.so \
X                       ${PREFIX}/lib/libjx-1_5_2.so.${LIBJX};
X.if !defined(CODEMEDIC) || (${CODEMEDIC} != no && ${CODEMEDIC} != NO)
X               ${LN} -sf ${PREFIX}/lib/libjsearch-0_5_6.so \
X                       ${PREFIX}/lib/libjsearch-0_5_6.so.${LIBJSEARCH};
X.endif
X
Xpost-install:
X               ${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
X
X.include <bsd.port.mk>
END-of-codecrusader/Makefile
echo c - codecrusader/files
mkdir -p codecrusader/files > /dev/null 2>&1
echo x - codecrusader/files/md5
sed 's/^X//' >codecrusader/files/md5 << 'END-of-codecrusader/files/md5'
XMD5 (code_crusader_source-2.1.3.tar.gz) = 14e9ed8895e19855b94b371d0e835cf9
XMD5 (JTree_source-1.1.5.tar.gz) = b144fd6b9b29ab564f3156ab58bac951
XMD5 (JX_source-1.5.2.tar.gz) = 2c36b619e748f6d78088ec173b1a923c
XMD5 (JToolBar_source-0.5.3.tar.gz) = 9e43ddde396b1c23b21c24f84bf0faf6
XMD5 (Code_Medic_source-1.0.3.tar.gz) = be96f49099ce00e3a5aeda6e907a0df4
XMD5 (JSearch_source-0.5.6.tar.gz) = b76d0fd94634da71a6a0e5b72609a53b
END-of-codecrusader/files/md5
echo c - codecrusader/pkg
mkdir -p codecrusader/pkg > /dev/null 2>&1
echo x - codecrusader/pkg/COMMENT
sed 's/^X//' >codecrusader/pkg/COMMENT << 'END-of-codecrusader/pkg/COMMENT'
XCode Crusader is a complete code development environment (IDE) for X.
END-of-codecrusader/pkg/COMMENT
echo x - codecrusader/pkg/DESCR
sed 's/^X//' >codecrusader/pkg/DESCR << 'END-of-codecrusader/pkg/DESCR'
XCode Crusader is a complete code development environment, inspired by MetroWerks CodeWarrior.
XExcellent, feature rich, and MATURE IDE that is constantly being updated and worked on by the
Xauthor, John Lindal.
X
XSome of the features include:
X    Project window automatically builds Makefile.
X    Works with any compiler.
X    Allows you to harness the full power of make.
X    Integrates with Code Medic to provide rapid, efficient develop-debug cycle.
X    Integrated support for make
X    Parses error messages from:
X       Absoft FORTRAN, bison, cc, CC, flex, gcc, c++, g77, KAI C++(kcc), make
X    Hypertext-like interface to UNIX man pages
X    Graphical display of C++ inheritance hierarchy
X    Fast text editor
X    Option to use other text editor if you don't like the built-in one.
X    Multiple Document Interface
X    All configuration done via dialog windows instead of config files
X    Configurable button toolbars.
X    Hypertext on-line help
X    Support for scrolling via wheel mice.
X    API's for extending Code Crusader
X
XMuch more planned.
X
XWWW: http://www.cco.caltech.edu/~jafl/jcc/
X
X
X-Davec
Xdavec@unforgettable.com
END-of-codecrusader/pkg/DESCR
echo x - codecrusader/pkg/PLIST
sed 's/^X//' >codecrusader/pkg/PLIST << 'END-of-codecrusader/pkg/PLIST'
Xbin/class_map
Xbin/ctags
Xbin/jcc
Xbin/jfdesign
Xbin/jxlayout
Xbin/makecheck
Xbin/makemake
Xbin/maketouch
Xbin/need_font_list
Xbin/option_map
Xbin/medic
Xlib/libACE-4_6.so
Xlib/libACE-4_6.so.%%LIBACE%%
Xlib/libjcore-1_5_2.a
Xlib/libjcore-1_5_2.so
Xlib/libjcore-1_5_2.so.%%LIBJX%%
Xlib/libjtoolbar-0_5_3.a
Xlib/libjtoolbar-0_5_3.so
Xlib/libjtoolbar-0_5_3.so.%%LIBJTOOL%%
Xlib/libjtree-1_1_5.a
Xlib/libjtree-1_1_5.so
Xlib/libjtree-1_1_5.so.%%LIBJTREE%%
Xlib/libjx-1_5_2.a
Xlib/libjx-1_5_2.so
Xlib/libjx-1_5_2.so.%%LIBJX%%
Xlib/libjsearch-0_5_6.a
Xlib/libjsearch-0_5_6.so
Xlib/libjsearch-0_5_6.so.%%LIBJSEARCH%%
X@exec /sbin/ldconfig -m %D/lib
X@unexec /sbin/ldconfig -R
END-of-codecrusader/pkg/PLIST
echo c - codecrusader/patches
mkdir -p codecrusader/patches > /dev/null 2>&1
echo x - codecrusader/patches/patch-aa
sed 's/^X//' >codecrusader/patches/patch-aa << 'END-of-codecrusader/patches/patch-aa'
X--- programs/code_crusader/Make.header.orig    Mon Jul 26 14:10:20 1999
X+++ programs/code_crusader/Make.header Mon Jul 26 14:12:53 1999
X@@ -102,7 +102,7 @@
X   ifneq (${J_WANT_INSTALL},0)
X       @mv jcc ctags/ctags ${JX_INSTALL_ROOT}/
X    ifeq (${shell whoami},root)
X-      @cp ctags/ctags.1 /usr/man/man1/
X+      @cp ctags/ctags.1 /usr/local/man/man1/
X    endif
X   endif
X
X@@ -110,7 +110,7 @@
X jxuninstall:
X       @${RM} ${JX_INSTALL_ROOT}/jcc ${JX_INSTALL_ROOT}/ctags
X   ifeq (${shell whoami},root)
X-      @${RM} /usr/man/man1/ctags.1
X+      @${RM} /usr/local/man/man1/ctags.1
X   endif
X
X #
END-of-codecrusader/patches/patch-aa
echo x - codecrusader/patches/patch-ab
sed 's/^X//' >codecrusader/patches/patch-ab << 'END-of-codecrusader/patches/patch-ab'
X--- programs/code_medic/Make.header.orig       Sat Jul 31 03:41:21 1999
X+++ programs/code_medic/Make.header    Sat Jul 31 03:43:40 1999
X@@ -24,22 +24,23 @@
X
X # Directories to search for header files
X
X-SEARCHDIRS := -I- \
X-              -I${CODEDIR} \
X-              -I${TREEDIR} \
X-              -I${VARTREEDIR} \
X-              -I${FILELISTDIR} \
X-              -I${PAGEDIR} \
X-              -I${ASMDIR} \
X-              -I${SDTDIR} \
X-              -I${CSHDIR} \
X-              -I${MEMDIR} \
X-              -I${LOCALSDIR} \
X-              -I${STACKDIR} \
X-              -I${JSEARCHDIR} \
X-              -I${JCOREDIR}\
X-              -I${JXDIR}\
X-              -I${ACE_ROOT}
X+SEARCHDIRS = -I- \
X+             -I${CODEDIR} \
X+             -I${TREEDIR} \
X+             -I${VARTREEDIR} \
X+             -I${FILELISTDIR} \
X+             -I${PAGEDIR} \
X+             -I${ASMDIR} \
X+             -I${SDTDIR} \
X+             -I${CSHDIR} \
X+             -I${MEMDIR} \
X+             -I${LOCALSDIR} \
X+             -I${STACKDIR} \
X+             -I${JSEARCHDIR} \
X+             -I${JCOREDIR}\
X+             -I${JXDIR}\
X+             -I${ACE_ROOT}\
X+             ${J_X11_INCLUDE_DIR}
X
X # other constants
X
END-of-codecrusader/patches/patch-ab
echo x - codecrusader/patches/patch-ac
sed 's/^X//' >codecrusader/patches/patch-ac << 'END-of-codecrusader/patches/patch-ac'
X--- libjsearch/Make.header.orig        Sat Jul 31 09:08:06 1999
X+++ libjsearch/Make.header     Sat Jul 31 09:08:25 1999
X@@ -7,11 +7,12 @@
X
X # Directories to search for header files
X
X-SEARCHDIRS := -I- \
X-              -I${JSEARCHDIR} \
X-              -I${JCOREDIR} \
X-              -I${MENUIMGDIR} \
X-              -I${JXDIR}
X+SEARCHDIRS = -I- \
X+             -I${JSEARCHDIR} \
X+             -I${JCOREDIR} \
X+             -I${MENUIMGDIR} \
X+             -I${JXDIR} \
X+             ${J_X11_INCLUDE_DIR}
X
X # makemake variables
X
END-of-codecrusader/patches/patch-ac
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?19990731232039.CE87A14E2B>