ports/61116: [NEW PORT] databases/fpc-postgres

John Merryweather Cooper johnmary at adelphia.net
Fri Jan 9 09:20:26 UTC 2004


>Number:         61116
>Category:       ports
>Synopsis:       [NEW PORT] databases/fpc-postgres
>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:   Fri Jan 09 01:20: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 #6: Thu Jan 1 21:36:51 PST 2004 root at borgdemon.losaca.adelphia.net:/usr/obj/usr/src/sys/K6-2 i386


>Description:
	databases/fpc-postgres is a basic Free Pascal unit for interfacing
	with PostGreSQL.

>How-To-Repeat:
	N/A

>Fix:


--- new-port-fpc-postgres-1.0.10 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-postgres
#	fpc-postgres/Makefile
#	fpc-postgres/distinfo
#	fpc-postgres/pkg-descr
#	fpc-postgres/pkg-plist
#
echo c - fpc-postgres
mkdir -p fpc-postgres > /dev/null 2>&1
echo x - fpc-postgres/Makefile
sed 's/^X//' >fpc-postgres/Makefile << 'END-of-fpc-postgres/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=	postgres
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 at uidaho.edu
XCOMMENT=	Free Pascal interface to PostGreSQL
X
X.include <bsd.port.pre.mk>
X
XLIB_DEPENDS=	pq.2:${PORTSDIR}/databases/postgresql72
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# postgres sources
X	@${TAR} zxf ${WRKSRC}/sources/unitspostgressrc.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/postgres && \
X		${GMAKE} ${MAKE_ENV} all
X
Xdo-install:
X	cd ${WRKSRC}/share/src/fpc-${PORTVERSION}/packages/base/postgres && \
X		${GMAKE} ${MAKE_ENV} install
X
X.include <bsd.port.post.mk>
END-of-fpc-postgres/Makefile
echo x - fpc-postgres/distinfo
sed 's/^X//' >fpc-postgres/distinfo << 'END-of-fpc-postgres/distinfo'
XMD5 (fpc-1.0.10.ELF.tar) = 6ad56eb115152174683499da3ece7667
END-of-fpc-postgres/distinfo
echo x - fpc-postgres/pkg-descr
sed 's/^X//' >fpc-postgres/pkg-descr << 'END-of-fpc-postgres/pkg-descr'
XPostgres is part of the base packages of Free Pascal, a 32-bit
XTurbo Pascal/Delphi compatible compiler.  Postgres provides an
Xinterface to PostGreSQL.
X
XWWW: http://www.freepascal.org/
X
X--
XJohn Merryweather Cooper <coop9211 at uidaho.edu>
END-of-fpc-postgres/pkg-descr
echo x - fpc-postgres/pkg-plist
sed 's/^X//' >fpc-postgres/pkg-plist << 'END-of-fpc-postgres/pkg-plist'
Xlib/fpc/%%PORTVERSION%%/units/freebsd/postgres/Package.fpc
Xlib/fpc/%%PORTVERSION%%/units/freebsd/postgres/dllist.o
Xlib/fpc/%%PORTVERSION%%/units/freebsd/postgres/dllist.ppu
Xlib/fpc/%%PORTVERSION%%/units/freebsd/postgres/postgres.o
Xlib/fpc/%%PORTVERSION%%/units/freebsd/postgres/postgres.ppu
X at dirrm lib/fpc/%%PORTVERSION%%/units/freebsd/postgres
X at dirrm lib/fpc/%%PORTVERSION%%/units/freebsd
X at dirrm lib/fpc/%%PORTVERSION%%/units
X at dirrm lib/fpc/%%PORTVERSION%%
X at dirrm lib/fpc
END-of-fpc-postgres/pkg-plist
exit
--- new-port-fpc-postgres-1.0.10 ends here ---



--------------070908090508060801040900--


>Release-Note:
>Audit-Trail:
>Unformatted:
 This is a multi-part message in MIME format.
 --------------070908090508060801040900
 Content-Type: text/plain; charset=us-ascii; format=flowed
 Content-Transfer-Encoding: 7bit
 
 See attached.
 
 --------------070908090508060801040900
 Content-Type: text/plain;
  name="send-pr-new-port-databases-fpc-postgres"
 Content-Transfer-Encoding: 7bit
 Content-Disposition: inline;
  filename="send-pr-new-port-databases-fpc-postgres"
 
 To: FreeBSD-gnats-submit at freebsd.org
 From: John Merryweather Cooper <johnmary at adelphia.net>
 Reply-To: John Merryweather Cooper <coop9211 at uidaho.edu>
 Cc: 
 X-send-pr-version: 3.113
 X-GNATS-Notify: 
 
 



More information about the freebsd-ports-bugs mailing list