From 2933087a4035f49338b9fb56b3673cd8ff04ea76 Mon Sep 17 00:00:00 2001 From: Scott McCreary Date: Sat, 8 Dec 2012 00:09:23 +0000 Subject: [PATCH] Updated fpc to 2.6.0, bep from GCI2012 student Gleb Posobin. --- dev-lang/fpc/fpc-2.6.0.bep | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 dev-lang/fpc/fpc-2.6.0.bep diff --git a/dev-lang/fpc/fpc-2.6.0.bep b/dev-lang/fpc/fpc-2.6.0.bep new file mode 100644 index 000000000..6ef4f70bc --- /dev/null +++ b/dev-lang/fpc/fpc-2.6.0.bep @@ -0,0 +1,38 @@ +DESCRIPTION="Free Pascal Compiler - open source compiler for pascal and object pascal" +HOMEPAGE="http://www.freepascal.org" +SRC_URI="ftp://ftp.freepascal.org/pub/fpc/dist/2.6.0/source/fpc-2.6.0.source.tar.gz + http://fpc.planetmirror.com/pub/fpc/dist/2.6.0/source/fpc-2.6.0.source.tar.gz + ftp://gd.tuwien.ac.at/languages/pascal/fpc/dist/2.6.0/source/fpc-2.6.0.source.tar.gz + ftp://ftp.hu.freepascal.org/pub/fpc/dist/2.6.0/source/fpc-2.6.0.source.tar.gz + http://mirror.mirimar.net/freepascal/dist/2.6.0/source/fpc-2.6.0.source.tar.gz + ftp://freepascal.stack.nl/pub/fpc/dist/2.6.0/source/fpc-2.6.0.source.tar.gz + ftp://ftp.no.freepascal.org/pub/fpc/dist/2.6.0/source/fpc-2.6.0.source.tar.gz + ftp://ftp.chg.ru/pub/lang/pascal/fpc/dist/2.6.0/source/fpc-2.6.0.source.tar.gz" + +CHECKSUM_MD5="0edf0d6f52e1e3fd6ef6836431f4d13b" +REVISION="1" +STATUS_HAIKU="untested" +DEPEND="dev-lang/fpc" + +BUILD { + cd fpc-2.6.0 + make build +} + +INSTALL { + cd fpc-2.6.0 + make install INSTALL_PREFIX=${DESTDIR}`finddir B_USER_CONFIG_DIRECTORY` \ + FPCDIR=${DESTDIR}`finddir B_USER_LIB_DIRECTORY`/fpc/2.6.0 + # Make link to the ppc386 executable + ln -fs ${DESTDIR}`finddir B_USER_LIB_DIRECTORY`/fpc/2.6.0/ppc386 \ + ${DESTDIR}`finddir B_USER_CONFIG_DIRECTORY`/bin +} + +TEST { + cd fpc-2.6.0/tests + make full TEST_FPC=${DESTDIR}`finddir B_USER_CONFIG_DIRECTORY`/bin/fpc +} + +LICENSE="GNU LGPL v3 + GNU GPL v3" +COPYRIGHT="1993-2011 by Florian Klaempfl"