BSD Ports

editors/lazarus 3.8.0 DragonFly

Portable Delphi-like IDE for the FreePascal compiler (GTK2)

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
Categories
devel, editors
Package size
154558.9 KiB, 1102424.0 KiB installed

Description

Lazarus is the class libraries for Free Pascal that emulate Delphi. Free Pascal is a GPL'ed compiler that runs on FreeBSD, Linux, Win32, OS/2, 68K and more. Free Pascal is designed to be able to understand and compile Delphi syntax, which is of course OOP.

Lazarus is the part of the missing puzzle that will allow you to develop Delphi-like programs in all of the above platforms. Unlike Java which strives to be a write once run anywhere, Lazarus and Free Pascal strives for write once compile anywhere.

In the other systems

SystemPortVersion
DragonFlyeditors/lazarus3.8.0
FreeBSDeditors/lazarus4.8
MidnightBSDeditors/lazarus3.4.0
GhostBSDeditors/lazarus4.8

Install

Binary package:

pkg install lazarus-gtk2

From DPorts:

cd /usr/dports/editors/lazarus && make install clean

Dependencies

Run dependencies 18

No port depends on this one.

Configuration

No options to configure.

Service scripts
none

Message after installing

The Lazarus RAD was installed

1) You can run it using:

   # lazarus

2) The first time that lazarus is running, you should set the path to fpc
   source directory at lazarus configuration environment. Also it could be
   setting later.

3) Now you can obtain freepascal source installing lang/fpc-source port or
   package

   It will be extracted to /usr/local/share/fpc-source-X.X.X

4) You can use /usr/local/bin/gdb debugger instead of gdb installed debugger
   installed from base system. Lazarus works better with this version.

5) We can use the following ports for aplications that depend of lazarus
   and these can be built with an interface different than lazarus has compiled
   by default:

   editors/lazarus
   editors/lazarus-devel
   editors/lazarus-qt5
   editors/lazarus-qt5-devel
   editors/lazarus-qt6
   editors/lazarus-qt6-devel

   You can added those ports if you want support for gtk2, qt5 or qt6
   interfaces. Please look at net-p2p/transmission-remote-gui like a example of
   how use it

6) If you want built apps using devel version of lazarus, you must add the
   following into /etc/make.conf file

   WANT_LAZARUS_DEVEL=  yes

   It is neccesary for use devel version of lazarus (gtk2, qt5 or qt6)

   editors/lazarus-devel
   editors/lazarus-qt5-devel
   editors/lazarus-qt6-devel

7) Enjoy it ;)