From nobody@FreeBSD.org  Wed Jun  7 22:51:20 2006
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id DC13F16B2E1
	for <freebsd-gnats-submit@FreeBSD.org>; Wed,  7 Jun 2006 20:24:09 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id A547243D48
	for <freebsd-gnats-submit@FreeBSD.org>; Wed,  7 Jun 2006 20:24:09 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id k57KO9eP014995
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 7 Jun 2006 20:24:09 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id k57KO9UN014994;
	Wed, 7 Jun 2006 20:24:09 GMT
	(envelope-from nobody)
Message-Id: <200606072024.k57KO9UN014994@www.freebsd.org>
Date: Wed, 7 Jun 2006 20:24:09 GMT
From: Jose Alonso Cardenas Marquez <acardenas@bsd.org.pe>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [NEW PORT] devel/fpc-pthreads: Free Pascal wraper for the pthreads library
X-Send-Pr-Version: www-2.3

>Number:         98653
>Category:       ports
>Synopsis:       [NEW PORT] devel/fpc-pthreads: Free Pascal wraper for the pthreads library
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    garga
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jun 07 23:00:27 GMT 2006
>Closed-Date:    Wed Jun 21 17:11:53 GMT 2006
>Last-Modified:  Wed Jun 21 17:11:53 GMT 2006
>Originator:     Jose Alonso Cardenas Marquez
>Release:        FreeBSD 6.1-STABLE i386
>Organization:
BSDPeru (http://www.bsd.org.pe)
>Environment:
FreeBSD HellFire.BSD.org.pe 6.1-STABLE FreeBSD 6.1-STABLE #0: Wed May 24 08:30:45 PET 2006
>Description:
Wraper for the pthreads library. Not all is implemented but most of the 
functions are working

WWW:	http://www.freepascal.org/
>How-To-Repeat:

>Fix:
--- fpc-pthreads-2.0.2.shar 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-pthreads
#	fpc-pthreads/pkg-descr
#	fpc-pthreads/Makefile
#	fpc-pthreads/pkg-plist
#	fpc-pthreads/distinfo
#
echo c - fpc-pthreads
mkdir -p fpc-pthreads > /dev/null 2>&1
echo x - fpc-pthreads/pkg-descr
sed 's/^X//' >fpc-pthreads/pkg-descr << 'END-of-fpc-pthreads/pkg-descr'
XWraper for the pthreads library. Not all is implemented but most of the 
Xfunctions are working
X
XWWW:	http://www.freepascal.org/
END-of-fpc-pthreads/pkg-descr
echo x - fpc-pthreads/Makefile
sed 's/^X//' >fpc-pthreads/Makefile << 'END-of-fpc-pthreads/Makefile'
X# New ports collection makefile for:	fpc-pthreads
X# Date created: 			2006-06-05
X# Whom: 				Jose Alonso Cardenas Marquez <acardenas@bsd.org.pe>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	pthreads
XPORTVERSION=	2.0.2
XCATEGORIES=	devel lang
XMASTER_SITES=	ftp://ftp.freepascal.org/pub/fpc/dist/i386-freebsd-${PORTVERSION}/ \
X		ftp://planetmirror.com/pub/fpc/dist/i386-freebsd-${PORTVERSION}/ \
X		ftp://ftp.jp.freepascal.org/mirror/fpc/dist/i386-freebsd-${PORTVERSION}/ \
X		ftp://freepascal.stack.nl/pub/fpc/dist/i386-freebsd-${PORTVERSION}/ \
X		ftp://ftp.no.freepascal.org/pub/fpc/dist/i386-freebsd-${PORTVERSION}/ \
X		ftp://ftp.us.freepascal.org/pub/fpc/dist/i386-freebsd-${PORTVERSION}/ \
X		${MASTER_SITE_SOURCEFORGE}
XMASTER_SITE_SUBDIR=	freepascal
XPKGNAMEPREFIX=	fpc-
XDISTNAME=	${PKGNAMEPREFIX}${PORTVERSION}.${BUILDNAME}
XEXTRACT_SUFX=	.tar
X
XMAINTAINER=	acardenas@bsd.org.pe
XCOMMENT=	Free Pascal wraper for the pthreads library
X
XRUN_DEPENDS=	ppc386:${PORTSDIR}/lang/fpc
X
XONLY_FOR_ARCHS=	i386
XNO_BUILD=	yes
X
XDOCSDIR=	${PREFIX}/share/doc/fpc
XPLIST_SUB+=	PORTVERSION=${PORTVERSION}
XBUILDNAME=	i386-freebsd
XPLIST_SUB+=	PORTVERSION=${PORTVERSION} \
X		BUILDNAME=${BUILDNAME}
X
Xdo-extract:
X# unpack distribution
X	@${MKDIR} ${WRKSRC}
X	@${TAR} xf ${DISTDIR}/${DISTNAME}.tar \
X		--directory ${WRKSRC}
X	@${TAR} xf ${WRKSRC}/binary.${BUILDNAME}.tar \
X		--directory ${WRKSRC}
X
X# unpack binary and pthreads distribution
X	@${MKDIR} ${WRKSRC}/${PORTNAME}
X	@${TAR} zxf ${WRKSRC}/units-${PORTNAME}.${BUILDNAME}.tar.gz \
X		--directory ${WRKSRC}/${PORTNAME}
X
Xdo-install:
X.for DIRE in lib
X	@cd ${WRKSRC}/${PORTNAME}/${DIRE} && \
X		${FIND} * -type d -exec ${MKDIR} "{}" "${PREFIX}/${DIRE}/{}" \; && \
X			${FIND} * -type f -exec ${INSTALL_SCRIPT} "{}" "${PREFIX}/${DIRE}/{}" \;
X.endfor
X
X.include <bsd.port.mk>
END-of-fpc-pthreads/Makefile
echo x - fpc-pthreads/pkg-plist
sed 's/^X//' >fpc-pthreads/pkg-plist << 'END-of-fpc-pthreads/pkg-plist'
Xlib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/pthreads/Package.fpc
Xlib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/pthreads/pthreads.ppu
Xlib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/pthreads/pthreads.o
Xlib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/pthreads/libppthreads.a
X@dirrm lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/pthreads
X@dirrmtry lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%
X@dirrmtry lib/fpc/%%PORTVERSION%%/units
X@dirrmtry lib/fpc/%%PORTVERSION%%
X@dirrmtry lib/fpc
END-of-fpc-pthreads/pkg-plist
echo x - fpc-pthreads/distinfo
sed 's/^X//' >fpc-pthreads/distinfo << 'END-of-fpc-pthreads/distinfo'
XMD5 (fpc-2.0.2.i386-freebsd.tar) = e1f834f445b0f2313f41ed417a28fb1c
XSHA256 (fpc-2.0.2.i386-freebsd.tar) = 906f002dfdbdfc3380f5a66b93d68debdbb68bba65b9db0590a93f548fb9f528
XSIZE (fpc-2.0.2.i386-freebsd.tar) = 22517760
END-of-fpc-pthreads/distinfo
exit
--- fpc-pthreads-2.0.2.shar ends here ---

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->garga 
Responsible-Changed-By: garga 
Responsible-Changed-When: Thu Jun 8 15:33:31 UTC 2006 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=98653 
State-Changed-From-To: open->closed 
State-Changed-By: garga 
State-Changed-When: Wed Jun 21 17:11:52 UTC 2006 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=98653 
>Unformatted:
