Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Jun 2006 23:27:11 GMT
From:      Jose Alonso Cardenas Marquez <acardenas@bsd.org.pe>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/98677: [NEW PORT] lang/fpc-tcl: Free Pascal interface to the tcl/tk interpreter
Message-ID:  <200606072327.k57NRB4p097874@www.freebsd.org>
Resent-Message-ID: <200606080150.k581oGIu083564@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         98677
>Category:       ports
>Synopsis:       [NEW PORT] lang/fpc-tcl: Free Pascal interface to the tcl/tk interpreter
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jun 08 01:50:16 GMT 2006
>Closed-Date:
>Last-Modified:
>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:
The tcl package contains the interface for the tcl/tk interpreter library. This
unit allows to integrate Tcl/Tk code into your program, which allows to quickly
develop a user interface

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

>Fix:
--- fpc-tcl-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-tcl
#	fpc-tcl/pkg-descr
#	fpc-tcl/Makefile
#	fpc-tcl/pkg-plist
#	fpc-tcl/distinfo
#
echo c - fpc-tcl
mkdir -p fpc-tcl > /dev/null 2>&1
echo x - fpc-tcl/pkg-descr
sed 's/^X//' >fpc-tcl/pkg-descr << 'END-of-fpc-tcl/pkg-descr'
XThe tcl package contains the interface for the tcl/tk interpreter library. This
Xunit allows to integrate Tcl/Tk code into your program, which allows to quickly
Xdevelop a user interface
X
XWWW:	http://www.freepascal.org/
END-of-fpc-tcl/pkg-descr
echo x - fpc-tcl/Makefile
sed 's/^X//' >fpc-tcl/Makefile << 'END-of-fpc-tcl/Makefile'
X# New ports collection makefile for:	fpc-tcl
X# Date created:		2006-06-05
X# Whom:			Jose Alonso Cardenas Marquez <acardenas@bsd.org.pe>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	tcl
XPORTVERSION=	2.0.2
XCATEGORIES=	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 interface to the tcl/tk interpreter
X
XRUN_DEPENDS=	ppc386:${PORTSDIR}/lang/fpc
XLIB_DEPENDS=	wish8.4:${PORTSDIR}/x11-toolkits/tk84
X
XONLY_FOR_ARCHS=	i386
XNO_BUILD=	yes
X
XEXAMPLESDIR=	share/examples/${PKGNAMEPREFIX}${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 tcl 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
Xpost-install:
X.if !defined (NOPORTDOCS)
X	@cd ${WRKSRC}/${PORTNAME}/share && \
X		${FIND} * -type d -exec ${MKDIR} "{}" "${PREFIX}/share/{}" \; && \
X			${FIND} * -type f -exec ${INSTALL_DATA} "{}" "${PREFIX}/share/{}" \;
X.endif
X
X.include <bsd.port.mk>
END-of-fpc-tcl/Makefile
echo x - fpc-tcl/pkg-plist
sed 's/^X//' >fpc-tcl/pkg-plist << 'END-of-fpc-tcl/pkg-plist'
Xlib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/tcl/Package.fpc
Xlib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/tcl/tcl80.ppu
Xlib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/tcl/tcl80.o
Xlib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/tcl/libptcl80.a
X%%PORTDOCS%%%%EXAMPLESDIR%%/tcl/tcl_demo.pp
X%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/tcl
X%%PORTDOCS%%@dirrmtry %%EXAMPLESDIR%%
X@dirrm lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/tcl
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-tcl/pkg-plist
echo x - fpc-tcl/distinfo
sed 's/^X//' >fpc-tcl/distinfo << 'END-of-fpc-tcl/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-tcl/distinfo
exit
--- fpc-tcl-2.0.2.shar ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200606072327.k57NRB4p097874>