aboutsummaryrefslogtreecommitdiffstats
path: root/lang/fpc-units/Makefile
blob: c06b7be1d033518fc8c57ba997032aea6f03ea66 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
# Created by: Alonso Cardenas Marquez <acm@FreeBSD.org>
# $FreeBSD$

PORTNAME=   units
PORTVERSION=    2.6.2
PORTREVISION=   0
CATEGORIES= lang
MASTER_SITES=   # none
PKGNAMEPREFIX=  fpc-
DISTFILES=  # none
EXTRACT_ONLY=   # none

MAINTAINER= acm@FreeBSD.org
COMMENT=    A meta port to install Free Pascal units

ONLY_FOR_ARCHS= i386 amd64
NO_BUILD=   yes
NO_INSTALL= yes
NO_MTREE=   yes

BUILDNAME=  ${ARCH}-freebsd

OPTIONS_DEFINE= A52 ASPELL BFD BZIP2 CAIRO CHM DBUS DBLIB DTS FASTCGI FCL-ASYNC FCL-BASE \
        FCL-EXTRA FCL-DB FCL-FPCUNIT FCL-IMAGE FCL-JS FCL-JSON FCL-NET FCL-PASSRC \
        FCL-PROCESS FCL-REGISTRY FCL-RES FCL-WEB FCL-XML FFTW FPGTK FPINDEXER \
        FPMKUNIT FPPKG FV GDBM GGI GMP GNOME1 GTK1 GTK2 HERMES ICONVENC \
        IMAGEMAGICK IMLIB LDAP LIBCURL LIBGD LIBPNG LIBXML2 LUA MAD MATROSKA \
        MODPLUG NCURSES NEWT NUMLIB OGGVORBIS OPENAL OPENGL OPENSSL PCAP PROJ4 \
        PXLIB RSVG REXX SDL SNDFILE SVGALIB SYMBOLIC SYSLOG TCL UNZIP USERS \
        UTMP UUID X11 XFORMS ZLIB

