Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Aug 1998 16:43:08 -0400 (EDT)
From:      Bill Fumerola <billf@jade.chc-chimes.com>
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   ports/7580: new port: devel/global
Message-ID:  <199808112043.QAA09109@jade.chc-chimes.com>

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

>Number:         7580
>Category:       ports
>Synopsis:       new port: devel/global
>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 Aug 11 13:50:00 PDT 1998
>Last-Modified:
>Originator:     Bill Fumerola
>Organization:
Computer Horizons Corp
>Release:        FreeBSD 2.2.7-STABLE i386
>Environment:

>Description:

I hate programs that have multiple makefiles that don't share or depend on one 
another....

>How-To-Repeat:
>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:
#
#	.
#	./Makefile
#	./files
#	./files/md5
#	./scripts
#	./scripts/change-generic
#	./pkg
#	./pkg/PLIST
#	./pkg/COMMENT
#	./pkg/DESCR
#
echo c - .
mkdir -p . > /dev/null 2>&1
echo x - ./Makefile
sed 's/^X//' >./Makefile << 'END-of-./Makefile'
X# New ports collection makefile for:   global
X# Version required:    3.1
X# Date created:        11 August 1998
X# Whom:                Bill Fumerola <billf@chc-chimes.com>
X#
X# $Id: $
X#
X
XDISTNAME=	global-3.1
XCATEGORIES=	devel
XMASTER_SITES=	http://wafu.netgate.net/tama/unix/
X
XMAINTAINER=	billf@chc-chimes.com
X
XSCRIPTS_ENV=	${SED}
X
Xdo-patch:
X
X	cd ${WRKSRC} ; ${SCRIPTDIR}/change-generic
X	${MV} ${WRKSRC}/Makefile.inc ${WRKSRC}/Makefile.inc.old
X	${CAT} ${WRKSRC}/Makefile.inc.old | \
X	${SED} 's#/usr/bin#${PREFIX}/bin#'  >> ${WRKSRC}/Makefile.inc
X
X.include <bsd.port.mk>
END-of-./Makefile
echo c - ./files
mkdir -p ./files > /dev/null 2>&1
echo x - ./files/md5
sed 's/^X//' >./files/md5 << 'END-of-./files/md5'
XMD5 (global-3.1.tar.gz) = 10dc374702c8de1f0baed8954fb54acd
END-of-./files/md5
echo c - ./scripts
mkdir -p ./scripts > /dev/null 2>&1
echo x - ./scripts/change-generic
sed 's/^X//' >./scripts/change-generic << 'END-of-./scripts/change-generic'
X#/bin/sh
Xbar="Makefile.generic.old"
Xnuts="Makefile.generic"
Xfor foo in `find . -name Makefile.generic`
Xdo
Xbadfile=$bar
Xmv $foo $badfile
Xcat $badfile | \
Xsed 's#/usr/bin#/usr/local/bin#' | \
Xsed 's#/usr/man#/usr/local/man#' >> $foo
Xdone
X
END-of-./scripts/change-generic
echo c - ./pkg
mkdir -p ./pkg > /dev/null 2>&1
echo x - ./pkg/PLIST
sed 's/^X//' >./pkg/PLIST << 'END-of-./pkg/PLIST'
Xbin/gtags
Xbin/global
Xbin/gctags
Xbin/btreeop
Xbin/htags
Xbin/systags
END-of-./pkg/PLIST
echo x - ./pkg/COMMENT
sed 's/^X//' >./pkg/COMMENT << 'END-of-./pkg/COMMENT'
Xa common source code tag system for C/Yacc and Java source files
END-of-./pkg/COMMENT
echo x - ./pkg/DESCR
sed 's/^X//' >./pkg/DESCR << 'END-of-./pkg/DESCR'
XA common source code tag system for C/Yacc and Java source files. You can
Xlocate the specified function in C source files and move there easily. It
Xis useful to hack a large project containing many subdirectories, many
X'#ifdef' and many main() functions like MH, X or the Linux kernel. 
X
Xhttp://wafu.netgate.net/tama/unix/global.html
X
XBill Fumerola <billf@chc-chimes.com>
END-of-./pkg/DESCR
exit

>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?199808112043.QAA09109>