# 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-ibase # fpc-ibase/Makefile # fpc-ibase/distinfo # fpc-ibase/pkg-descr # fpc-ibase/pkg-plist # echo c - fpc-ibase mkdir -p fpc-ibase > /dev/null 2>&1 echo x - fpc-ibase/Makefile sed 's/^X//' >fpc-ibase/Makefile << 'END-of-fpc-ibase/Makefile' X# New ports collection makefile for: Free Pascal ibase Unit X# Date created: 9 February 2004 X# Whom: John Merryweather Cooper X# X# $FreeBSD$ X# X XPORTNAME= ibase XPORTVERSION= 1.0.10 XCATEGORIES= databases 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 interface to interbase X X.include X XBUILD_DEPENDS= ppc386:${PORTSDIR}/lang/fpc 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 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# interbase sources X @${TAR} zxf ${WRKSRC}/sources/unitsibasesrc.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 @${SETENV} ${MAKE_ENV} ${GMAKE} -C \ X ${WRKSRC}/share/src/fpc-${PORTVERSION}/packages/base/ibase \ X all X Xdo-install: X @${SETENV} ${MAKE_ENV} ${GMAKE} -C \ X ${WRKSRC}/share/src/fpc-${PORTVERSION}/packages/base/ibase \ X install X X.include END-of-fpc-ibase/Makefile echo x - fpc-ibase/distinfo sed 's/^X//' >fpc-ibase/distinfo << 'END-of-fpc-ibase/distinfo' XMD5 (fpc-1.0.10.ELF.tar) = 6ad56eb115152174683499da3ece7667 XSIZE (fpc-1.0.10.ELF.tar) = 17448960 END-of-fpc-ibase/distinfo echo x - fpc-ibase/pkg-descr sed 's/^X//' >fpc-ibase/pkg-descr << 'END-of-fpc-ibase/pkg-descr' XIbase is part of the base packages of Free Pascal, a 32-bit XTurbo Pascal/Delphi compatible compiler. Ibase provides an Xinterface to Interbase databases. X XWWW: http://www.freepascal.org/ X X-- XJohn Merryweather Cooper END-of-fpc-ibase/pkg-descr echo x - fpc-ibase/pkg-plist sed 's/^X//' >fpc-ibase/pkg-plist << 'END-of-fpc-ibase/pkg-plist' Xlib/fpc/%%PORTVERSION%%/units/freebsd/ibase/Package.fpc Xlib/fpc/%%PORTVERSION%%/units/freebsd/ibase/ibase40.o Xlib/fpc/%%PORTVERSION%%/units/freebsd/ibase/ibase40.ppu Xlib/fpc/%%PORTVERSION%%/units/freebsd/ibase/ibase60.o Xlib/fpc/%%PORTVERSION%%/units/freebsd/ibase/ibase60.ppu X@dirrm lib/fpc/%%PORTVERSION%%/units/freebsd/ibase 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-ibase/pkg-plist exit