A52_DESC=   Interface to a52 library
ASPELL_DESC=    Interface to aspell spelling checker
BFD_DESC=   Interface to GNU Binary Format description
BZIP2_DESC= Free Pascal bzip2 unit
CAIRO_DESC= Interface to cairo library
CHM_DESC=   Free Pbscal unit to manipulate chm files
DBUS_DESC=  Interface to dbus library
DBLIB_DESC= Interface to dblib library
DTS_DESC=   Interface to dts library
FASTCGI_DESC=   Free Pascal fastcgi unit
FCL_ASYNC_DESC= Free Pascal interface to async library
FCL_BASE_DESC=  Free Pascal Component Library (base)
FCL_DB_DESC=    Free Pascal Component Library (db)
FCL_EXTRA_DESC= Free Pascal Component Library (extra)
FCL_FPCUNIT_DESC=   Free Pascal Component Library (fpcunit)
FCL_IMAGE_DESC= Free Pascal Component Library (image)
FCL_JS_DESC=    Free Pascal implementation of (js)
FCL_JSON_DESC=  Free Pascal implementation of (json)
FCL_NET_DESC=   Free Pascal Component Library (net)
FCL_PASSRC_DESC=    Free Pascal Component Library (passrc)
FCL_PROCESS_DESC=   Unit to start and manipulate other programs
FCL_REGISTRY_DESC=  Free Pascal Component Library (registry)
FCL_RES_DESC=   Free Pascal Component Library (res)
FCL_WEB_DESC=   Free Pascal Component Library (web)
FCL_XML_DESC=   Free Pascal Component Library (xml)
FFTW_DESC=  Interface to the FFTW3 library
FPGTK_DESC= Interface to create programs with gtk
FPPKG_DESC= Free Pascal package unit
FPMKUNIT_DESC=  Free Pascal build system unit
FV_DESC=    Free Pascal unit for Delphi support
GDBM_DESC=  Interface to the GNU database system
GGI_DESC=   Interface to libggi library
GMP_DESC=   Interface to gmp library
GNOME1_DESC=    Interface to create programs for GNOME
GTK1_DESC=  Interface to gtk libraries
GTK2_DESC=  Interface to gtk2 libraries
HERMES_DESC=    Free Pascal hermes unit
ICONVENC_DESC=  Interface to iconv library
FPINDEXER_DESC= Database indexer with database/flat file backend
IMAGEMAGICK_DESC=   Interface to ImageMagick
IMLIB_DESC= Interface to imlib library
LDAP_DESC=  Interface to OpenLDAP
LIBCURL_DESC=   Interface to curl library
LIBGD_DESC= Interface to gd library
LIBPNG_DESC=    Interface to png library
LIBXML2_DESC=   Interface to libxml2 library
LUA_DESC=   Interface to lua interpreter
MAD_DESC=   Interface to mad library
MATROSKA_DESC=  Interface to matroska library
MODPLUG_DESC=   Interface to modplug library
NCURSES_DESC=   Interface to ncurses library
NEWT_DESC=  Interface to newt library
NUMLIB_DESC=    Free Pascal unit for numerical methods
OGGVORBIS_DESC= Interaface to ogg & vorbis libraries
OPENAL_DESC=    Interface to openal library
OPENGL_DESC=    Interface to opengl library
OPENSSL_DESC=   Interface to openssl library
PCAP_DESC=  Interface to pcap library
PROJ4_DESC= Interface to proj library
PXLIB_DESC= Unit to read various Paradox file
REXX_DESC=  Intrface to rexx-regina library
RSVG_DESC=  Interface to rsvg2 library
SDL_DESC=   Free Pascal interface to SDL library
SNDFILE_DESC=   Interface to sndfile library
SVGALIB_DESC=   Interface to svgalib library
SYMBOLIC_DESC=  Simple expression parsing and evaluating
SYSLOG_DESC=    Interface to system logger
TCL_DESC=   Interface to tcl/tk interpreter
UNZIP_DESC= Routines for unzipping zip files
USERS_DESC= Interface to manipulate users
UTMP_DESC=  Gather information from the utmp file
UUID_DESC=  Free Pascal uuid unit
X11_DESC=   Interface to X windows server
XFORMS_DESC=    Interface to X-Forms
ZLIB_DESC=  Interface to the zlib compression library

LATEST_LINK=    ${PKGNAMEPREFIX}${PORTNAME}

.include <bsd.port.options.mk>

OPTIONS_DEFAULT=A52 ASPELL BFD BZIP2 CAIRO CHM DBUS DBLIB DTS FASTCGI FCL-ASYNC FCL-BASE \
        FCL-EXTRA FCL-DB FCL-FPCUNIT FCL-IMAGE FCL-JS FCL-JSON FCL-NET FCL-PASSRC \
        FCL-PROCESS FCL-REGISTRY FCL-RES FCL-WEB FCL-XML FFTW FPGTK FPINDEXER \
        FPMKUNIT FPPKG FV GDBM GGI GMP GNOME1 GTK1 GTK2 HERMES ICONVENC \
        IMAGEMAGICK IMLIB LDAP LIBCURL LIBGD LIBPNG LIBXML2 LUA MAD MATROSKA \
        MODPLUG NCURSES NEWT NUMLIB OGGVORBIS OPENAL OPENGL OPENSSL PCAP PROJ4 \
        PXLIB RSVG REXX SDL SNDFILE SVGALIB SYMBOLIC SYSLOG TCL UNZIP USERS \
        UTMP UUID X11 XFORMS ZLIB

UNITS_SELECTED=     #
.for OPT in ${OPTIONS_DEFINE}
.   if ${PORT_OPTIONS:M${OPT}}
UNITS_SELECTED+=    ${OPT:L}
.   endif
.endfor
USE_FPC=    ${UNITS_SELECTED}

.include <bsd.port.mk>