diff options
author | Thierry Thomas <thierry@FreeBSD.org> | 2004-04-12 21:57:15 +0000 |
---|---|---|
committer | Thierry Thomas <thierry@FreeBSD.org> | 2004-04-12 21:57:15 +0000 |
commit | 84889e693f9f1c54c378826540010679dbcbd2ec (patch) | |
tree | c74c27a0c36dbe8eb5725aecbb781555d52ad2c1 /lang | |
parent | Add fpc-mysql 1.0.10, Free Pascal interface to MySQL. (diff) |
Add fpc-demo 1.0.10, Free Pascal compiler examples.
PR: 62605
Submitted by: John Merryweather Cooper
Approved by: pav (mentor).
Notes
Notes:
svn path=/head/; revision=106836
Diffstat (limited to 'lang')
-rw-r--r-- | lang/Makefile | 1 | ||||
-rw-r--r-- | lang/fpc-demo/Makefile | 72 | ||||
-rw-r--r-- | lang/fpc-demo/distinfo | 2 | ||||
-rw-r--r-- | lang/fpc-demo/pkg-descr | 9 | ||||
-rw-r--r-- | lang/fpc-demo/pkg-plist | 58 |
5 files changed, 142 insertions, 0 deletions
diff --git a/lang/Makefile b/lang/Makefile index ea8c9448ef59..0376013b2061 100644 --- a/lang/Makefile +++ b/lang/Makefile @@ -55,6 +55,7 @@ SUBDIR += ficl-devel SUBDIR += forth SUBDIR += fpc + SUBDIR += fpc-demo SUBDIR += fpc-devel SUBDIR += fpc-docs SUBDIR += freetxl diff --git a/lang/fpc-demo/Makefile b/lang/fpc-demo/Makefile new file mode 100644 index 000000000000..c3910c0138e9 --- /dev/null +++ b/lang/fpc-demo/Makefile @@ -0,0 +1,72 @@ +# New ports collection makefile for: Free Pascal Examples +# Date created: 9 February 2004 +# Whom: John Merryweather Cooper +# +# $FreeBSD$ +# + +PORTNAME= demo +PORTVERSION= 1.0.10 +CATEGORIES= lang +MASTER_SITES= ftp://ftp.freepascal.org/pub/fpc/dist/FreeBSD/ \ + http://planetmirror.com/pub/fpc/dist/FreeBSD/ \ + ftp://ftp.jp.freepascal.org/mirror/fpc/dist/FreeBSD/ \ + ftp://freepascal.stack.nl/pub/fpc/dist/FreeBSD/ \ + ftp://ftp.no.freepascal.org/pub/fpc/dist/FreeBSD/ \ + ftp://ftp.us.freepascal.org/pub/fpc/dist/FreeBSD/ \ + ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= freepascal +PKGNAMEPREFIX= fpc- +DISTNAME= ${PKGNAMEPREFIX}${PORTVERSION}.ELF +EXTRACT_SUFX= .tar + +MAINTAINER= coop9211@uidaho.edu +COMMENT= Free Pascal compiler examples + +EXAMPLESDIR= ${PREFIX}/share/examples/fpc +NO_BUILD= yes + +SRCDOCDIR= ${WRKSRC}/share/doc/fpc-${PORTVERSION}/demo + +.include <bsd.port.pre.mk> + +.if ${OSVERSION} < 470000 +EXTRACT_DEPENDS+= gtar:${PORTSDIR}/archivers/gtar +TAR= ${LOCALBASE}/bin/gtar +.endif + +do-extract: +# unpack distribution + @${MKDIR} ${WRKSRC} + @${TAR} xf ${DISTDIR}/${DISTNAME}.tar --directory ${WRKSRC} +# unpack docs distribution + @${TAR} zxf ${WRKSRC}/demo.tar.gz --directory ${WRKSRC} + +do-install: + @${MKDIR} ${EXAMPLESDIR} + cd ${SRCDOCDIR}/ && \ + ${INSTALL_DATA} Makefile Makefile.fpc fpcdemos.txt \ + ${EXAMPLESDIR} + @${MKDIR} ${EXAMPLESDIR}/graph + @${INSTALL_DATA} `${LS} ${SRCDOCDIR}/graph/*` \ + ${EXAMPLESDIR}/graph + @${MKDIR} ${EXAMPLESDIR}/linux + @${INSTALL_DATA} `${LS} ${SRCDOCDIR}/linux/*` \ + ${EXAMPLESDIR}/linux + @${MKDIR} ${EXAMPLESDIR}/modex + @${INSTALL_DATA} `${LS} ${SRCDOCDIR}/modex/*` \ + ${EXAMPLESDIR}/modex + @${MKDIR} ${EXAMPLESDIR}/os2 + @${INSTALL_DATA} `${LS} ${SRCDOCDIR}/os2/*` \ + ${EXAMPLESDIR}/os2 + @${MKDIR} ${EXAMPLESDIR}/palmos + @${INSTALL_DATA} `${LS} ${SRCDOCDIR}/palmos/*` \ + ${EXAMPLESDIR}/palmos + @${MKDIR} ${EXAMPLESDIR}/text + @${INSTALL_DATA} `${LS} ${SRCDOCDIR}/text/*` \ + ${EXAMPLESDIR}/text + @${MKDIR} ${EXAMPLESDIR}/win32 + @${INSTALL_DATA} `${LS} ${SRCDOCDIR}/win32/*` \ + ${EXAMPLESDIR}/win32 + +.include <bsd.port.post.mk> diff --git a/lang/fpc-demo/distinfo b/lang/fpc-demo/distinfo new file mode 100644 index 000000000000..54527a31654e --- /dev/null +++ b/lang/fpc-demo/distinfo @@ -0,0 +1,2 @@ +MD5 (fpc-1.0.10.ELF.tar) = 6ad56eb115152174683499da3ece7667 +SIZE (fpc-1.0.10.ELF.tar) = 17448960 diff --git a/lang/fpc-demo/pkg-descr b/lang/fpc-demo/pkg-descr new file mode 100644 index 000000000000..7c27d6628532 --- /dev/null +++ b/lang/fpc-demo/pkg-descr @@ -0,0 +1,9 @@ +These are the examples for Free Pascal, a 32 bit Turbo +Pascal-compatible Pascal compiler for DOS, Linux, Win32, +OS/2, (based on an older version) the AmigaOS, +FreeBSD/ELF, and BeOS. + +WWW: http://www.freepascal.org/ + +-- +John Merryweather Cooper <coop9211@uidaho.edu> diff --git a/lang/fpc-demo/pkg-plist b/lang/fpc-demo/pkg-plist new file mode 100644 index 000000000000..a0144afb2d45 --- /dev/null +++ b/lang/fpc-demo/pkg-plist @@ -0,0 +1,58 @@ +%%EXAMPLESDIR%%/Makefile +%%EXAMPLESDIR%%/Makefile.fpc +%%EXAMPLESDIR%%/fpcdemos.txt +%%EXAMPLESDIR%%/graph/Makefile +%%EXAMPLESDIR%%/graph/Makefile.fpc +%%EXAMPLESDIR%%/graph/fpcgames.txt +%%EXAMPLESDIR%%/graph/fpctris.pp +%%EXAMPLESDIR%%/graph/ftrisgr.inc +%%EXAMPLESDIR%%/graph/ftristxt.inc +%%EXAMPLESDIR%%/graph/gameunit.pp +%%EXAMPLESDIR%%/graph/gravwars.pp +%%EXAMPLESDIR%%/graph/mandel.pp +%%EXAMPLESDIR%%/graph/maze.pp +%%EXAMPLESDIR%%/graph/quad.pp +%%EXAMPLESDIR%%/graph/quaddata.dat +%%EXAMPLESDIR%%/graph/samegame.pp +%%EXAMPLESDIR%%/linux/Makefile +%%EXAMPLESDIR%%/linux/Makefile.fpc +%%EXAMPLESDIR%%/linux/daemon.pp +%%EXAMPLESDIR%%/modex/Makefile +%%EXAMPLESDIR%%/modex/Makefile.fpc +%%EXAMPLESDIR%%/modex/fpcmodex.txt +%%EXAMPLESDIR%%/modex/voxel.pp +%%EXAMPLESDIR%%/os2/Makefile +%%EXAMPLESDIR%%/os2/Makefile.fpc +%%EXAMPLESDIR%%/os2/basicpm.pas +%%EXAMPLESDIR%%/os2/getctry.pas +%%EXAMPLESDIR%%/os2/pmdemo1.h +%%EXAMPLESDIR%%/os2/pmdemo1.pp +%%EXAMPLESDIR%%/os2/pmdemo1.rc +%%EXAMPLESDIR%%/palmos/pilrc.bmp +%%EXAMPLESDIR%%/palmos/pilrcic.bmp +%%EXAMPLESDIR%%/palmos/pilrctst.h +%%EXAMPLESDIR%%/palmos/pilrctst.pp +%%EXAMPLESDIR%%/palmos/pilrctst.rcp +%%EXAMPLESDIR%%/text/Makefile +%%EXAMPLESDIR%%/text/Makefile.fpc +%%EXAMPLESDIR%%/text/blackbox.pp +%%EXAMPLESDIR%%/text/eratos.pp +%%EXAMPLESDIR%%/text/hello.pp +%%EXAMPLESDIR%%/text/lines.pp +%%EXAMPLESDIR%%/text/magic.pp +%%EXAMPLESDIR%%/text/qsort.pp +%%EXAMPLESDIR%%/win32/Makefile +%%EXAMPLESDIR%%/win32/Makefile.fpc +%%EXAMPLESDIR%%/win32/dlltest.pp +%%EXAMPLESDIR%%/win32/edit.pp +%%EXAMPLESDIR%%/win32/menu.pp +%%EXAMPLESDIR%%/win32/testdll.pp +%%EXAMPLESDIR%%/win32/winhello.pp +@dirrm %%EXAMPLESDIR%%/win32 +@dirrm %%EXAMPLESDIR%%/text +@dirrm %%EXAMPLESDIR%%/palmos +@dirrm %%EXAMPLESDIR%%/os2 +@dirrm %%EXAMPLESDIR%%/modex +@dirrm %%EXAMPLESDIR%%/linux +@dirrm %%EXAMPLESDIR%%/graph +@dirrm %%EXAMPLESDIR%% |