1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00

- Migrate Mk/bsd.fpc.mk to Mk/Uses/fpc.mk

- Convert all fpc-based ports to USES=fpc

PR:             227210
Reviewed by:    portmgr
Approved by:    portmgr
Exp-run by:     antoine
Differential Revision:  https://reviews.freebsd.org/D14617
This commit is contained in:
Jose Alonso Cardenas Marquez 2018-04-05 04:52:36 +00:00
parent b223666a53
commit 5ab881a5d9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=466532
110 changed files with 153 additions and 137 deletions

View File

@ -1,41 +1,42 @@
#
# $FreeBSD$
#
# bsd.fpc.mk - Support for FreePascal based ports.
# Support for FPC-based ports. This automatically will install free pascal
# compiler and units.
#
# Created by: Alonso Cardenas Marquez <acm@FreeBSD.org>
# Feature: fpc
# Usage: USES=fpc
# Valid ARGS: (none), run, base, all
#
# For FreeBSD committers:
# Please send all suggested changes to the maintainer instead of committing
# them to SVN yourself.
# run - Free pascal units will be registered also as run dependencies.
#
# 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).
# base - 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).
#
# USE_FPC_RUN - If you set this to "yes", free pascal units will be
# registered also as run dependencies.
# all - This automatically will install all free pascal units.
#
# 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 you need install additional fpc units, they can be listed there (USE_FPC=gtk2 x11 opengl).
#
# Example:
#
# USES+= fpc:run
# USE_FPC=gtk2
#
.if !defined(_FPCMKINCLUDED)
.if !defined(_INCLUDE_USES_FPC_MK)
_FPCMKINCLUDED= yes
FPC_Include_MAINTAINER= acm@FreeBSD.org
_INCLUDE_USES_FPC_MK= yes
.if defined(DEFAULT_FPC_VER)
WARNING+= "DEFAULT_FPC_VER is defined, consider using DEFAULT_VERSIONS=fpc=${DEFAULT_FPC_VER} instead"
.endif
FPC_Include_MAINTAINER= freebsd-fpc@FreeBSD.org
FPC_Pre_Include= bsd.fpc.mk
.if ${fpc_ARGS:Nrun:Nbase:Nall}
IGNORE= Unknown argument for USES=fpc: ${fpc_ARGS:Nrun:Nbase:Nall}
.endif
DEFAULT_FPC_VER= ${FPC_DEFAULT}
# When adding a version, please keep the comment in
@ -79,24 +80,16 @@ _FPC_ALL_UNITS= a52 aspell bfd bzip2 cairo chm dblib dbus dts fastcgi \
sdl sqlite svgalib symbolic syslog unzip users utmp uuid x11 \
xforms zlib
.if defined(WANT_FPC_BASE)
. if ${WANT_FPC_BASE:tl} == "yes"
.if ${fpc_ARGS:Mbase}
USE_FPC= gdbint graph httpd22 httpd24 ibase mysql odbc oracle pasjpeg \
postgres pthreads regexpr sqlite
. else
IGNORE= unknown value, please use "yes" instead of
. endif
.endif
.if defined(WANT_FPC_ALL)
. if ${WANT_FPC_ALL:tl} == "yes"
.if ${fpc_ARGS:Mall}
USE_FPC= ${_FPC_ALL_UNITS}
. else
IGNORE= unknown value, please use "yes" instead of
. endif
.endif
.if ${USE_FPC:tl} != "yes"
.if defined(USE_FPC) && ${USE_FPC:tl} != "yes"
. for UNITS in ${USE_FPC}
. if ${_FPC_ALL_UNITS:M${UNITS}}==""
IGNORE= cannot install: unknown FPC unit ${UNITS}
@ -200,29 +193,13 @@ zlib_UNIT= devel/fpc-zlib
.endif
.if defined(_POSTMKINCLUDED) && defined(USE_FPC)
.if defined(USE_FPC)
. for UNIT in ${USE_FPC}
. if ${_FPC_ALL_UNITS:M${UNIT}} != ""
BUILD_DEPENDS+= ${MKINSTDIR}/${UNIT}.fpm:${${UNIT:S/-/_/}_UNIT}
. if defined(USE_FPC_RUN)
. if ${fpc_ARGS:Mrun} || ${fpc_ARGS:Mbase}
RUN_DEPENDS+= ${MKINSTDIR}/${UNIT}.fpm:${${UNIT:S/-/_/}_UNIT}
. endif
security-check: fpc-check-install
. endif
. endfor
fpc-check-install:
.if defined(UNITPREFIX) && defined(PKGNAMESUFFIX)
@${ECHO_CMD} "#################################################################"
@${ECHO_CMD} ""
@${ECHO_CMD} " The following freepascal unit has been installed in your system:"
@${ECHO_CMD} ""
@${ECHO_CMD} " * ${UNITPREFIX}${PKGNAMESUFFIX:S/-//} "
@${ECHO_CMD} ""
@${ECHO_CMD} "#################################################################"
.endif
.endif
#.endif
# End of bsd.fpc.mk file

View File

@ -380,9 +380,6 @@ FreeBSD_MAINTAINER= portmgr@FreeBSD.org
# - If set, the system should use OpenLDAP libraries
# with SASL support.
##
# USE_FPC - If set, this port relies on the Free Pascal language.
# Implies inclusion of bsd.fpc.mk. (Also see
# that file for more information on WANT_FPC_*).
# USE_JAVA - If set, this port relies on the Java language.
# Implies inclusion of bsd.java.mk. (Also see
# that file for more information on USE_JAVA_*).
@ -1375,10 +1372,6 @@ DEV_WARNING+= "Using USE_PHP alone is deprecated, please use USES=php"
USES+= php
.endif
.if defined(USE_FPC) || defined(WANT_FPC_BASE) || defined(WANT_FPC_ALL)
.include "${PORTSDIR}/Mk/bsd.fpc.mk"
.endif
.if defined(USE_JAVA)
.include "${PORTSDIR}/Mk/bsd.java.mk"
.endif
@ -1991,10 +1984,6 @@ _USES_POST+= php
.include "${PORTSDIR}/Mk/bsd.wx.mk"
.endif
.if defined(USE_FPC) || defined(WANT_FPC_BASE) || defined(WANT_FPC_ALL)
.include "${PORTSDIR}/Mk/bsd.fpc.mk"
.endif
.if defined(USE_GECKO)
.include "${PORTSDIR}/Mk/bsd.gecko.mk"
.endif

View File

