Bug 61118

Summary: [NEW PORT] devel/fpc-gdbint
Product: Ports & Packages Reporter: John Merryweather Cooper <johnmary>
Component: Individual Port(s)Assignee: freebsd-ports-bugs (Nobody) <ports-bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description John Merryweather Cooper 2004-01-09 09:40:16 UTC
	devel/fpc-gdbint is a Free Pascal unit that supports interfacing
	with gdb.  It is one of the basic Free Pascal units.

Fix: 

--------------080104030303030508020700----r3eYVqRHad2fO3JrA87VZPWUp2MGsveC0SVXAhGnjCXB51Gr
Content-Type: text/plain; name="new-port-fpc-gdbint-1.0.10"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="new-port-fpc-gdbint-1.0.10"

# 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:
#
#	fpc-gdbint
#	fpc-gdbint/Makefile
#	fpc-gdbint/distinfo
#	fpc-gdbint/pkg-descr
#	fpc-gdbint/pkg-plist
#
echo c - fpc-gdbint
mkdir -p fpc-gdbint > /dev/null 2>&1
echo x - fpc-gdbint/Makefile
sed 's/^X//' >fpc-gdbint/Makefile << 'END-of-fpc-gdbint/Makefile'
X# New ports collection makefile for:	Free Pascal Compiler
X# Date created: 			28 November 2001
X# Whom: 				John Merryweather Cooper et al
X#
X# $FreeBSD: ports/lang/fpc/Makefile,v 1.10 2004/01/07 10:14:04 znerd Exp $
X#
X
XPORTNAME=	gdbint
XPORTVERSION=	1.0.10
XCATEGORIES=	devel lang
XMASTER_SITES=	ftp://ftp.freepascal.org/pub/fpc/dist/FreeBSD/ \
X		http://planetmirror.com/pub/fpc/dist/FreeBSD/ \
X		ftp://ftp.jp.freepascal.org/mirror/fpc/dist/FreeBSD/ \
X		ftp://freepascal.stack.nl/pub/fpc/dist/FreeBSD/ \
X		ftp://ftp.no.freepascal.org/pub/fpc/dist/FreeBSD/ \
X		ftp://ftp.us.freepascal.org/pub/fpc/dist/FreeBSD/ \
X		${MASTER_SITE_SOURCEFORGE}
XMASTER_SITE_SUBDIR=	freepascal
XPKGNAMEPREFIX=	fpc-
XDISTNAME=	fpc-${PORTVERSION}.ELF
XEXTRACT_SUFX=	.tar
X
XMAINTAINER=	coop9211@uidaho.edu
XCOMMENT=	Free Pascal unit providing interface to gdb
X
X.include <bsd.port.pre.mk>
X
XBUILD_DEPENDS=	ppc386:${PORTSDIR}/lang/fpc
XRUN_DEPENDS=	${BUILD_DEPENDS}
X.if ${OSVERSION} >= 500000
XLIB_DEPENDS=   c.4:${PORTSDIR}/misc/compat4x
X.endif
X.if ${OSVERSION} < 470000
XEXTRACT_DEPENDS=	gtar:${PORTSDIR}/archivers/gtar
XTAR=			${LOCALBASE}/bin/gtar
X.endif
XUSE_GMAKE=	yes
XUSE_REINPLACE=	yes
XONLY_FOR_ARCHS=	i386
X
XPLIST_SUB+=	PORTVERSION=${PORTVERSION}
X
XMAKE_ENV+=	PATH=${LOCALBASE}/bin:$$PATH \
X		FPC=${LOCALBASE}/bin/ppc386 \
X		INSTALL_BASEDIR=${PREFIX}/lib/fpc/${PORTVERSION} \
X		INSTALL_BINDIR=${PREFIX}/bin \
X		GCCLIBDIR=/usr/lib \
X		RELEASE=1
X
Xdo-extract:
X# unpack distribution
X	@${MKDIR} ${WRKSRC}
X	@${TAR} xf ${DISTDIR}/${DISTNAME}.tar --directory ${WRKSRC}
X# unpack sources distribution
X	@${MKDIR} ${WRKSRC}/sources
X	@${TAR} xf ${WRKSRC}/sources.tar --directory ${WRKSRC}/sources
X# further extract base sources
X#
X# gdbint sources
X	@${TAR} zxf ${WRKSRC}/sources/unitsgdbintsrc.tar.gz \
X		--directory ${WRKSRC}
X
Xpost-patch:
X# change to alter amount of optimization
X	@${FIND} ${WRKSRC}/share/src/fpc-${PORTVERSION} -name \
X		"Makefile*" | ${XARGS} ${REINPLACE_CMD} 's|-OG2p3|-OG2p1|g'
X
Xdo-build:
X	cd ${WRKSRC}/share/src/fpc-${PORTVERSION}/packages/base/gdbint && \
X		${GMAKE} ${MAKE_ENV} all
X
Xdo-install:
X	cd ${WRKSRC}/share/src/fpc-${PORTVERSION}/packages/base/gdbint && \
X		${GMAKE} ${MAKE_ENV} install
X
X.include <bsd.port.post.mk>
END-of-fpc-gdbint/Makefile
echo x - fpc-gdbint/distinfo
sed 's/^X//' >fpc-gdbint/distinfo << 'END-of-fpc-gdbint/distinfo'
XMD5 (fpc-1.0.10.ELF.tar) = 6ad56eb115152174683499da3ece7667
END-of-fpc-gdbint/distinfo
echo x - fpc-gdbint/pkg-descr
sed 's/^X//' >fpc-gdbint/pkg-descr << 'END-of-fpc-gdbint/pkg-descr'
XThe gdbint unit is part of the base packages of Free Pascal,
Xa 32-bit Turbo Pascal/Delphi compatible compiler.  This unit
Xprovides an interface to gdb.
X
XWWW: http://www.freepascal.org/
X
X--
XJohn Merryweather Cooper <coop9211@uidaho.edu>
END-of-fpc-gdbint/pkg-descr
echo x - fpc-gdbint/pkg-plist
sed 's/^X//' >fpc-gdbint/pkg-plist << 'END-of-fpc-gdbint/pkg-plist'
Xlib/fpc/%%PORTVERSION%%/units/freebsd/gdbint/Package.fpc
Xlib/fpc/%%PORTVERSION%%/freebsd/gdbint/gdbcon.o
Xlib/fpc/%%PORTVERSION%%/units/freebsd/gdbint/gdbcon.ppu
Xlib/fpc/%%PORTVERSION%%/units/freebsd/gdbint/gdbint.o
Xlib/fpc/%%PORTVERSION%%/units/freebsd/gdbint/gdbint.ppu
X@dirrm lib/fpc/%%PORTVERSION%%/units/freebsd/gdbint
X@dirrm lib/fpc/%%PORTVERSION%%/units/freebsd
X@dirrm lib/fpc/%%PORTVERSION%%/units
X@dirrm lib/fpc/%%PORTVERSION%%
X@dirrm lib/fpc
END-of-fpc-gdbint/pkg-plist
exit
How-To-Repeat: 	N/A
Comment 1 Ying-Chieh Liao freebsd_committer freebsd_triage 2004-01-16 00:56:55 UTC
State Changed
From-To: open->closed

committed, thanks