aboutsummaryrefslogtreecommitdiffstats
path: root/Mk/bsd.fpc.mk
blob: 2e4da5d54b44c38317ca3cbb273578951f700984 (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
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
#
# $FreeBSD$
#
# bsd.fpc.mk - Support for FreePascal based ports.
#
# Created by: Alonso Cardenas Marquez <acm@FreeBSD.org>
#
# For FreeBSD committers:
# Please send all suggested changes to the maintainer instead of committing
# them to CVS yourself.
#
# USE_FPC       - If you set this to "yes", this automatically will install
#             free pascal compiler, if you need install additional fpc
#             units, they can be listed there (USE_FPC= gtk x11 opengl).
#
# WANT_FPC_BASE     - If you set this to "yes", this automatically will install
#             all base units of fpc (gdbint graph ibase libasync hash 
#             httpd mysql netdb odbc oracle pasjpeg paszlib pthreads 
#             postgres regexpr and sqlite).
#
# WANT_FPC_ALL      - If you set this to "yes", this automatically will install
#             all free pascal units.
#
#

.if !defined(_FPCMKINCLUDED)

_FPCMKINCLUDED= yes

FPC_Include_MAINTAINER= acm@FreeBSD.org
FPC_Pre_Include=    bsd.fpc.mk

DEFAULT_FPC_VER=    2.2.4
FPC_VER=        ${DEFAULT_FPC_VER}

.if exists(${LOCALBASE}/bin/fpc)
FPC_CURRENT_VER!=   ${LOCALBASE}/bin/fpc -iV
.   if ${FPC_CURRENT_VER} != ${FPC_VER}
IGNORE= incompatible fpc ${FPC_CURRENT_VER} compiler, please install ${FPC_VER} version
.   endif
.endif

BUILD_DEPENDS+=     ppc386:${PORTSDIR}/lang/fpc

BUILDNAME=      ${ARCH}-freebsd
UNITSDIR=       ${LOCALBASE}/lib/fpc/${FPC_VER}/units/${BUILDNAME}

fpc-check-install:
check-makevars::
.if defined(UNITPREFIX) && defined(PKGNAMESUFFIX)
    @${ECHO_CMD} "#################################################################"
    @${ECHO_CMD} ""
    @${ECHO_CMD} " The following freepascal unit will be installed in your system: "
    @${ECHO_CMD} ""
    @${ECHO_CMD} " * ${UNITPREFIX}${PKGNAMESUFFIX:S/-//}                   "
    @${ECHO_CMD} ""
    @${ECHO_CMD} "#################################################################"
.endif

_FPC_ALL_UNITS= aspell bfd cairo chm fcl-async fcl-base fcl-db fcl-fpcunit fcl-image \
        fcl-json fcl-net fcl-passrc fcl-process fcl-registry fcl-web fcl-xml fftw \
        fpmkunit fpgtk fv gdbint gdbm ggi gnome1 graph gtk1 gtk2 hash httpd13 httpd20 \
        httpd22 ibase iconvenc imagemagick imlib libcurl libgd libpng mysql ncurses numlib \
        odbc opengl openssl oracle pasjpeg paszlib pcap postgres pthreads pxlib \
        regexpr sdl sqlite svgalib symbolic syslog tcl unzip users utmp x11 xforms \
        zlib

.if defined(WANT_FPC_BASE)
.       if ${WANT_FPC_BASE:L} == "yes"
USE_FPC=    gdbint graph ibase hash httpd13 httpd20 httpd22 mysql odbc oracle \
        pasjpeg paszlib pthreads postgres regexpr sqlite
.       else
IGNORE= unknown value, please use "yes" instead of
.       endif
.endif

.if defined(WANT_FPC_ALL)
.   if ${WANT_FPC_ALL:L} == "yes"
USE_FPC=    ${_FPC_ALL_UNITS}
.   else
IGNORE= unknown value, please use "yes" instead of
.   endif
.endif

.if ${USE_FPC:L} != "yes"
.   for UNITS in ${USE_FPC}
.       if ${_FPC_ALL_UNITS:M${UNITS}}==""
IGNORE= cannot install: unknown FPC unit ${UNITS}
.       endif
.   endfor
.endif

# Base units
gdbint_UNIT=    devel/fpc-gdbint
graph_UNIT= graphics/fpc-graph
ibase_UNIT= databases/fpc-ibase
hash_UNIT=  security/fpc-hash
httpd13_UNIT=   www/fpc-httpd13
httpd20_UNIT=   www/fpc-httpd20
httpd22_UNIT=   www/fpc-httpd22
mysql_UNIT= databases/fpc-mysql
odbc_UNIT=  databases/fpc-odbc
oracle_UNIT=    databases/fpc-oracle
pasjpeg_UNIT=   graphics/fpc-pasjpeg
paszlib_UNIT=   archivers/fpc-paszlib
pthreads_UNIT=  devel/fpc-pthreads
postgres_UNIT=  databases/fpc-postgres
regexpr_UNIT=   devel/fpc-regexpr
sqlite_UNIT=    databases/fpc-sqlite

# Extra units
aspell_UNIT=    textproc/fpc-aspell
bfd_UNIT=   devel/fpc-bfd
cairo_UNIT= graphics/fpc-cairo
chm_UNIT=   misc/fpc-chm
fcl_async_UNIT= devel/fpc-fcl-async
fcl_base_UNIT=  devel/fpc-fcl-base
fcl_db_UNIT=    devel/fpc-fcl-db
fcl_fpcunit_UNIT=   devel/fpc-fcl-fpcunit
fcl_image_UNIT= devel/fpc-fcl-image
fcl_json_UNIT=  devel/fpc-fcl-json
fcl_net_UNIT=   devel/fpc-fcl-net
fcl_passrc_UNIT=    devel/fpc-fcl-passrc
fcl_process_UNIT=   devel/fpc-fcl-process
fcl_registry_UNIT=  devel/fpc-fcl-registry
fcl_web_UNIT=   devel/fpc-fcl-web
fcl_xml_UNIT=   devel/fpc-fcl-xml
fftw_UNIT=  math/fpc-fftw
fpmkunit_UNIT=  devel/fpc-fpmkunit
fpgtk_UNIT= graphics/fpc-fpgtk
fv_UNIT=    devel/fpc-fv
gdbm_UNIT=  databases/fpc-gdbm
ggi_UNIT=   graphics/fpc-ggi
gnome1_UNIT=    x11-toolkits/fpc-gnome1
gtk1_UNIT=  x11-toolkits/fpc-gtk1
gtk2_UNIT=  x11-toolkits/fpc-gtk2
iconvenc_UNIT=  converters/fpc-iconvenc
imagemagick_UNIT=   graphics/fpc-imagemagick
imlib_UNIT= graphics/fpc-imlib
libcurl_UNIT=   ftp/fpc-libcurl
libgd_UNIT= graphics/fpc-libgd
libpng_UNIT=    graphics/fpc-libpng
ncurses_UNIT=   graphics/fpc-ncurses
numlib_UNIT=    math/fpc-numlib
opengl_UNIT=    graphics/fpc-opengl
openssl_UNIT=   security/fpc-openssl
pcap_UNIT=  net/fpc-pcap
pxlib_UNIT= databases/fpc-pxlib
sdl_UNIT=   devel/fpc-sdl
svgalib_UNIT=   graphics/fpc-svgalib
symbolic_UNIT=  devel/fpc-symbolic
syslog_UNIT=    sysutils/fpc-syslog
tcl_UNIT=   lang/fpc-tcl
unzip_UNIT= archivers/fpc-unzip
users_UNIT= sysutils/fpc-users
utmp_UNIT=  sysutils/fpc-utmp
x11_UNIT=   x11/fpc-x11
xforms_UNIT=    x11-toolkits/fpc-xforms
zlib_UNIT=  devel/fpc-zlib

.endif

.if defined(_POSTMKINCLUDED) && defined(USE_FPC)

.   for UNITS in ${USE_FPC}
.       if ${_FPC_ALL_UNITS:M${UNITS}}!=""
BUILD_DEPENDS+= ${UNITSDIR}/${UNITS}/Package.fpc:${PORTSDIR}/${${UNITS:S/-/_/}_UNIT}
RUN_DEPENDS+=   ${UNITSDIR}/${UNITS}/Package.fpc:${PORTSDIR}/${${UNITS:S/-/_/}_UNIT}
security-check: fpc-check-install
.       endif
.   endfor
.endif

#.endif
# End of bsd.fpc.mk file
d-ports-gnome/commit/games?h=mate-1.20&id=34c425d4eb6116db17708fd7b13ff28e6e90aa53'>games/manaplus: update to 1.7.8.5jbeich2017-08-092-4/+4 * - Update The Glorious Glasgow Haskell Compiler to version 8.0.2tcberner2017-08-092-3/+4 * Build with -std=gnu++11 when OPENMP is on.rakuco2017-08-051-0/+4 * Update to 1.2.5jhale2017-08-042-6/+5 * - Update to 0.7.0acm2017-08-044-13/+23 * New port: games/moonlight-embeddedtobik2017-08-049-0/+195 * Belatedly update `games/slade' to version 3.1.1.5, the latest stable release.danfe2017-08-032-5/+4 * games/ags: Fix build on CURRENTtobik2017-08-031-0/+34 * Update of LLVM components in -head to version 5.0.0 apparently had brokendanfe2017-08-031-0/+13 * Update WWW line in pkg-descr.madpilot2017-08-021-1/+1 * * Updated to 1.7.7.22ultima2017-08-023-6/+7 * Remove expired ports:rene2017-08-018-171/+0 * - Update games/0ad to Alpha 22 Venustas (0.0.22)madpilot2017-07-3110-25/+95 * Update to upstream version 1.2.1riggs2017-07-314-6/+15 * Set MAKEINFO to the full path of makeinfo when USES=makeinfo is set.jkim2017-07-291-1/+1 * Release maintainership.tijl2017-07-291-1/+1 * - Update to 4.2culot2017-07-283-14/+5 * - Unsilence installation, switch to NO_BUILDamdmi32017-07-281-16/+15 * Update to 3.6ehaupt2017-07-273-26/+4 * Regular USE_GITHUB cleanup.mat2017-07-271-3/+1 * - Update to 92.0amdmi32017-07-272-6/+7 * Remove USES=ncurses, this never uses libncurses from portsamdmi32017-07-271-2/+0 * games/openmw: Update to 0.42.0tobik2017-07-274-42/+6 * games/super_methane_brothers: unbreak runtime on non-x86 after r446663jbeich2017-07-273-25/+100 * - Unbreak: this fetches fineamdmi32017-07-251-8/+8 * - Add games/stuntrally: 3D racing gameamdmi32017-07-258-0/+166 * - Bump after devel/bullet updateamdmi32017-07-252-2/+2 * follow permanent redirect of http -> httpslifanov2017-07-251-1/+1 * multimedia/assimp: rebuild consumers after r446390jbeich2017-07-222-2/+2 * games/pioneer: unbreak after r446390jbeich2017-07-222-0/+5 * Deprecate ports BROKEN for more than 6 monthsantoine2017-07-223-0/+6 * Bump to 05.05.2017 release version.sbruno2017-07-192-6/+5 * Update to 3.5ehaupt2017-07-173-5/+28 * - Clarify LICENSEpawel2017-07-171-2/+2 * Update to Crafty 25.2johans2017-07-164-44/+41 * - Update WWWamdmi32017-07-152-3/+3 * - Update WWWamdmi32017-07-141-1/+1 * - Pet portlintamdmi32017-07-147-19/+19 * - Pet portlintamdmi32017-07-142-3/+4 * - Update WWWamdmi32017-07-141-1/+1 * - Update to 1.0.0amdmi32017-07-117-71/+28 * games/manaplus: update to 1.7.7.8jbeich2017-07-102-4/+4 * - Add LICENSEamdmi32017-07-101-30/+20 * games/rubygem-vimgolf: create portswills2017-07-085-0/+30 * Add mrboom 3.4, 8 players Bomberman clone.ehaupt2017-07-074-0/+49 * Add ballerburg 1.2.0, two players, two castles, and a hill in between.ehaupt2017-07-077-0/+83 * * Updated maintainer email addressultima2017-07-061-2/+2 * Update to Freeciv 2.5.7 (minor bugfix release)johans2017-07-062-5/+4 * games/dunelegacy: update to 0.96.4swills2017-07-056-57/+46 * games/tome4: get rid of http mirror as it's a redirect nowlifanov2017-07-041-1/+0 * update games/stonesoup, games/stonesoup-sdl to 0.20.1lifanov2017-07-032-4/+4 * - Add missing depends after update to b19amdmi32017-07-031-5/+5 * Add missing dependency to libudevmartymac2017-07-032-2/+14 * - Update to 1.5.8amdmi32017-07-023-12/+15 * - Update to 1.5.8amdmi32017-07-022-81/+81 * - Update to 0.5.2amdmi32017-07-022-6/+6 * - Update to 0.5.2amdmi32017-07-022-4/+4 * Update games/lgeneral to 1.3.2madpilot2017-06-303-12/+10 * - Fix build on CURRENT after ino64 mergeamdmi32017-06-292-1/+15 * - Fix LICENSEamdmi32017-06-291-6/+7 * games/aquaria: drop tinyxml2 5.0.0 workaround after r444478jbeich2017-06-292-25/+1 * - Update to 9.4gamdmi32017-06-285-34/+100 * Update devel/readline to 7.0 patch 3sunpoet2017-06-277-5/+7 * games/manaplus: update to 1.7.6.24jbeich2017-06-273-4/+11 * Scrub one more usage of pc98.linimon2017-06-271-1/+1 * games/xscavenger: fix font mapping with Clang or GCC 7.*jbeich2017-06-272-0/+13 * Scrub mention of armv6hf from ARCHS. It was never in a released version.linimon2017-06-271-1/+1 * Update to 4.1.0sunpoet2017-06-273-3/+16 * - Switch to options helpersamdmi32017-06-262-3/+5 * Fix WWWsunpoet2017-06-261-1/+1 * Fix WWWsunpoet2017-06-261-1/+1 * games/aquaria: unbreak after r443975jbeich2017-06-261-0/+24 * Make ninja opt-out in cmake.mktcberner2017-06-266-6/+6 * Fix WWWsunpoet2017-06-261-1/+1 * Fix WWWsunpoet2017-06-261-1/+1 * Fix WWWsunpoet2017-06-261-1/+1 * Remove expired ports:rene2017-06-265-55/+0 * Begin deorbit burn of ia64. We have not attempted to build packages forlinimon2017-06-251-4/+0 * Remove Perl core modulessunpoet2017-06-231-4/+5 * Broken along with balazar_brothers.linimon2017-06-221-0/+1 * - Update games/widelands to build19madpilot2017-06-206-32/+117 * Update textproc/tinyxml2 to 5.0.0sunpoet2017-06-201-0/+1 * * Updated to 20170614 (r6180)ultima2017-06-203-8/+19 * Update libgnome-games-support to 1.2.2.kwm2017-06-194-5/+8 * - Update to 4.12.1danilo2017-06-183-12/+36 * Pentobi is a computer opponent for the board game Blokus.amdmi32017-06-166-0/+156 * - Update to 20170606amdmi32017-06-162-6/+12 * - Update to 2.14.7amdmi32017-06-166-55/+17 * update games/wtf to 20170614 snapshot from NetBSDlifanov2017-06-152-4/+4 * - Add LICENSEamdmi32017-06-152-5/+13 * Update OpenTTD to version 1.7.1.danfe2017-06-152-4/+4 * - Switch to options helpersamdmi32017-06-141-1/+3 * games/openbor: update to 4515jbeich2017-06-142-6/+6 * Mark BROKEN: conflicting dependenciesantoine2017-06-111-0/+2 * games/openra: update GeoLite2 to June snapshotjbeich2017-06-112-3/+4 * - Update WWWamdmi32017-06-111-1/+1 * Update distinfo and unbreak this portsunpoet2017-06-112-3/+4 * Remove no-op WX_UNICODEsunpoet2017-06-106-6/+0 * - Update to 0.3.3amdmi32017-06-094-21/+22 * - Fix key file installationamdmi32017-06-091-3/+2 * New port: games/OpenTombtobik2017-06-098-0/+295 * Update to 1.51tobik2017-06-092-5/+4 * Add explicit libpng dependency to fix the build of games/opensonictobik2017-06-091-1/+2 * Add NO_ARCHsunpoet2017-06-081-0/+1 * - Update to 0.4.16amdmi32017-06-073-5/+5 * - Update to 0.4.16amdmi32017-06-075-18/+16 * - Add games/auralquizamdmi32017-06-076-0/+86 * Convert every usage of https://github.com/.../archive/xxx to USE_GITHUB.mat2017-06-076-41/+29 * Use MAKE_CMD instead of MAKE in pre-build.rakuco2017-06-061-1/+1 * Switch to an out-of-source CMake build.rakuco2017-06-062-6/+2 * Change from USES=twisted to devel/py-twistedsunpoet2017-06-051-2/+3 * Change from USES=twisted to devel/py-twistedsunpoet2017-06-051-2/+3 * - Update to 3.0.1amdmi32017-06-052-4/+4 * games/openra: update to 20170527jbeich2017-06-052-5/+4 * Apply some patches from OpenSUSE to fix some issues, including the build on r...bar2017-06-0415-16/+300 * Fix shebangs.tcberner2017-06-031-5/+19 * Mark some ports failing on powerpc64. These ports are either newlinimon2017-06-021-0/+2 * Convert to options helpersunpoet2017-06-022-14/+11 * Convert to options target helpersunpoet2017-06-023-6/+6 * update games/wtf to 20170529 snapshot from NetBSDlifanov2017-05-312-4/+4 * games/stonesoup: actually commit patch to sound.hlifanov2017-05-311-0/+19 * games/stonesoup, games/stonesoup-sdl: update to 0.20.0lifanov2017-05-318-79/+25 * Fix OpenAL dependencytobik2017-05-311-3/+2 * Remove ALSA dependency. It's not required.tobik2017-05-312-8/+8 * Register dependency on groffantoine2017-05-291-1/+1 * Fix options helpersunpoet2017-05-291-5/+5 * Register dependency on groffantoine2017-05-291-1/+1 * Mark some ports failing on armv6, for errors classified as "linker_error".linimon2017-05-281-0/+2 * Mark some ports failing on armv6, for errors classified as "coredump".linimon2017-05-284-0/+10 * Mark some ports failing on armv6, for errors classified as "clang_werror".linimon2017-05-281-4/+4 * Mark some ports failing on armv6, for errors classified as "clang".linimon2017-05-271-2/+3 * Mark some ports failing on armv6, for errors classified as "bad C++ code".linimon2017-05-272-2/+5 * Mark some ports failing on armv6, for errors classified as "???".linimon2017-05-273-5/+8 * Also fails on armv6. Convert to NOT_FOR.linimon2017-05-271-1/+2 * update games/tome4 to 1.5.5lifanov2017-05-242-5/+4 * - Switch to options helpersamdmi32017-05-242-3/+5 * games/manaplus: update to 1.7.5.14jbeich2017-05-242-5/+4 * Revision bump of all ports with USE_GL after consolidation of mesa-libsrezny2017-05-23