diff options
author | Satoshi Taoka <taoka@FreeBSD.org> | 1999-04-13 17:15:54 +0000 |
---|---|---|
committer | Satoshi Taoka <taoka@FreeBSD.org> | 1999-04-13 17:15:54 +0000 |
commit | 160ca8627c5a6b5e2830defd2163505fd5510aae (patch) | |
tree | 816bb6fc66d21f901a373258d1adfc4a08ef1032 /devel/cscope | |
parent | ddafb0a8ee57117ffe89889d78f4550829bf916e (diff) | |
download | ports-160ca8627c5a6b5e2830defd2163505fd5510aae.tar.gz ports-160ca8627c5a6b5e2830defd2163505fd5510aae.zip |
Notes
Diffstat (limited to 'devel/cscope')
-rw-r--r-- | devel/cscope/Makefile | 72 | ||||
-rw-r--r-- | devel/cscope/distinfo | 1 | ||||
-rw-r--r-- | devel/cscope/pkg-comment | 1 | ||||
-rw-r--r-- | devel/cscope/pkg-descr | 11 | ||||
-rw-r--r-- | devel/cscope/pkg-plist | 1 |
5 files changed, 86 insertions, 0 deletions
diff --git a/devel/cscope/Makefile b/devel/cscope/Makefile new file mode 100644 index 000000000000..b0725d2b2a62 --- /dev/null +++ b/devel/cscope/Makefile @@ -0,0 +1,72 @@ +# ports collection makefile for: cscope +# Version required: 13.7 +# Date created: 1998-11-21 +# Whom: Castor Fu +# +# $Id: $ +# + +DISTNAME= cscope-13.7 +CATEGORIES= devel + +MAINTAINER= castor@alumni.caltech.edu + +NO_WRKSUBDIR=yes +NO_CHECKSUM=yes +RESTRICTED="Redistribution license from Lucent Technologies required." +MAKEFILE=makefile + +# Location of the Cscope sources as distributed on Toolchest disk +CDROMDIR=/cdrom/cscope +TESTFILE=cscope.1 + +MAN1= cscope.1 + +TRUNCATED_NAMES=fixkeypad.c constants.h + +do-fetch: + @${DO_NADA} + +# +# Introduce the ability to get things from a fixed distribution filesystem. +# +pre-extract: + @${MKDIR} ${_DISTDIR} + @(cd ${_DISTDIR}; \ + for file in ${DISTFILES}; do \ + if [ ! -f $$file -a ! -f `${BASENAME} $$file` ]; then \ + if [ -h $$file -o -h `${BASENAME} $$file` ]; then \ + ${ECHO_MSG} ">> ${_DISTDIR}/$$file is a broken symlink."; \ + ${ECHO_MSG} ">> Perhaps a filesystem (most likely a CD) isn't mounted?"; \ + ${ECHO_MSG} ">> Please correct this problem and try again."; \ + exit 1; \ + fi ; \ + ${ECHO_MSG} ">> $$file doesn't seem to exist on this system."; \ + if [ ! -d ${CDROMDIR} -a ! -f ${CDROMDIR}/${TESTFILE} ] ; then \ + ${ECHO_MSG} ">> ${CDROMDIR}/${TESTFILE} not found. Perhaps the AT&T CD isn't mounted?"; \ + ${ECHO_MSG} ">> See <http://www.lucent.com/ssg/html/toolchest.html>."; \ + exit 1; \ + else \ + (cd ${CDROMDIR}; tar czf ${_DISTDIR}/$$file .); \ + fi; \ + fi \ + done) + +# +# Get rid of any <CR>'s in the files and expand out file names which may have been truncated. +# + +post-extract: + @(chmod +w ${WRKSRC}) + @(for file in ${WRKSRC}/* ; do ${TR} -d '\015' < $$file > $$file.x ; ${MV} -f $$file.x $$file ; done) + @(for file in ${TRUNCATED_NAMES} ; do \ + x=`echo $$file | ${SED} -e 's/^\(......\).*/\1/'` ; \ + y=$${file#*.} ; \ + ${MV} ${WRKSRC}/$${x}*.$${y} ${WRKSRC}/$$file; \ + done) + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/cscope ${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/cscope.1 ${PREFIX}/man/man1 + +.include <bsd.port.mk> diff --git a/devel/cscope/distinfo b/devel/cscope/distinfo new file mode 100644 index 000000000000..7fe78ca904df --- /dev/null +++ b/devel/cscope/distinfo @@ -0,0 +1 @@ +MD5 (cscope-13.7.tar.gz) = 615fc7ca93c52cf5ecccd9ebff92e4c6 diff --git a/devel/cscope/pkg-comment b/devel/cscope/pkg-comment new file mode 100644 index 000000000000..2094bab0ee52 --- /dev/null +++ b/devel/cscope/pkg-comment @@ -0,0 +1 @@ +an interactive C program browser diff --git a/devel/cscope/pkg-descr b/devel/cscope/pkg-descr new file mode 100644 index 000000000000..d166544d553e --- /dev/null +++ b/devel/cscope/pkg-descr @@ -0,0 +1,11 @@ +This port of Lucent Technologies 'cscope' from the Software Toolchest +Volume II lets one easily navigate large C programs. It's designed +to answer questions like where symbols are defined and used, and where +variables are assigned. + +A source site license is available for approximately US$500 from distributors +such as Unipress Software, <http://www.unipress.com/att>, or directly +from Lucent, <http://www.lucent.com/ssg/html/toolchest.html>. + + -castor fu + castor@alumni.caltech.edu diff --git a/devel/cscope/pkg-plist b/devel/cscope/pkg-plist new file mode 100644 index 000000000000..070fb5c02d50 --- /dev/null +++ b/devel/cscope/pkg-plist @@ -0,0 +1 @@ +bin/cscope |