diff options
author | cpiazza <cpiazza@FreeBSD.org> | 1999-08-03 07:18:50 +0800 |
---|---|---|
committer | cpiazza <cpiazza@FreeBSD.org> | 1999-08-03 07:18:50 +0800 |
commit | c9a689cb22d667a372b6642bc5ed37e4215eac31 (patch) | |
tree | 078f069e57f1795db030f8cf469c758847babdf1 | |
parent | e27cc2315bb5789c95187aa3a3842dfebafd93f8 (diff) | |
download | freebsd-ports-gnome-c9a689cb22d667a372b6642bc5ed37e4215eac31.tar.gz freebsd-ports-gnome-c9a689cb22d667a372b6642bc5ed37e4215eac31.tar.zst freebsd-ports-gnome-c9a689cb22d667a372b6642bc5ed37e4215eac31.zip |
Code crusader,
A complete code development environment inspired by MetroWerks CodeWarrior
Includes code medic, a gdb frontend to complement code crusader.
PR: 12932
Submitted by: Davec <davec@unforgettable.com>
-rw-r--r-- | devel/codecrusader/Makefile | 89 | ||||
-rw-r--r-- | devel/codecrusader/distinfo | 6 | ||||
-rw-r--r-- | devel/codecrusader/files/patch-ac | 101 | ||||
-rw-r--r-- | devel/codecrusader/pkg-comment | 1 | ||||
-rw-r--r-- | devel/codecrusader/pkg-descr | 23 | ||||
-rw-r--r-- | devel/codecrusader/pkg-plist | 29 |
6 files changed, 249 insertions, 0 deletions
diff --git a/devel/codecrusader/Makefile b/devel/codecrusader/Makefile new file mode 100644 index 000000000000..d08612727947 --- /dev/null +++ b/devel/codecrusader/Makefile @@ -0,0 +1,89 @@ +# New ports collection makefile for: Code Crusader +# Version required: 2.1.3 +# Date created: 30 July 1999 +# Whom: Davec <davec@unforgettable.com> +# +# $Id$ +# + +DISTNAME= CodeCrusader-2.1.3 +PKGNAME= code_crusader-2.1.3 +CATEGORIES= devel +MASTER_SITES= ftp://ftp.its.caltech.edu/pub/jafl/programs/jcc/source/ \ + ftp://ftp.its.caltech.edu/pub/jafl/jx/source-1.5.2/ +DISTFILES= code_crusader_source-2.1.3.tar.gz \ + JTree_source-1.1.5.tar.gz \ + JX_source-1.5.2.tar.gz \ + JToolBar_source-0.5.3.tar.gz + +MAINTAINER= davec@unforgettable.com + +LIB_DEPENDS= Xpm.4:${PORTSDIR}/graphics/xpm + +WRKSRC= ${WRKDIR}/JX-1.5.2 + +USE_XLIB= yes +PLIST_SUB+= "LIBACE=${LIBACE}" \ + "LIBJTOOL=${LIBJTOOL}" \ + "LIBJSEARCH=${LIBJSEARCH}" \ + "LIBJTREE=${LIBJTREE}" \ + "LIBJX=${LIBJX}" +USE_GMAKE= yes +MAKE_ENV= JX_INSTALL_ROOT=${PREFIX}/bin \ + JX_LIB_ROOT=${PREFIX}/lib + +.if !defined(CODEMEDIC) || (${CODEMEDIC} != no && ${CODEMEDIC} != NO) +pre-fetch: + @ ${ECHO_MSG} + @ ${ECHO_MSG} Code Medic is a gdb frontend to complement + @ ${ECHO_MSG} Code Crusader. It is compiled in this port + @ ${ECHO_MSG} with Code Crusader by default. + @ ${ECHO_MSG} If you would prefer not compiling it in + @ ${ECHO_MSG} then set the variable CODEMEDIC=no. + @ ${ECHO_MSG} + @ ${ECHO_MSG} Compiling Code Crusader with Code Medic. + @ ${ECHO_MSG} Installing into ${PREFIX} + @ ${ECHO_MSG} +MASTER_SITES+= ftp://ftp.cco.caltech.edu/pub/glenn/Medic/source/ \ + ftp://ftp.cco.caltech.edu/pub/glenn/Arrow/source/ +DISTFILES+= Code_Medic_source-1.0.3.tar.gz \ + JSearch_source-0.5.6.tar.gz +.endif + +.include <bsd.port.pre.mk> +.if ${OSREL} >= 3 +ALL_TARGET= freebsd3.x +LIBACE= 4 +LIBJTOOL= 0 +LIBJSEARCH= 0 +LIBJTREE= 1 +LIBJX= 1 +.else +ALL_TARGET= freebsd2.x +LIBACE= 4.6 +LIBJTOOL= 0.5 +LIBJSEARCH= 0.5 +LIBJTREE= 1.1 +LIBJX= 1.5 +.endif + +do-install: + @ ${LN} -sf ${PREFIX}/lib/libACE-4_6.so \ + ${PREFIX}/lib/libACE-4_6.so.${LIBACE}; + @ ${LN} -sf ${PREFIX}/lib/libjcore-1_5_2.so \ + ${PREFIX}/lib/libjcore-1_5_2.so.${LIBJX}; + @ ${LN} -sf ${PREFIX}/lib/libjtoolbar-0_5_3.so \ + ${PREFIX}/lib/libjtoolbar-0_5_3.so.${LIBJTOOL}; + @ ${LN} -sf ${PREFIX}/lib/libjtree-1_1_5.so \ + ${PREFIX}/lib/libjtree-1_1_5.so.${LIBJTREE}; + @ ${LN} -sf ${PREFIX}/lib/libjx-1_5_2.so \ + ${PREFIX}/lib/libjx-1_5_2.so.${LIBJX}; +.if !defined(CODEMEDIC) || (${CODEMEDIC} != no && ${CODEMEDIC} != NO) + @ ${LN} -sf ${PREFIX}/lib/libjsearch-0_5_6.so \ + ${PREFIX}/lib/libjsearch-0_5_6.so.${LIBJSEARCH}; +.endif + +post-install: + @ ${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib + +.include <bsd.port.mk> diff --git a/devel/codecrusader/distinfo b/devel/codecrusader/distinfo new file mode 100644 index 000000000000..557b0533ee57 --- /dev/null +++ b/devel/codecrusader/distinfo @@ -0,0 +1,6 @@ +MD5 (code_crusader_source-2.1.3.tar.gz) = 14e9ed8895e19855b94b371d0e835cf9 +MD5 (JTree_source-1.1.5.tar.gz) = b144fd6b9b29ab564f3156ab58bac951 +MD5 (JX_source-1.5.2.tar.gz) = b41be047d3d83cf5cd3b534f0b96ebda +MD5 (JToolBar_source-0.5.3.tar.gz) = 9e43ddde396b1c23b21c24f84bf0faf6 +MD5 (Code_Medic_source-1.0.3.tar.gz) = be96f49099ce00e3a5aeda6e907a0df4 +MD5 (JSearch_source-0.5.6.tar.gz) = b76d0fd94634da71a6a0e5b72609a53b diff --git a/devel/codecrusader/files/patch-ac b/devel/codecrusader/files/patch-ac new file mode 100644 index 000000000000..6ba4beb7793b --- /dev/null +++ b/devel/codecrusader/files/patch-ac @@ -0,0 +1,101 @@ +--- programs/code_crusader/Make.header.orig Mon Aug 2 06:01:38 1999 ++++ programs/code_crusader/Make.header Mon Aug 2 06:35:46 1999 +@@ -75,11 +75,10 @@ + ##### + + .PHONY : default +-default: libs jcc ctags ++default: libs jcc + + .PHONY : Makefiles + Makefiles: +- @cd ctags; ./configure > /dev/null + + # + # required libraries +@@ -97,21 +96,15 @@ + # + + .PHONY : jxinstall +-jxinstall: jcc ctags ++jxinstall: jcc + @strip jcc + ifneq (${J_WANT_INSTALL},0) +- @mv jcc ctags/ctags ${JX_INSTALL_ROOT}/ +- ifeq (${shell whoami},root) +- @cp ctags/ctags.1 /usr/man/man1/ +- endif ++ @mv jcc ${JX_INSTALL_ROOT}/ + endif + + .PHONY : jxuninstall + jxuninstall: +- @${RM} ${JX_INSTALL_ROOT}/jcc ${JX_INSTALL_ROOT}/ctags +- ifeq (${shell whoami},root) +- @${RM} /usr/man/man1/ctags.1 +- endif ++ @${RM} ${JX_INSTALL_ROOT}/jcc + + # + # remove binaries +@@ -119,7 +112,6 @@ + + .PHONY : tidy + tidy:: +- @cd ctags; ${MAKE} clean > /dev/null + + # makemake's clean invokes tidy, which does everything necessary + +@@ -132,14 +124,13 @@ + + .PHONY : source + source: +- @cd ctags; ${MAKE} clean > /dev/null + @cd ${J_DISTR_TAR_DIR}; \ +- tar -czf ${SRC_TAR_FILE} ${filter-out %.o %~ %ctags, \ ++ tar -czf ${SRC_TAR_FILE} ${filter-out %.o %~, \ + ${shell cd ${J_DISTR_TAR_DIR}; echo \ + ${addprefix ${SRC_FILE_DIR}/, \ + README.* LICENSE FAQ Make.* *.fd \ + ${EXTRA_FILES} macros/* \ +- code/* rpm/* ctags/* } }} ++ code/* rpm/* } }} + + # + # binary distributions +@@ -166,10 +157,10 @@ + # distr_sub (JCC_DISTR_TAR_FILE, MKMK_TARGET) + + .PHONY : distr_sub +-distr_sub: ctags ++distr_sub: + @strip jcc + @${RM} -r ${JCC} +- @mkdir ${JCC} ${JCC}/ctags ++ @mkdir ${JCC} + ifdef RH_ISV + @echo '***** RedHat ISV version *****' + @ln -s ../README.ISV ${JCC}/README +@@ -178,10 +169,7 @@ + endif + @ln -s ../jcc ${JCC}/jcc + @ln -s ../macros ${JCC}/macros +- @ln -s ../../ctags/ctags ${JCC}/ctags/ctags + @cp LICENSE FAQ ${EXTRA_FILES} ${JCC}/ +- @cp ctags/COPYING ctags/FAQ ctags/NEWS ctags/QUOTES ctags/README \ +- ctags/ctags.1 ${JCC}/ctags/ + @cd ${MKMKDIR}; \ + ${MAKE} JCC_TAR_DIR=${JCC_TAR_DIR}/${JCC} ${MKMK_TARGET} + @tar -chf ${JCC_DISTR_TAR_FILE} ${JCC}/* +@@ -239,11 +227,3 @@ + beta: debug + @strip -g jcc + @cp jcc ${HOME}/local/stable/jcc_latest +- +-# +-# ctags +-# +- +-.PHONY : ctags +-ctags: +- @cd ctags; ${MAKE}; strip ctags diff --git a/devel/codecrusader/pkg-comment b/devel/codecrusader/pkg-comment new file mode 100644 index 000000000000..ea9a767434f9 --- /dev/null +++ b/devel/codecrusader/pkg-comment @@ -0,0 +1 @@ +Code Crusader is a complete code development environment (IDE) for X diff --git a/devel/codecrusader/pkg-descr b/devel/codecrusader/pkg-descr new file mode 100644 index 000000000000..62328784db73 --- /dev/null +++ b/devel/codecrusader/pkg-descr @@ -0,0 +1,23 @@ +Code Crusader is a complete code development environment +inspired by MetroWerks CodeWarrior. + +Some of the features include: + Project window automatically builds Makefile. + Integrates with Code Medic to provide rapid, efficient + develop-debug cycle. + Integrated support for make + Parses error messages from: + Absoft FORTRAN, bison, cc, CC, flex, gcc, c++, g77, + KAI C++(kcc), make + Hypertext-like interface to UNIX man pages + Graphical display of C++ inheritance hierarchy + Option to use other text editor if you don't like the built-in one. + Configurable button toolbars. + Hypertext on-line help + Support for scrolling via wheel mice. + API's for extending Code Crusader + +WWW: http://www.cco.caltech.edu/~jafl/jcc/ + +-Davec +davec@unforgettable.com diff --git a/devel/codecrusader/pkg-plist b/devel/codecrusader/pkg-plist new file mode 100644 index 000000000000..32ec75cc5c5b --- /dev/null +++ b/devel/codecrusader/pkg-plist @@ -0,0 +1,29 @@ +bin/class_map +bin/jcc +bin/jfdesign +bin/jxlayout +bin/makecheck +bin/makemake +bin/maketouch +bin/need_font_list +bin/option_map +bin/medic +lib/libACE-4_6.so +lib/libACE-4_6.so.%%LIBACE%% +lib/libjcore-1_5_2.a +lib/libjcore-1_5_2.so +lib/libjcore-1_5_2.so.%%LIBJX%% +lib/libjtoolbar-0_5_3.a +lib/libjtoolbar-0_5_3.so +lib/libjtoolbar-0_5_3.so.%%LIBJTOOL%% +lib/libjtree-1_1_5.a +lib/libjtree-1_1_5.so +lib/libjtree-1_1_5.so.%%LIBJTREE%% +lib/libjx-1_5_2.a +lib/libjx-1_5_2.so +lib/libjx-1_5_2.so.%%LIBJX%% +lib/libjsearch-0_5_6.a +lib/libjsearch-0_5_6.so +lib/libjsearch-0_5_6.so.%%LIBJSEARCH%% +@exec /sbin/ldconfig -m %D/lib +@unexec /sbin/ldconfig -R |