From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Feb 9 00:30:22 2004 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A01E816A509 for ; Mon, 9 Feb 2004 00:30:22 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 942D743D2F for ; Mon, 9 Feb 2004 00:30:22 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i198UMbv074290 for ; Mon, 9 Feb 2004 00:30:22 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id i198UMOa074286; Mon, 9 Feb 2004 00:30:22 -0800 (PST) (envelope-from gnats) Resent-Date: Mon, 9 Feb 2004 00:30:22 -0800 (PST) Resent-Message-Id: <200402090830.i198UMOa074286@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, John Merryweather Cooper Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1FACA16A4CE for ; Mon, 9 Feb 2004 00:26:11 -0800 (PST) Received: from mta11.adelphia.net (mta11.adelphia.net [68.168.78.205]) by mx1.FreeBSD.org (Postfix) with ESMTP id CC88E43D2F for ; Mon, 9 Feb 2004 00:26:10 -0800 (PST) (envelope-from jmcoopr@borgdemon.losaca.adelphia.net) Received: from borgdemon.losaca.adelphia.net ([67.21.169.8]) by mta11.adelphia.netESMTP <20040209082609.LUGJ27938.mta11.adelphia.net@borgdemon.losaca.adelphia.net> for ; Mon, 9 Feb 2004 03:26:09 -0500 Received: by borgdemon.losaca.adelphia.net (Postfix, from userid 1001) id 09F5DBAA; Mon, 9 Feb 2004 00:25:48 -0800 (PST) Message-Id: <20040209082548.09F5DBAA@borgdemon.losaca.adelphia.net> Date: Mon, 9 Feb 2004 00:25:48 -0800 (PST) From: John Merryweather Cooper To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/62574: [NEW PORT] editors/fpc-ide X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: John Merryweather Cooper List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Feb 2004 08:30:22 -0000 >Number: 62574 >Category: ports >Synopsis: [NEW PORT] editors/fpc-ide >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Mon Feb 09 00:30:22 PST 2004 >Closed-Date: >Last-Modified: >Originator: John Merryweather Cooper >Release: FreeBSD 4.9-STABLE i386 >Organization: >Environment: System: FreeBSD borgdemon.losaca.adelphia.net 4.9-STABLE FreeBSD 4.9-STABLE #11: Sun Feb 8 00:49:01 PST 2004 root@borgdemon.losaca.adelphia.net:/usr/obj/usr/src/sys/K6-2 i386 >Description: editors/fpc-ide is a Turbo Pascal-like IDE/compiler/debugger for Free Pascal. >How-To-Repeat: N/A >Fix: --- new-port-fpc-ide begins here --- # 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-ide # fpc-ide/Makefile # fpc-ide/distinfo # fpc-ide/pkg-descr # fpc-ide/pkg-plist # fpc-ide/files # fpc-ide/files/patch-share::src::fpc-1.0.10::ide::compiler::Makefile.fpc # echo c - fpc-ide mkdir -p fpc-ide > /dev/null 2>&1 echo x - fpc-ide/Makefile sed 's/^X//' >fpc-ide/Makefile << 'END-of-fpc-ide/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$ X# X XPORTNAME= ide XPORTVERSION= 1.0.10 XCATEGORIES= editors 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 integrated IDE/compiler X X.include X XBUILD_DEPENDS= ppc386:${PORTSDIR}/lang/fpc \ X ${LOCALBASE}/lib/fpc/${PORTVERSION}/units/freebsd/gdbint/gdbint.ppu:${PORTSDIR}/devel/fpc-gdbint \ X ${LOCALBASE}/lib/fpc/${PORTVERSION}/units/freebsd/fv/drivers.ppu:${PORTSDIR}/devel/fpc-fvision XRUN_DEPENDS= ${BUILD_DEPENDS} 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 XDOCSDIR= ${PREFIX}/share/doc/fpc 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 INSTALL_DOCDIR=${DOCSDIR} \ X GCCLIBDIR=/usr/lib \ X GDBLIBDIR=${LOCALBASE}/lib/fpc/${PORTVERSION}/units/freebsd/gdbint/libgdb \ 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# ide and compiler sources X @${TAR} zxf ${WRKSRC}/sources/compilersrc.tar.gz \ X --directory ${WRKSRC} X @${TAR} zxf ${WRKSRC}/sources/idesrc.tar.gz \ X --directory ${WRKSRC} X Xpost-patch: X# change to alter amount of optimization X @${FIND} ${WRKSRC}/share/src -name "Makefile*" | \ X ${XARGS} ${REINPLACE_CMD} 's|-OG2p3|-OG2p1|g' X Xpre-build: X cd ${WRKSRC}/share/src/fpc-${PORTVERSION}/ide/compiler && \ X fpcmake X Xdo-build: X @${SETENV} ${MAKE_ENV} ${GMAKE} -C \ X ${WRKSRC}/share/src/fpc-${PORTVERSION}/ide \ X all X Xdo-install: X @${SETENV} ${MAKE_ENV} ${GMAKE} -C \ X ${WRKSRC}/share/src/fpc-${PORTVERSION}/ide \ X install X X.include END-of-fpc-ide/Makefile echo x - fpc-ide/distinfo sed 's/^X//' >fpc-ide/distinfo << 'END-of-fpc-ide/distinfo' XMD5 (fpc-1.0.10.ELF.tar) = 6ad56eb115152174683499da3ece7667 XSIZE (fpc-1.0.10.ELF.tar) = 17448960 END-of-fpc-ide/distinfo echo x - fpc-ide/pkg-descr sed 's/^X//' >fpc-ide/pkg-descr << 'END-of-fpc-ide/pkg-descr' XRegexpr is part of the base packages of Free Pascal, Xa 32-bit Turbo Pascal/Delphi compatible compiler. Regexpr Xprovides regular expression routines. X XWWW: http://www.freepascal.org/ X X-- XJohn Merryweather Cooper END-of-fpc-ide/pkg-descr echo x - fpc-ide/pkg-plist sed 's/^X//' >fpc-ide/pkg-plist << 'END-of-fpc-ide/pkg-plist' Xbin/fp Xlib/fpc/%%PORTVERSION%%/ide/cvsco.tdf Xlib/fpc/%%PORTVERSION%%/ide/cvsdiff.tdf Xlib/fpc/%%PORTVERSION%%/ide/cvsup.tdf Xlib/fpc/%%PORTVERSION%%/ide/fp.ans Xlib/fpc/%%PORTVERSION%%/ide/gplprog.pt Xlib/fpc/%%PORTVERSION%%/ide/gplunit.pt Xlib/fpc/%%PORTVERSION%%/ide/grep.tdf Xlib/fpc/%%PORTVERSION%%/ide/program.pt Xlib/fpc/%%PORTVERSION%%/ide/tpgrep.tdf Xlib/fpc/%%PORTVERSION%%/ide/unit.pt X%%DOCSDIR%%/readme.ide X@dirrm %%DOCSDIR%% X@dirrm lib/fpc/%%PORTVERSION%%/ide X@dirrm lib/fpc/%%PORTVERSION%% X@dirrm lib/fpc END-of-fpc-ide/pkg-plist echo c - fpc-ide/files mkdir -p fpc-ide/files > /dev/null 2>&1 echo x - fpc-ide/files/patch-share::src::fpc-1.0.10::ide::compiler::Makefile.fpc sed 's/^X//' >fpc-ide/files/patch-share::src::fpc-1.0.10::ide::compiler::Makefile.fpc << 'END-of-fpc-ide/files/patch-share::src::fpc-1.0.10::ide::compiler::Makefile.fpc' X--- share/src/fpc-1.0.10/ide/compiler/Makefile.fpc.old Fri Jan 16 00:23:44 2004 X+++ share/src/fpc-1.0.10/ide/compiler/Makefile.fpc Fri Jan 16 00:25:03 2004 X@@ -18,7 +18,7 @@ X fpcdir=../.. X X [prerules] X-COMPILERDIR=$(FPCDIR)/compiler X+COMPILERDIR=../../compiler X X # Use 1.0.2 and 1.0.4 require -Ca to generate simple ppu X ifneq ($(findstring 1.0.2,$(FPC_VERSION)),) END-of-fpc-ide/files/patch-share::src::fpc-1.0.10::ide::compiler::Makefile.fpc exit --- new-port-fpc-ide ends here --- >Release-Note: >Audit-Trail: >Unformatted: