|
Lines 30-37
Link Here
|
| 30 |
FPC_Include_MAINTAINER= acm@FreeBSD.org |
30 |
FPC_Include_MAINTAINER= acm@FreeBSD.org |
| 31 |
FPC_Pre_Include= bsd.fpc.mk |
31 |
FPC_Pre_Include= bsd.fpc.mk |
| 32 |
|
32 |
|
| 33 |
DEFAULT_FPC_VER= 2.2.4 |
33 |
DEFAULT_FPC_VER= 2.4.0 |
| 34 |
FPC_VER= ${DEFAULT_FPC_VER} |
34 |
FPC_VER= ${DEFAULT_FPC_VER} |
|
|
35 |
FPC_ARCH= ${ARCH:S/amd64/x86_64/} |
| 35 |
|
36 |
|
| 36 |
.if exists(${LOCALBASE}/bin/fpc) |
37 |
.if exists(${LOCALBASE}/bin/fpc) |
| 37 |
FPC_CURRENT_VER!= ${LOCALBASE}/bin/fpc -iV |
38 |
FPC_CURRENT_VER!= ${LOCALBASE}/bin/fpc -iV |
|
Lines 40-48
Link Here
|
| 40 |
. endif |
41 |
. endif |
| 41 |
.endif |
42 |
.endif |
| 42 |
|
43 |
|
| 43 |
BUILD_DEPENDS+= ppc386:${PORTSDIR}/lang/fpc |
44 |
.if ${ARCH} == "i386" |
|
|
45 |
PPNAME= ppc386 |
| 46 |
.elif ${ARCH} == "amd64" |
| 47 |
PPNAME= ppcx64 |
| 48 |
.endif |
| 49 |
|
| 50 |
BUILD_DEPENDS+= ${PPNAME}:${PORTSDIR}/lang/fpc |
| 44 |
|
51 |
|
| 45 |
BUILDNAME= ${ARCH}-freebsd |
52 |
BUILDNAME= ${FPC_ARCH}-freebsd |
| 46 |
UNITSDIR= ${LOCALBASE}/lib/fpc/${FPC_VER}/units/${BUILDNAME} |
53 |
UNITSDIR= ${LOCALBASE}/lib/fpc/${FPC_VER}/units/${BUILDNAME} |
| 47 |
|
54 |
|
| 48 |
fpc-check-install: |
55 |
fpc-check-install: |
|
Lines 57-74
Link Here
|
| 57 |
@${ECHO_CMD} "#################################################################" |
64 |
@${ECHO_CMD} "#################################################################" |
| 58 |
.endif |
65 |
.endif |
| 59 |
|
66 |
|
| 60 |
_FPC_ALL_UNITS= aspell bfd cairo chm fcl-async fcl-base fcl-db fcl-fpcunit fcl-image \ |
67 |
_FPC_ALL_UNITS= a52 aspell bfd bzip2 cairo chm dbus dts fastcgi fcl-async fcl-base \ |
| 61 |
fcl-json fcl-net fcl-passrc fcl-process fcl-registry fcl-web fcl-xml fftw \ |
68 |
fcl-db fcl-fpcunit fcl-image fcl-json fcl-net fcl-passrc fcl-process \ |
| 62 |
fpmkunit fpgtk fv gdbint gdbm ggi gnome1 graph gtk1 gtk2 hash httpd13 httpd20 \ |
69 |
fcl-registry fcl-res fcl-web fcl-xml fftw fpgtk fpmkunit fpvectorial \ |
| 63 |
httpd22 ibase iconvenc imagemagick imlib libcurl libgd libpng mysql ncurses numlib \ |
70 |
fv gdbint gdbm ggi gmp gnome1 graph gtk1 gtk2 hash hermes httpd13 \ |
| 64 |
odbc opengl openssl oracle pasjpeg paszlib pcap postgres pthreads pxlib \ |
71 |
httpd20 httpd22 ibase iconvenc imagemagick imlib ldap libcurl libgd \ |
| 65 |
regexpr sdl sqlite svgalib symbolic syslog tcl unzip users utmp x11 xforms \ |
72 |
libpng libxml2 lua mad matroska modplug mysql ncurses newt numlib \ |
| 66 |
zlib |
73 |
odbc oggvorbis openal opengl openssl oracle pasjpeg paszlib pcap \ |
|
|
74 |
postgres proj4 pthreads pxlib regexpr rexx rsvg sdl sndfile sqlite \ |
| 75 |
svgalib symbolic syslog tcl unzip users utmp uuid x11 xforms zlib |
| 67 |
|
76 |
|
| 68 |
.if defined(WANT_FPC_BASE) |
77 |
.if defined(WANT_FPC_BASE) |
| 69 |
. if ${WANT_FPC_BASE:L} == "yes" |
78 |
. if ${WANT_FPC_BASE:L} == "yes" |
| 70 |
USE_FPC= gdbint graph ibase hash httpd13 httpd20 httpd22 mysql odbc oracle \ |
79 |
USE_FPC= gdbint graph hash httpd13 httpd20 httpd22 ibase mysql odbc oracle \ |
| 71 |
pasjpeg paszlib pthreads postgres regexpr sqlite |
80 |
pasjpeg paszlib postgres pthreads regexpr sqlite |
| 72 |
. else |
81 |
. else |
| 73 |
IGNORE= unknown value, please use "yes" instead of |
82 |
IGNORE= unknown value, please use "yes" instead of |
| 74 |
. endif |
83 |
. endif |
|
Lines 93-118
Link Here
|
| 93 |
# Base units |
102 |
# Base units |
| 94 |
gdbint_UNIT= devel/fpc-gdbint |
103 |
gdbint_UNIT= devel/fpc-gdbint |
| 95 |
graph_UNIT= graphics/fpc-graph |
104 |
graph_UNIT= graphics/fpc-graph |
| 96 |
ibase_UNIT= databases/fpc-ibase |
|
|
| 97 |
hash_UNIT= security/fpc-hash |
105 |
hash_UNIT= security/fpc-hash |
| 98 |
httpd13_UNIT= www/fpc-httpd13 |
106 |
httpd13_UNIT= www/fpc-httpd13 |
| 99 |
httpd20_UNIT= www/fpc-httpd20 |
107 |
httpd20_UNIT= www/fpc-httpd20 |
| 100 |
httpd22_UNIT= www/fpc-httpd22 |
108 |
httpd22_UNIT= www/fpc-httpd22 |
|
|
109 |
ibase_UNIT= databases/fpc-ibase |
| 101 |
mysql_UNIT= databases/fpc-mysql |
110 |
mysql_UNIT= databases/fpc-mysql |
| 102 |
odbc_UNIT= databases/fpc-odbc |
111 |
odbc_UNIT= databases/fpc-odbc |
| 103 |
oracle_UNIT= databases/fpc-oracle |
112 |
oracle_UNIT= databases/fpc-oracle |
| 104 |
pasjpeg_UNIT= graphics/fpc-pasjpeg |
113 |
pasjpeg_UNIT= graphics/fpc-pasjpeg |
| 105 |
paszlib_UNIT= archivers/fpc-paszlib |
114 |
paszlib_UNIT= archivers/fpc-paszlib |
| 106 |
pthreads_UNIT= devel/fpc-pthreads |
|
|
| 107 |
postgres_UNIT= databases/fpc-postgres |
115 |
postgres_UNIT= databases/fpc-postgres |
|
|
116 |
pthreads_UNIT= devel/fpc-pthreads |
| 108 |
regexpr_UNIT= devel/fpc-regexpr |
117 |
regexpr_UNIT= devel/fpc-regexpr |
| 109 |
sqlite_UNIT= databases/fpc-sqlite |
118 |
sqlite_UNIT= databases/fpc-sqlite |
| 110 |
|
119 |
|
| 111 |
# Extra units |
120 |
# Extra units |
|
|
121 |
a52_UNIT= audio/fpc-a52 |
| 112 |
aspell_UNIT= textproc/fpc-aspell |
122 |
aspell_UNIT= textproc/fpc-aspell |
| 113 |
bfd_UNIT= devel/fpc-bfd |
123 |
bfd_UNIT= devel/fpc-bfd |
|
|
124 |
bzip2_UNIT= devel/fpc-bzip2 |
| 114 |
cairo_UNIT= graphics/fpc-cairo |
125 |
cairo_UNIT= graphics/fpc-cairo |
| 115 |
chm_UNIT= misc/fpc-chm |
126 |
chm_UNIT= misc/fpc-chm |
|
|
127 |
dbus_UNIT= devel/fpc-dbus |
| 128 |
dts_UNIT= multimedia/fpc-dts |
| 129 |
fastcgi_UNIT= www/fpc-fastcgi |
| 116 |
fcl_async_UNIT= devel/fpc-fcl-async |
130 |
fcl_async_UNIT= devel/fpc-fcl-async |
| 117 |
fcl_base_UNIT= devel/fpc-fcl-base |
131 |
fcl_base_UNIT= devel/fpc-fcl-base |
| 118 |
fcl_db_UNIT= devel/fpc-fcl-db |
132 |
fcl_db_UNIT= devel/fpc-fcl-db |
|
Lines 123-152
Link Here
|
| 123 |
fcl_passrc_UNIT= devel/fpc-fcl-passrc |
137 |
fcl_passrc_UNIT= devel/fpc-fcl-passrc |
| 124 |
fcl_process_UNIT= devel/fpc-fcl-process |
138 |
fcl_process_UNIT= devel/fpc-fcl-process |
| 125 |
fcl_registry_UNIT= devel/fpc-fcl-registry |
139 |
fcl_registry_UNIT= devel/fpc-fcl-registry |
|
|
140 |
fcl_res_UNIT= devel/fpc-fcl-res |
| 126 |
fcl_web_UNIT= devel/fpc-fcl-web |
141 |
fcl_web_UNIT= devel/fpc-fcl-web |
| 127 |
fcl_xml_UNIT= devel/fpc-fcl-xml |
142 |
fcl_xml_UNIT= devel/fpc-fcl-xml |
| 128 |
fftw_UNIT= math/fpc-fftw |
143 |
fftw_UNIT= math/fpc-fftw |
| 129 |
fpmkunit_UNIT= devel/fpc-fpmkunit |
144 |
fpmkunit_UNIT= devel/fpc-fpmkunit |
| 130 |
fpgtk_UNIT= graphics/fpc-fpgtk |
145 |
fpgtk_UNIT= graphics/fpc-fpgtk |
|
|
146 |
fpvectorial_UNIT= graphics/fpc-fpvectorial |
| 131 |
fv_UNIT= devel/fpc-fv |
147 |
fv_UNIT= devel/fpc-fv |
|
|
148 |
hermes_UNIT= graphics/fpc-hermes |
| 132 |
gdbm_UNIT= databases/fpc-gdbm |
149 |
gdbm_UNIT= databases/fpc-gdbm |
| 133 |
ggi_UNIT= graphics/fpc-ggi |
150 |
ggi_UNIT= graphics/fpc-ggi |
|
|
151 |
gmp_UNIT= math/fpc-gmp |
| 134 |
gnome1_UNIT= x11-toolkits/fpc-gnome1 |
152 |
gnome1_UNIT= x11-toolkits/fpc-gnome1 |
| 135 |
gtk1_UNIT= x11-toolkits/fpc-gtk1 |
153 |
gtk1_UNIT= x11-toolkits/fpc-gtk1 |
| 136 |
gtk2_UNIT= x11-toolkits/fpc-gtk2 |
154 |
gtk2_UNIT= x11-toolkits/fpc-gtk2 |
| 137 |
iconvenc_UNIT= converters/fpc-iconvenc |
155 |
iconvenc_UNIT= converters/fpc-iconvenc |
| 138 |
imagemagick_UNIT= graphics/fpc-imagemagick |
156 |
imagemagick_UNIT= graphics/fpc-imagemagick |
| 139 |
imlib_UNIT= graphics/fpc-imlib |
157 |
imlib_UNIT= graphics/fpc-imlib |
|
|
158 |
ldap_UNIT= net/fpc-ldap |
| 140 |
libcurl_UNIT= ftp/fpc-libcurl |
159 |
libcurl_UNIT= ftp/fpc-libcurl |
| 141 |
libgd_UNIT= graphics/fpc-libgd |
160 |
libgd_UNIT= graphics/fpc-libgd |
| 142 |
libpng_UNIT= graphics/fpc-libpng |
161 |
libpng_UNIT= graphics/fpc-libpng |
|
|
162 |
libxml2_UNIT= textproc/fpc-libxml2 |
| 163 |
lua_UNIT= lang/fpc-lua |
| 164 |
mad_UNIT= audio/fpc-mad |
| 165 |
matroska_UNIT= multimedia/fpc-matroska |
| 166 |
modplug_UNIT= audio/fpc-modplug |
| 167 |
newt_UNIT= devel/fpc-newt |
| 143 |
ncurses_UNIT= graphics/fpc-ncurses |
168 |
ncurses_UNIT= graphics/fpc-ncurses |
| 144 |
numlib_UNIT= math/fpc-numlib |
169 |
numlib_UNIT= math/fpc-numlib |
|
|
170 |
openal_UNIT= audio/fpc-openal |
| 145 |
opengl_UNIT= graphics/fpc-opengl |
171 |
opengl_UNIT= graphics/fpc-opengl |
|
|
172 |
oggvorbis_UNIT= audio/fpc-oggvorbis |
| 146 |
openssl_UNIT= security/fpc-openssl |
173 |
openssl_UNIT= security/fpc-openssl |
| 147 |
pcap_UNIT= net/fpc-pcap |
174 |
pcap_UNIT= net/fpc-pcap |
|
|
175 |
proj4_UNIT= graphics/fpc-proj4 |
| 148 |
pxlib_UNIT= databases/fpc-pxlib |
176 |
pxlib_UNIT= databases/fpc-pxlib |
|
|
177 |
rexx_UNIT= lang/fpc-rexx |
| 178 |
rsvg_UNIT= graphics/fpc-rsvg |
| 149 |
sdl_UNIT= devel/fpc-sdl |
179 |
sdl_UNIT= devel/fpc-sdl |
|
|
180 |
sndfile_UNIT= audio/fpc-sndfile |
| 150 |
svgalib_UNIT= graphics/fpc-svgalib |
181 |
svgalib_UNIT= graphics/fpc-svgalib |
| 151 |
symbolic_UNIT= devel/fpc-symbolic |
182 |
symbolic_UNIT= devel/fpc-symbolic |
| 152 |
syslog_UNIT= sysutils/fpc-syslog |
183 |
syslog_UNIT= sysutils/fpc-syslog |
|
Lines 154-159
Link Here
|
| 154 |
unzip_UNIT= archivers/fpc-unzip |
185 |
unzip_UNIT= archivers/fpc-unzip |
| 155 |
users_UNIT= sysutils/fpc-users |
186 |
users_UNIT= sysutils/fpc-users |
| 156 |
utmp_UNIT= sysutils/fpc-utmp |
187 |
utmp_UNIT= sysutils/fpc-utmp |
|
|
188 |
uuid_UNIT= devel/fpc-uuid |
| 157 |
x11_UNIT= x11/fpc-x11 |
189 |
x11_UNIT= x11/fpc-x11 |
| 158 |
xforms_UNIT= x11-toolkits/fpc-xforms |
190 |
xforms_UNIT= x11-toolkits/fpc-xforms |
| 159 |
zlib_UNIT= devel/fpc-zlib |
191 |
zlib_UNIT= devel/fpc-zlib |