@ -150,6 +150,10 @@ DEV_ERROR+= "USE_RC_SUBR=yes has not been supported for a long time, remove it."
DEV_ERROR+= "USE_TCL and USE_TK are no longer supported, please use USES=tcl or USES=tk"
.endif
.if defined(USE_FPC) && ${USE_FPC:tl} == "yes"
DEV_ERROR+= "USE_FPC=yes is no longer supported, please use USES=fpc"
.endif
SANITY_UNSUPPORTED= USE_OPENAL USE_FAM USE_MAKESELF USE_ZIP USE_LHA USE_CMAKE \
USE_READLINE USE_ICONV PERL_CONFIGURE PERL_MODBUILD \
USE_PERL5_BUILD USE_PERL5_RUN USE_DISPLAY USE_FUSE \
@ -161,7 +165,8 @@ SANITY_UNSUPPORTED= USE_OPENAL USE_FAM USE_MAKESELF USE_ZIP USE_LHA USE_CMAKE \
USE_ZENDEXT USE_PHP_BUILD USE_BDB PLIST_DIRSTRY USE_RCORDER \
USE_OPENSSL WANT_GNOME RUBYGEM_AUTOPLIST WANT_SDL INSTALLS_EGGINFO \
USE_DOS2UNIX NO_STAGE USE_RUBYGEMS USE_GHOSTSCRIPT \
USE_GHOSTSCRIPT_BUILD USE_GHOSTSCRIPT_RUN USE_AUTOTOOLS APACHE_PORT
USE_GHOSTSCRIPT_BUILD USE_GHOSTSCRIPT_RUN USE_AUTOTOOLS APACHE_PORT \
USE_FPC_RUN WANT_FPC_BASE WANT_FPC_ALL
SANITY_DEPRECATED= PYTHON_PKGNAMESUFFIX MLINKS \
USE_MYSQL WANT_MYSQL_VER \
USE_PHPIZE WANT_PHP_CLI WANT_PHP_CGI WANT_PHP_MOD \
@ -244,6 +249,9 @@ USE_APACHE_ALT= USES=apache:${USE_APACHE:C/2(0-9)/2.\1/g}
USE_APACHE_BUILD_ALT= USES=apache:build,${USE_APACHE_BUILD:C/2(0-9)/2.\1/g}
USE_APACHE_RUN_ALT= USES=apache:run,${USE_APACHE_RUN:C/2(0-9)/2.\1/g}
APACHE_PORT_ALT= DEFAULT_VERSIONS+=apache=${APACHE_PORT:S/www\/apache//:C/2(0-9)/2.\1/}
USE_FPC_RUN_ALT= USES=fpc:run
WANT_FPC_BASE_ALT= USES=fpc:base
WANT_FPC_ALL_ALT= USES=fpc:all
.for a in ${SANITY_DEPRECATED}
.if defined(${a})

View File

@ -6,6 +6,7 @@ PKGNAMESUFFIX= -bzip2
COMMENT= Free Pascal bzip2 unit
USES= fpc
USE_FPC= rtl-extra
MASTERDIR= ${.CURDIR}/../../lang/fpc

View File

@ -6,7 +6,7 @@ PKGNAMESUFFIX= -unzip
COMMENT= Free Pascal routines for unzipping zip files
USE_FPC= yes
USES= fpc
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/packages/${PKGNAMESUFFIX:S/-//}

View File

@ -15,7 +15,7 @@ LICENSE= LGPL3
BUILD_DEPENDS= lazbuild:editors/lazarus \
fpcres:lang/fpc-utils
USES= dos2unix zip
USES= dos2unix fpc zip
USE_FPC= cairo chm fcl-base fcl-image pasjpeg rtl-objpas x11
USE_GNOME= #
@ -43,7 +43,7 @@ QT5_DESC= Use qt5 interface
OPTIONS_DEFAULT= GTK2 7Z
.include <bsd.port.pre.mk>
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MGTK2}
USE_FPC+= gtk2
@ -124,4 +124,4 @@ do-install:
${INSTALL_DATA} peazip.png ${STAGEDIR}${PREFIX}/share/pixmaps/
${INSTALL_SCRIPT} ${WRKDIR}/pea ${WRKDIR}/pealauncher ${WRKDIR}/peazip ${STAGEDIR}${PREFIX}/bin/
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -6,7 +6,7 @@ PKGNAMESUFFIX= -a52
COMMENT= Free Pascal interface to a52 library
USE_FPC= yes
USES= fpc
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/packages/${PKGNAMESUFFIX:S/-//}

View File

@ -6,7 +6,7 @@ PKGNAMESUFFIX= -mad
COMMENT= Free Pascal interface to mad library
USE_FPC= yes
USES= fpc
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/packages/${PKGNAMESUFFIX:S/-//}

View File

@ -6,7 +6,7 @@ PKGNAMESUFFIX= -modplug
COMMENT= Free Pascal interface to modplug library
USE_FPC= yes
USES= fpc
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/packages/${PKGNAMESUFFIX:S/-//}

View File

@ -6,7 +6,7 @@ PKGNAMESUFFIX= -oggvorbis
COMMENT= Free Pascal interface to ogg & vorbis libraries
USE_FPC= yes
USES= fpc
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/packages/${PKGNAMESUFFIX:S/-//}

View File

@ -6,7 +6,7 @@ PKGNAMESUFFIX= -openal
COMMENT= Free Pascal interface to openal library
USE_FPC= yes
USES= fpc
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/packages/${PKGNAMESUFFIX:S/-//}

View File

@ -13,7 +13,7 @@ COMMENT= Simple CAD program
BUILD_DEPENDS= lazbuild:editors/lazarus
USES= tar:xz
USES= fpc tar:xz
USE_FPC= cairo chm fcl-base fcl-image fcl-json fcl-stl fcl-xml opengl \
pasjpeg rtl-extra rtl-objpas x11

View File

@ -18,7 +18,7 @@ LIB_DEPENDS= libhamlib.so:comms/hamlib
USE_GITHUB= yes
GH_ACCOUNT= ok2cqr
USES= shebangfix
USES= fpc shebangfix
SHEBANG_FILES= tools/cqrlog-apparmor-fix \
voice_keyer/voice_keyer.sh

View File

@ -6,7 +6,7 @@ PKGNAMESUFFIX= -iconvenc
COMMENT= Free Pascal unit to iconv library
USE_FPC= yes
USES= fpc
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/packages/${PKGNAMESUFFIX:S/-//}

View File

@ -6,7 +6,7 @@ PKGNAMESUFFIX= -dblib
COMMENT= Free Pascal DB-Library and FreeTDS unit
USE_FPC= yes
USES= fpc
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/packages/${PKGNAMESUFFIX:S/-//}

View File

@ -6,6 +6,7 @@ PKGNAMESUFFIX= -fpindexer
COMMENT= Database indexer with database/flat file backend
USES= fpc
USE_FPC= chm dblib fcl-base fcl-db fcl-json fcl-xml ibase mysql odbc \
oracle postgres pxlib sqlite rtl-extra

View File

@ -6,7 +6,7 @@ PKGNAMESUFFIX= -gdbm
COMMENT= Free Pascal interface to the GNU database system
USE_FPC= yes
USES= fpc
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/packages/${PKGNAMESUFFIX:S/-//}

View File

@ -6,7 +6,7 @@ PKGNAMESUFFIX= -ibase
COMMENT= Free Pascal interface to interbase
USE_FPC= yes
USES= fpc
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/packages/${PKGNAMESUFFIX:S/-//}

View File

@ -6,7 +6,7 @@ PKGNAMESUFFIX= -mysql
COMMENT= Free Pascal interface to MySQL
USE_FPC= yes
USES= fpc
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/packages/${PKGNAMESUFFIX:S/-//}

View File

@ -6,7 +6,7 @@ PKGNAMESUFFIX= -odbc
COMMENT= Free Pascal interface to ODBC
USE_FPC= yes
USES= fpc
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/packages/${PKGNAMESUFFIX:S/-//}

View File

@ -6,7 +6,7 @@ PKGNAMESUFFIX= -oracle
COMMENT= Free Pascal interface to Oracle
USE_FPC= yes
USES= fpc
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/packages/${PKGNAMESUFFIX:S/-//}

View File

@ -6,7 +6,7 @@ PKGNAMESUFFIX= -postgres
COMMENT= Free Pascal interface to PostGreSQL
USE_FPC= yes
USES= fpc
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/packages/${PKGNAMESUFFIX:S/-//}

View File

@ -6,7 +6,7 @@ PKGNAMESUFFIX= -pxlib
COMMENT= Free Pascal unit to read various Paradox files
USE_FPC= yes
USES= fpc
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/packages/${PKGNAMESUFFIX:S/-//}

View File

@ -6,7 +6,7 @@ PKGNAMESUFFIX= -sqlite
COMMENT= Free Pascal interface to SQLite
USE_FPC= yes
USES= fpc
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/packages/${PKGNAMESUFFIX:S/-//}

View File

@ -6,7 +6,7 @@ PKGNAMESUFFIX= -bfd
COMMENT= Free Pascal interface for the GNU Binary Format description
USE_FPC= yes
USES= fpc
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/packages/${PKGNAMESUFFIX:S/-//}

View File

@ -6,7 +6,7 @@ PKGNAMESUFFIX= -dbus
COMMENT= Free Pascal interface to dbus library
USE_FPC= yes
USES= fpc
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/packages/${PKGNAMESUFFIX:S/-//}

View File

@ -6,7 +6,7 @@ PKGNAMESUFFIX= -fcl-async
COMMENT= Free Pascal asynchronous event management (FCL)
USE_FPC= yes
USES= fpc
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/packages/${PKGNAMESUFFIX:S/-//}

View File

@ -6,6 +6,7 @@ PKGNAMESUFFIX= -fcl-base
COMMENT= Free Pascal Component Library base
USES= fpc
USE_FPC= fcl-res rtl-objpas
MASTERDIR= ${.CURDIR}/../../lang/fpc

View File

@ -6,6 +6,7 @@ PKGNAMESUFFIX= -fcl-db
COMMENT= Free Pascal Database Library (FCL)
USES= fpc
USE_FPC= fcl-base fcl-xml rtl-objpas rtl-extra ibase mysql odbc \
oracle postgres sqlite dblib pxlib fcl-json

View File

@ -5,6 +5,7 @@ PKGNAMESUFFIX= -fcl-extra
COMMENT= Free Pascal extra libraries (FCL)
USES= fpc
USE_FPC= fcl-base fcl-res rtl-objpas
MASTERDIR= ${.CURDIR}/../../lang/fpc

View File

@ -6,6 +6,7 @@ PKGNAMESUFFIX= -fcl-fpcunit
COMMENT= Free Pascal unit testing library (FCL)
USES= fpc
USE_FPC= fcl-base fcl-xml
MASTERDIR= ${.CURDIR}/../../lang/fpc

View File

@ -6,6 +6,7 @@ PKGNAMESUFFIX= -fcl-image
COMMENT= Free Pascal image loading and conversion libraries (FCL)
USES= fpc
USE_FPC= fcl-base fcl-res pasjpeg rtl-objpas
MASTERDIR= ${.CURDIR}/../../lang/fpc

View File

@ -1,12 +1,13 @@
# Created by: Alonso Cardenas Marquez <acm@FreeBSD.org>
# $FreeBSD$
PORTREVISION= 1
CATEGORIES= devel lang
PKGNAMESUFFIX= -fcl-js
PORTREVISION= 1
COMMENT= Free Pascal Javascript scanner/parser/syntax tree (FCL)
USES= fpc
USE_FPC= fcl-base fcl-res rtl-objpas
MASTERDIR= ${.CURDIR}/../../lang/fpc

View File

@ -1,12 +1,13 @@
# Created by: Alonso Cardenas Marquez <acm@FreeBSD.org>
# $FreeBSD$
PORTREVISION= 1
CATEGORIES= devel lang
PKGNAMESUFFIX= -fcl-json
PORTREVISION= 1
COMMENT= Free Pascal JavaScript Object Notation implemenation (FCL)
USES= fpc
USE_FPC= fcl-base rtl-objpas fcl-res
MASTERDIR= ${.CURDIR}/../../lang/fpc

View File

@ -6,6 +6,7 @@ PKGNAMESUFFIX= -fcl-net
COMMENT= Free Pascal network interfaces (FCL)
USES= fpc
USE_FPC= fcl-base openssl fcl-xml fcl-passrc fcl-async rtl-extra
MASTERDIR= ${.CURDIR}/../../lang/fpc

View File

@ -1,12 +1,13 @@
# Created by: Alonso Cardenas Marquez <acm@FreeBSD.org>
# $FreeBSD$
PORTREVISION= 1
CATEGORIES= devel lang
PKGNAMESUFFIX= -fcl-passrc
PORTREVISION= 1
COMMENT= Free Pascal language parsing library (FPC)
USES= fpc
USE_FPC= fcl-base fcl-res rtl-objpas
MASTERDIR= ${.CURDIR}/../../lang/fpc

View File

@ -1,11 +1,12 @@
# $FreeBSD$
PORTREVISION= 1
CATEGORIES= devel lang
PKGNAMESUFFIX= -fcl-pdf
PORTREVISION= 1
COMMENT= Free Pascal pdf (FCL)
USES= fpc
USE_FPC= fcl-base fcl-image fcl-res fcl-xml pasjpeg rtl-objpas
MASTERDIR= ${.CURDIR}/../../lang/fpc

View File

@ -6,6 +6,7 @@ PKGNAMESUFFIX= -fcl-registry
COMMENT= Free Pascal emulation of Windows registry (FCL)
USES= fpc
USE_FPC= fcl-base fcl-xml
MASTERDIR= ${.CURDIR}/../../lang/fpc

View File

@ -6,7 +6,7 @@ PKGNAMESUFFIX= -fcl-res
COMMENT= Free Pascal resource handlers (FCL)
USE_FPC= yes
USES= fpc
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/packages/${PKGNAMESUFFIX:S/-//}

View File

@ -5,6 +5,7 @@ PKGNAMESUFFIX= -fcl-sdo
COMMENT= Free Pascal Service Data Objects implementation (FCL)
USES= fpc
USE_FPC= dblib fcl-base fcl-db fcl-json fcl-xml ibase mysql odbc \
oracle postgres pxlib rtl-extra sqlite

View File

@ -5,6 +5,7 @@ PKGNAMESUFFIX= -fcl-sound
COMMENT= Free Pascal sound loading, storing and converion (FCL)
USES= fpc
USE_FPC= fcl-base fcl-res rtl-objpas
MASTERDIR= ${.CURDIR}/../../lang/fpc

View File

@ -1,12 +1,12 @@
# $FreeBSD$
PORTREVISION= 1
CATEGORIES= devel lang
PKGNAMESUFFIX= -fcl-stl
PORTREVISION= 1
COMMENT= Free Pascal generic container library (FCL)
USE_FPC= yes
USES= fpc
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/packages/${PKGNAMESUFFIX:S/-//}

View File

@ -1,12 +1,13 @@
# Created by: Alonso Cardenas Marquez <acm@FreeBSD.org>
# $FreeBSD$
PORTREVISION= 1
CATEGORIES= devel lang
PKGNAMESUFFIX= -fcl-web
PORTREVISION= 1
COMMENT= Free Pascal web application libary (FCL)
USES= fpc
USE_FPC= dblib fcl-async fcl-base fcl-db fcl-xml fcl-json fcl-net \
fcl-fpcunit fcl-passrc fastcgi httpd22 httpd24 ibase mysql \
odbc openssl oracle postgres pxlib rtl-extra sqlite

View File

@ -6,8 +6,8 @@ PKGNAMESUFFIX= -fcl-xml
COMMENT= Free Pascal XML and DOM library (FCL)
USES= fpc:run
USE_FPC= fcl-base fcl-res rtl-objpas iconvenc
USE_FPC_RUN= yes
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/packages/${PKGNAMESUFFIX:S/-//}

View File

@ -6,6 +6,7 @@ PKGNAMESUFFIX= -fppkg
COMMENT= Free Pascal package manager unit
USES= fpc
USE_FPC= dblib fastcgi fcl-async fcl-base fcl-db fcl-fpcunit fcl-json \
fcl-net fcl-passrc fcl-web fcl-xml httpd22 httpd24 ibase \
mysql odbc openssl oracle postgres pxlib rtl-extra sqlite

View File

@ -6,6 +6,7 @@ PKGNAMESUFFIX= -fv
COMMENT= FreeVision is a Free Pascal unit for Delphi support
USES= fpc
USE_FPC= rtl-console rtl-extra
MASTERDIR= ${.CURDIR}/../../lang/fpc

View File

@ -6,7 +6,7 @@ PKGNAMESUFFIX= -gdbint
COMMENT= Free Pascal unit providing interface to gdb
USE_FPC= yes
USES= fpc
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/packages/${PKGNAMESUFFIX:S/-//}

View File

@ -6,7 +6,7 @@ PKGNAMESUFFIX= -newt
COMMENT= Free Pascal interface to newt library
USE_FPC= yes
USES= fpc
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/packages/${PKGNAMESUFFIX:S/-//}

View File

@ -6,7 +6,7 @@ PKGNAMESUFFIX= -pthreads
COMMENT= Free Pascal wrapper for the pthreads library
USE_FPC= yes
USES= fpc
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/packages/${PKGNAMESUFFIX:S/-//}

View File

@ -6,6 +6,7 @@ PKGNAMESUFFIX= -regexpr
COMMENT= Free Pascal regular expression routines
USES= fpc
USE_FPC= rtl-objpas
MASTERDIR= ${.CURDIR}/../../lang/fpc

View File

@ -6,6 +6,7 @@ PKGNAMESUFFIX= -sdl
COMMENT= Free Pascal interface to SDL library
USES= fpc
USE_FPC= pthreads x11
MASTERDIR= ${.CURDIR}/../../lang/fpc

View File

@ -6,7 +6,7 @@ PKGNAMESUFFIX= -symbolic
COMMENT= FreePascal unit for simple expression parsing and evaluating
USE_FPC= yes
USES= fpc
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/packages/${PKGNAMESUFFIX:S/-//}

View File

@ -6,7 +6,7 @@ PKGNAMESUFFIX= -zlib
COMMENT= Free Pascal interface to the zlib compression library
USE_FPC= yes
USES= fpc
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/packages/${PKGNAMESUFFIX:S/-//}

View File

@ -26,6 +26,7 @@ USE_GITHUB= yes
GH_ACCOUNT= BBasile
GH_PROJECT= Coedit
USES= fpc
USE_FPC= cairo chm fcl-base fcl-db fcl-image fcl-json fcl-net fcl-registry \
fcl-stl fcl-web fcl-xml numlib openssl pasjpeg rtl-objpas \
regexpr rtl-extra x11

View File

@ -6,6 +6,7 @@ PKGNAMESUFFIX= -ide
COMMENT= Free Pascal integrated IDE/compiler
USES= fpc
USE_FPC= chm fv gdbint regexpr rtl-extra rtl-console fcl-xml
MASTERDIR= ${.CURDIR}/../../lang/fpc

View File

@ -17,12 +17,13 @@ RUN_DEPENDS?= #
ONLY_FOR_ARCHS= i386 amd64
USES= gmake
USES= fpc gmake
USE_GNOME= #
USE_FPC?= cairo dblib fcl-base fcl-db fcl-fpcunit fcl-image fcl-json fcl-net \
fcl-registry fcl-res fcl-web fcl-xml gtk2 ibase iconvenc mysql \
numlib odbc openssl oracle pasjpeg postgres regexpr rtl-extra \
sqlite x11
USE_XORG= x11
OPT?= "-Sgic "
MAKE_ENV= OPT=${OPT}
@ -70,7 +71,7 @@ RUN_DEPENDS+= ${LOCALBASE}/bin/gdb:devel/gdb
.endif
.if ${PORT_OPTIONS:MGTK2}
USE_GNOME= gtk20 gdkpixbuf
USE_GNOME= cairo gtk20 gdkpixbuf2
LCL_PLATFORM= gtk2
BUILD_DEPENDS+= ${LCL_UNITS_DIR}/${LCL_PLATFORM}/interfaces.ppu:editors/lazarus-lcl-gtk2
RUN_DEPENDS+= ${LCL_UNITS_DIR}/${LCL_PLATFORM}/interfaces.ppu:editors/lazarus-lcl-gtk2

View File

@ -6,7 +6,7 @@ PKGNAMESUFFIX= -libcurl
COMMENT= Free Pascal interface to libcurl
USE_FPC= yes
USES= fpc
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/packages/${PKGNAMESUFFIX:S/-//}

View File

@ -18,7 +18,7 @@ LICENSE_COMB= multi
LIB_DEPENDS= libphysfs.so:devel/physfs \
libpng.so:graphics/png
USES= cmake:noninja desktop-file-utils lua:51 tar:bzip2
USES= cmake:noninja desktop-file-utils fpc lua:51 tar:bzip2
USE_SDL= sdl2 mixer2 image2 ttf2 net2
USE_FPC= opengl libpng rtl-objpas
USE_QT4= corelib gui moc_build network \

View File

@ -6,6 +6,7 @@ PKGNAMESUFFIX= -cairo
COMMENT= Free Pascal interface to cairo library
USES= fpc
USE_FPC= fcl-base fcl-image fcl-res pasjpeg rtl-objpas x11
MASTERDIR= ${.CURDIR}/../../lang/fpc

View File

@ -6,6 +6,7 @@ PKGNAMESUFFIX= -graph
COMMENT= Free Pascal interface to graphical applications
USES= fpc
USE_FPC= sdl x11 ${ARCH:Mi386:S/i386/pthreads/}
MASTERDIR= ${.CURDIR}/../../lang/fpc

View File

@ -6,7 +6,7 @@ PKGNAMESUFFIX= -hermes
COMMENT= Free Pascal hermes unit
USE_FPC= yes
USES= fpc
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/packages/${PKGNAMESUFFIX:S/-//}

View File

@ -6,7 +6,7 @@ PKGNAMESUFFIX= -imagemagick
COMMENT= Free Pascal interface to ImageMagick
USE_FPC= yes
USES= fpc
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/packages/${PKGNAMESUFFIX:S/-//}

View File

@ -6,7 +6,7 @@ PKGNAMESUFFIX= -libgd
COMMENT= Free Pascal interface to libgd for producing graphics files
USE_FPC= yes
USES= fpc
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/packages/${PKGNAMESUFFIX:S/-//}

View File

@ -6,8 +6,8 @@ PKGNAMESUFFIX= -libpng
COMMENT= Free Pascal interface to libpng, for reading PNG image files
USES= fpc:run
USE_FPC= zlib
USE_FPC_RUN= yes
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/packages/${PKGNAMESUFFIX:S/-//}

View File

@ -6,7 +6,7 @@ PKGNAMESUFFIX= -ncurses
COMMENT= Free Pascal interface to the ncurses library
USE_FPC= yes
USES= fpc
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/packages/${PKGNAMESUFFIX:S/-//}

View File

@ -6,6 +6,7 @@ PKGNAMESUFFIX= -opengl
COMMENT= Free Pascal interface to the OpenGL library
USES= fpc
USE_FPC= x11
MASTERDIR= ${.CURDIR}/../../lang/fpc

View File

@ -6,7 +6,7 @@ PKGNAMESUFFIX= -pasjpeg
COMMENT= Handling JPEG files with Pascal
USE_FPC= yes
USES= fpc
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/packages/${PKGNAMESUFFIX:S/-//}

View File

@ -6,7 +6,7 @@ PKGNAMESUFFIX= -proj4
COMMENT= Free Pascal interface to proj library
USE_FPC= yes
USES= fpc
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/packages/${PKGNAMESUFFIX:S/-//}

View File

@ -6,6 +6,7 @@ PKGNAMESUFFIX= -rsvg
COMMENT= Free Pascal interface to librsvg2 library
USES= fpc
USE_FPC= cairo fcl-base fcl-image fcl-res gtk2 pasjpeg rtl-objpas x11
MASTERDIR= ${.CURDIR}/../../lang/fpc

View File

@ -6,7 +6,7 @@ PKGNAMESUFFIX= -svgalib
COMMENT= Free Pascal interface to the SVGA graphics library
USE_FPC= yes
USES= fpc
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/packages/${PKGNAMESUFFIX:S/-//}

View File

@ -9,9 +9,7 @@ PKGNAMEPREFIX= fpc-
MAINTAINER= acm@FreeBSD.org
COMMENT= Meta package to install all of the Free Pascal base
USES= metaport
USE_FPC_RUN= yes
WANT_FPC_BASE= yes
USES= fpc:base metaport
OPTIONS_DEFINE= DOCS

View File

@ -6,7 +6,7 @@ PKGNAMESUFFIX= -lua
COMMENT= Free Pascal interface to the lua interpreter
USE_FPC= yes
USES= fpc
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/packages/${PKGNAMESUFFIX:S/-//}

View File

@ -6,7 +6,7 @@ PKGNAMESUFFIX= -rexx
COMMENT= Free Pascal interface to the rexx-regina library
USE_FPC= yes
USES= fpc
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/packages/${PKGNAMESUFFIX:S/-//}

View File

@ -5,6 +5,7 @@ PKGNAMESUFFIX= -rtl-console
COMMENT= Free Pascal console abstraction unit (RTL)
USES= fpc
USE_FPC= rtl-extra
MASTERDIR= ${.CURDIR}/../../lang/fpc

View File

@ -5,7 +5,7 @@ PKGNAMESUFFIX= -rtl-extra
COMMENT= Free Pascal rtl-extra unit
USE_FPC= yes
USES= fpc
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/packages/${PKGNAMESUFFIX:S/-//}

View File

@ -6,7 +6,7 @@ PORTREVISION= 1
COMMENT= Free Pascal compatibility unit with Delphi
USE_FPC= yes
USES= fpc
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/packages/${PKGNAMESUFFIX:S/-//}

View File

@ -5,7 +5,7 @@ PKGNAMESUFFIX= -rtl-unicode
COMMENT= Free Pascal compatibility unit with Delphi
USE_FPC= yes
USES= fpc
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/packages/${PKGNAMESUFFIX:S/-//}

View File

@ -10,7 +10,7 @@ MAINTAINER= acm@FreeBSD.org
COMMENT= Meta port to install Free Pascal units
ONLY_FOR_ARCHS= i386 amd64
USES= metaport
USES= fpc:run metaport
BUILDNAME= ${ARCH}-${OPSYS:tl}
@ -118,7 +118,6 @@ UNITS_SELECTED+= ${OPT:tl:S/rtl_/rtl-/:S/fcl_/fcl-/}
. endif
.endfor
USE_FPC_RUN= yes
USE_FPC= ${UNITS_SELECTED}
.include <bsd.port.mk>

View File

@ -6,6 +6,7 @@ PKGNAMESUFFIX= -utils
COMMENT= Free Pascal Compiler utilities
USES= fpc
USE_FPC= chm fcl-base fcl-fpcunit fcl-net fcl-passrc fcl-res fcl-xml \
fppkg libcurl fcl-json rtl-extra rtl-objpas openssl fcl-async \
fcl-web fcl-db ibase mysql odbc oracle postgres sqlite \

View File

@ -21,7 +21,7 @@ DIST_SUBDIR= freepascal
MAINTAINER?= acm@FreeBSD.org
COMMENT?= Free Pascal compiler with Turbo and Delphi
USES= gmake iconv
USES+= gmake iconv
ONLY_FOR_ARCHS= i386 amd64
LLD_UNSAFE= yes # Links object with invalid section header alignment
BOOTVER= 3.0.4

View File

@ -20,7 +20,7 @@ ROBOCTL_DESC= Include roboctl to communicate with the NXT
ROBOCTL_RUN_DEPENDS= legoctl:devel/roboctl
USES= dos2unix gmake tar:tgz
USES= dos2unix fpc gmake tar:tgz
USE_FPC= fcl-base fcl-image pasjpeg rtl-objpas
PLIST_FILES= bin/nbc \

View File

@ -6,7 +6,7 @@ PKGNAMESUFFIX= -fftw
COMMENT= Free Pascal interface to the FFTW3 library
USE_FPC= yes
USES= fpc
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/packages/${PKGNAMESUFFIX:S/-//}

View File

@ -6,7 +6,7 @@ PKGNAMESUFFIX= -gmp
COMMENT= Free Pascal interface to gmp library
USE_FPC= yes
USES= fpc
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/packages/${PKGNAMESUFFIX:S/-//}

View File

@ -6,7 +6,7 @@ PKGNAMESUFFIX= -numlib
COMMENT= Free Pascal unit to numerical methods
USE_FPC= yes
USES= fpc
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/packages/${PKGNAMESUFFIX:S/-//}

View File

@ -6,6 +6,7 @@ PKGNAMESUFFIX= -chm
COMMENT= Free Pascal unit to manipulate chm files
USES= fpc
USE_FPC= fcl-base fcl-xml
MASTERDIR= ${.CURDIR}/../../lang/fpc

View File

@ -6,7 +6,7 @@ PKGNAMESUFFIX= -dts
COMMENT= Free Pascal interface to the dts library
USE_FPC= yes
USES= fpc
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/packages/${PKGNAMESUFFIX:S/-//}

View File

@ -6,6 +6,7 @@ PKGNAMESUFFIX= -libvlc
COMMENT= Free Pascal interface to vlc media player library
USES= fpc
USE_FPC= fcl-base fcl-res rtl-objpas
MASTERDIR= ${.CURDIR}/../../lang/fpc

View File

@ -19,6 +19,7 @@ BUILD_DEPENDS= lazbuild:editors/lazarus
LIB_DEPENDS= libavutil.so:multimedia/ffmpeg
NO_WRKSUBDIR= yes
USES= fpc
USE_XORG= x11
USE_FPC= cairo fcl-base fcl-image fcl-json fcl-xml pasjpeg regexpr x11
USE_GNOME= cairo

View File

@ -17,6 +17,7 @@ BUILD_DEPENDS= lazbuild:editors/lazarus \
fpcres:lang/fpc-utils
RUN_DEPENDS= transmission-daemon:net-p2p/transmission-daemon
USES= fpc
USE_FPC= cairo fcl-base fcl-image fcl-net pasjpeg rtl-objpas rtl-extra \
x11
USES= iconv zip

View File

@ -6,7 +6,7 @@ PKGNAMESUFFIX= -ldap
COMMENT= Free Pascal interface to OpenLDAP
USE_FPC= yes
USES= fpc
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/packages/${PKGNAMESUFFIX:S/-//}

View File

@ -6,6 +6,7 @@ PKGNAMESUFFIX= -pcap
COMMENT= Free Pascal unit for libpcap library
USES= fpc
USE_FPC= rtl-extra
MASTERDIR= ${.CURDIR}/../../lang/fpc

View File

@ -17,6 +17,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING.txt
BUILD_DEPENDS= lazbuild:editors/lazarus \
fpcres:lang/fpc-utils
USES= fpc
USE_FPC= cairo chm fcl-base fcl-image fcl-json fcl-xml pasjpeg rtl-extra x11
PROJECT_FILE= emkatic.lpi

View File

@ -19,7 +19,7 @@ EXTRACT_CMD= ${CP}
EXTRACT_BEFORE_ARGS= #
EXTRACT_AFTER_ARGS= ${WRKSRC}
USE_FPC= yes
USES= fpc
PLIST_FILES= bin/checkmol bin/matchmol

View File

@ -21,6 +21,7 @@ EXTRACT_CMD= ${CP}
EXTRACT_BEFORE_ARGS= #
EXTRACT_AFTER_ARGS= ${WRKSRC}
USES= fpc
USE_FPC= rtl-objpas
PLIST_FILES= bin/mol2eps bin/mol2ps bin/mol2svg %%DATADIR%%/color.conf

View File

@ -6,6 +6,7 @@ PKGNAMESUFFIX= -openssl
COMMENT= Free Pascal unit for OpenSSL
USES= fpc
USE_FPC= rtl-extra
MASTERDIR= ${.CURDIR}/../../lang/fpc

View File

@ -6,7 +6,7 @@ PKGNAMESUFFIX= -syslog
COMMENT= Free Pascal interface to the system logger
USE_FPC= yes
USES= fpc
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/packages/${PKGNAMESUFFIX:S/-//}

View File

@ -6,7 +6,7 @@ PKGNAMESUFFIX= -users
COMMENT= Free Pascal interface to manipulate system users
USE_FPC= yes
USES= fpc
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/packages/${PKGNAMESUFFIX:S/-//}

View File

@ -6,7 +6,7 @@ PKGNAMESUFFIX= -utmp
COMMENT= Free Pascal unit to gather information from the utmp file
USE_FPC= yes
USES= fpc
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/packages/${PKGNAMESUFFIX:S/-//}

View File

@ -6,6 +6,7 @@ PKGNAMESUFFIX= -uuid
COMMENT= Free Pascal uuid unit
USES= fpc
USE_FPC= rtl-extra
MASTERDIR= ${.CURDIR}/../../lang/fpc

View File

@ -6,7 +6,7 @@ PKGNAMESUFFIX= -aspell
COMMENT= Interface to aspell spelling checker
USE_FPC= yes
USES= fpc
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/packages/${PKGNAMESUFFIX:S/-//}

Some files were not shown because too many files have changed in this diff Show More