Skip site navigation (1)Skip section navigation (2)
Date:      Mon,  9 Feb 2004 16:05:38 -0800 (PST)
From:      John Merryweather Cooper <coop9211@uidaho.edu>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/62605: [NEW PORT] lang/fpc-demo
Message-ID:  <20040210000538.9F1A4558@borgdemon.losaca.adelphia.net>
Resent-Message-ID: <200402100010.i1A0AC8A034821@freefall.freebsd.org>

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

>Number:         62605
>Category:       ports
>Synopsis:       [NEW PORT] lang/fpc-demo
>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:   Mon Feb 09 16:10:12 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:
	lang/fpc-demo installs examples for Free Pascal (lang/fpc)

>How-To-Repeat:
	N/A

>Fix:

--- new-port-fpc-demo 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-demo
#	fpc-demo/Makefile
#	fpc-demo/distinfo
#	fpc-demo/pkg-descr
#	fpc-demo/pkg-plist
#
echo c - fpc-demo
mkdir -p fpc-demo > /dev/null 2>&1
echo x - fpc-demo/Makefile
sed 's/^X//' >fpc-demo/Makefile << 'END-of-fpc-demo/Makefile'
X# New ports collection makefile for:	Free Pascal Examples
X# Date created: 			9 February 2004
X# Whom: 				John Merryweather Cooper
X#
X# $FreeBSD$
X#
X
XPORTNAME=	demo
XPORTVERSION=	1.0.10
XCATEGORIES=	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=	${PKGNAMEPREFIX}${PORTVERSION}.ELF
XEXTRACT_SUFX=	.tar
X
XMAINTAINER=	coop9211@uidaho.edu
XCOMMENT=	Free Pascal compiler examples
X
XEXAMPLESDIR=	${PREFIX}/share/examples/fpc
XNO_BUILD=	yes
X
X.include <bsd.port.pre.mk>
X
X.if ${OSVERSION} < 470000
XEXTRACT_DEPENDS=	gtar:${PORTSDIR}/archivers/gtar
XTAR=			${LOCALBASE}/bin/gtar
X.endif
X
Xdo-extract:
X# unpack distribution
X	@${MKDIR} ${WRKSRC}
X	@${TAR} xf ${DISTDIR}/${DISTNAME}.tar --directory ${WRKSRC}
X# unpack docs distribution
X	@${TAR} zxf ${WRKSRC}/demo.tar.gz --directory ${WRKSRC}
X
Xdo-install:
X	@${MKDIR} ${EXAMPLESDIR}
X	cd ${WRKSRC}/share/doc/fpc-${PORTVERSION}/demo/ && \
X		${INSTALL_DATA} Makefile Makefile.fpc fpcdemos.txt \
X		${EXAMPLESDIR}
X	@${MKDIR} ${EXAMPLESDIR}/graph
X	@${INSTALL_DATA} `${LS} ${WRKSRC}/share/doc/fpc-${PORTVERSION}/demo/graph/*` \
X		${EXAMPLESDIR}/graph
X	@${MKDIR} ${EXAMPLESDIR}/linux
X	@${INSTALL_DATA} `${LS} ${WRKSRC}/share/doc/fpc-${PORTVERSION}/demo/linux/*` \
X		${EXAMPLESDIR}/linux
X	@${MKDIR} ${EXAMPLESDIR}/modex
X	@${INSTALL_DATA} `${LS} ${WRKSRC}/share/doc/fpc-${PORTVERSION}/demo/modex/*` \
X		${EXAMPLESDIR}/modex
X	@${MKDIR} ${EXAMPLESDIR}/os2
X	@${INSTALL_DATA} `${LS} ${WRKSRC}/share/doc/fpc-${PORTVERSION}/demo/os2/*` \
X		${EXAMPLESDIR}/os2 
X	@${MKDIR} ${EXAMPLESDIR}/palmos
X	@${INSTALL_DATA} `${LS} ${WRKSRC}/share/doc/fpc-${PORTVERSION}/demo/palmos/*` \
X		${EXAMPLESDIR}/palmos
X	@${MKDIR} ${EXAMPLESDIR}/text
X	@${INSTALL_DATA} `${LS} ${WRKSRC}/share/doc/fpc-${PORTVERSION}/demo/text/*` \
X		${EXAMPLESDIR}/text
X	@${MKDIR} ${EXAMPLESDIR}/win32
X	@${INSTALL_DATA} `${LS} ${WRKSRC}/share/doc/fpc-${PORTVERSION}/demo/win32/*` \
X		${EXAMPLESDIR}/win32
X
X.include <bsd.port.post.mk>
END-of-fpc-demo/Makefile
echo x - fpc-demo/distinfo
sed 's/^X//' >fpc-demo/distinfo << 'END-of-fpc-demo/distinfo'
XMD5 (fpc-1.0.10.ELF.tar) = 6ad56eb115152174683499da3ece7667
XSIZE (fpc-1.0.10.ELF.tar) = 17448960
END-of-fpc-demo/distinfo
echo x - fpc-demo/pkg-descr
sed 's/^X//' >fpc-demo/pkg-descr << 'END-of-fpc-demo/pkg-descr'
XThese are the examples for Free Pascal, a 32 bit Turbo 
XPascal-compatible Pascal compiler for DOS, Linux, Win32,
XOS/2, (based on an older version) the AmigaOS,
XFreeBSD/ELF, and BeOS.
X
XWWW: http://www.freepascal.org/
X
X--
XJohn Merryweather Cooper <coop9211@uidaho.edu>
END-of-fpc-demo/pkg-descr
echo x - fpc-demo/pkg-plist
sed 's/^X//' >fpc-demo/pkg-plist << 'END-of-fpc-demo/pkg-plist'
X%%EXAMPLESDIR%%/Makefile
X%%EXAMPLESDIR%%/Makefile.fpc
X%%EXAMPLESDIR%%/fpcdemos.txt
X%%EXAMPLESDIR%%/graph/Makefile
X%%EXAMPLESDIR%%/graph/Makefile.fpc
X%%EXAMPLESDIR%%/graph/fpcgames.txt
X%%EXAMPLESDIR%%/graph/fpctris.pp
X%%EXAMPLESDIR%%/graph/ftrisgr.inc
X%%EXAMPLESDIR%%/graph/ftristxt.inc
X%%EXAMPLESDIR%%/graph/gameunit.pp
X%%EXAMPLESDIR%%/graph/gravwars.pp
X%%EXAMPLESDIR%%/graph/mandel.pp
X%%EXAMPLESDIR%%/graph/maze.pp
X%%EXAMPLESDIR%%/graph/quad.pp
X%%EXAMPLESDIR%%/graph/quaddata.dat
X%%EXAMPLESDIR%%/graph/samegame.pp
X%%EXAMPLESDIR%%/linux/Makefile
X%%EXAMPLESDIR%%/linux/Makefile.fpc
X%%EXAMPLESDIR%%/linux/daemon.pp
X%%EXAMPLESDIR%%/modex/Makefile
X%%EXAMPLESDIR%%/modex/Makefile.fpc
X%%EXAMPLESDIR%%/modex/fpcmodex.txt
X%%EXAMPLESDIR%%/modex/voxel.pp
X%%EXAMPLESDIR%%/os2/Makefile
X%%EXAMPLESDIR%%/os2/Makefile.fpc
X%%EXAMPLESDIR%%/os2/basicpm.pas
X%%EXAMPLESDIR%%/os2/getctry.pas
X%%EXAMPLESDIR%%/os2/pmdemo1.h
X%%EXAMPLESDIR%%/os2/pmdemo1.pp
X%%EXAMPLESDIR%%/os2/pmdemo1.rc
X%%EXAMPLESDIR%%/palmos/pilrc.bmp
X%%EXAMPLESDIR%%/palmos/pilrcic.bmp
X%%EXAMPLESDIR%%/palmos/pilrctst.h
X%%EXAMPLESDIR%%/palmos/pilrctst.pp
X%%EXAMPLESDIR%%/palmos/pilrctst.rcp
X%%EXAMPLESDIR%%/text/Makefile
X%%EXAMPLESDIR%%/text/Makefile.fpc
X%%EXAMPLESDIR%%/text/blackbox.pp
X%%EXAMPLESDIR%%/text/eratos.pp
X%%EXAMPLESDIR%%/text/hello.pp
X%%EXAMPLESDIR%%/text/lines.pp
X%%EXAMPLESDIR%%/text/magic.pp
X%%EXAMPLESDIR%%/text/qsort.pp
X%%EXAMPLESDIR%%/win32/Makefile
X%%EXAMPLESDIR%%/win32/Makefile.fpc
X%%EXAMPLESDIR%%/win32/dlltest.pp
X%%EXAMPLESDIR%%/win32/edit.pp
X%%EXAMPLESDIR%%/win32/menu.pp
X%%EXAMPLESDIR%%/win32/testdll.pp
X%%EXAMPLESDIR%%/win32/winhello.pp
X@dirrm %%EXAMPLESDIR%%/win32
X@dirrm %%EXAMPLESDIR%%/text
X@dirrm %%EXAMPLESDIR%%/palmos
X@dirrm %%EXAMPLESDIR%%/os2
X@dirrm %%EXAMPLESDIR%%/modex
X@dirrm %%EXAMPLESDIR%%/linux
X@dirrm %%EXAMPLESDIR%%/graph
X@dirrm %%EXAMPLESDIR%%
END-of-fpc-demo/pkg-plist
exit
--- new-port-fpc-demo ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:



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