Date: Tue, 10 Feb 2004 00:27:17 -0800 (PST) From: John Merryweather Cooper <coop9211@uidaho.edu> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/62621: [NEW PORT] databases/fpc-mysql Message-ID: <20040210082717.991162B1@borgdemon.losaca.adelphia.net> Resent-Message-ID: <200402100830.i1A8UKeb005651@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 62621 >Category: ports >Synopsis: [NEW PORT] databases/fpc-mysql >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: Tue Feb 10 00:30:19 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: databases/mysql is a Free Pascal unit to interface with MySQL >How-To-Repeat: N/A >Fix: --- new-port-fpc-mysql 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-mysql # fpc-mysql/Makefile # fpc-mysql/distinfo # fpc-mysql/pkg-descr # fpc-mysql/pkg-plist # echo c - fpc-mysql mkdir -p fpc-mysql > /dev/null 2>&1 echo x - fpc-mysql/Makefile sed 's/^X//' >fpc-mysql/Makefile << 'END-of-fpc-mysql/Makefile' X# New ports collection makefile for: Free Pascal mysql Unit X# Date created: 9 February 2004 X# Whom: John Merryweather Cooper X# X# $FreeBSD$ X# X XPORTNAME= mysql 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 MySQL X X.include <bsd.port.pre.mk> 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# mysql sources X @${TAR} zxf ${WRKSRC}/sources/unitsmysqlsrc.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/mysql \ X all X Xdo-install: X @${SETENV} ${MAKE_ENV} ${GMAKE} -C \ X ${WRKSRC}/share/src/fpc-${PORTVERSION}/packages/base/mysql \ X install X X.include <bsd.port.post.mk> END-of-fpc-mysql/Makefile echo x - fpc-mysql/distinfo sed 's/^X//' >fpc-mysql/distinfo << 'END-of-fpc-mysql/distinfo' XMD5 (fpc-1.0.10.ELF.tar) = 6ad56eb115152174683499da3ece7667 XSIZE (fpc-1.0.10.ELF.tar) = 17448960 END-of-fpc-mysql/distinfo echo x - fpc-mysql/pkg-descr sed 's/^X//' >fpc-mysql/pkg-descr << 'END-of-fpc-mysql/pkg-descr' XMysql is part of the base packages of Free Pascal, a 32-bit XTurbo Pascal/Delphi compatible compiler. Mysql provides an Xinterface to MySQL databases. X XWWW: http://www.freepascal.org/ X X-- XJohn Merryweather Cooper <coop9211@uidaho.edu> END-of-fpc-mysql/pkg-descr echo x - fpc-mysql/pkg-plist sed 's/^X//' >fpc-mysql/pkg-plist << 'END-of-fpc-mysql/pkg-plist' Xlib/fpc/%%PORTVERSION%%/units/freebsd/mysql/Package.fpc Xlib/fpc/%%PORTVERSION%%/units/freebsd/mysql/mysql.o Xlib/fpc/%%PORTVERSION%%/units/freebsd/mysql/mysql.ppu Xlib/fpc/%%PORTVERSION%%/units/freebsd/mysql/mysql_com.o Xlib/fpc/%%PORTVERSION%%/units/freebsd/mysql/mysql_com.ppu Xlib/fpc/%%PORTVERSION%%/units/freebsd/mysql/mysql_version.o Xlib/fpc/%%PORTVERSION%%/units/freebsd/mysql/mysql_version.ppu X@dirrm lib/fpc/%%PORTVERSION%%/units/freebsd/mysql 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-mysql/pkg-plist exit --- new-port-fpc-mysql ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040210082717.991162B1>