1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

Stage support

This commit is contained in:
Antoine Brodin 2014-01-28 00:16:57 +00:00
parent 177c914d31
commit 864284545c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=341492
99 changed files with 302 additions and 613 deletions

View File

@ -10,9 +10,8 @@ COMMENT= Free Pascal bzip2 unit
USE_FPC= yes
NO_STAGE= yes
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/packages/${PKGNAMESUFFIX:S/-//}
EXTRACTUNITDIR+= ${WRKUNITDIR}
EXTRACTUNITDIR= ${WRKUNITDIR}
.include "${MASTERDIR}/Makefile"

View File

@ -10,9 +10,8 @@ COMMENT= Free Pascal unit for native compression IO
USE_FPC= hash
NO_STAGE= yes
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/packages/${PKGNAMESUFFIX:S/-//}
EXTRACTUNITDIR+= ${WRKUNITDIR}
EXTRACTUNITDIR= ${WRKUNITDIR}
.include "${MASTERDIR}/Makefile"

View File

@ -10,13 +10,14 @@ COMMENT= Free Pascal routines for unzipping zip files
USE_FPC= yes
NO_STAGE= yes
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/packages/${PKGNAMESUFFIX:S/-//}
EXTRACTUNITDIR+= ${WRKUNITDIR}
EXTRACTUNITDIR= ${WRKUNITDIR}
OPTIONS_DEFINE= UNZIP
UNZIP_DESC= Install unzip tools
OPTIONS_DEFAULT= UNZIP
UNZIP_RUN_DEPENDS= unzip:${PORTSDIR}/archivers/unzip
.include "${MASTERDIR}/Makefile"

View File

@ -9,14 +9,15 @@ MAINTAINER= acm@FreeBSD.org
COMMENT= Free Pascal interface to a52 library
USE_FPC= yes
NO_STAGE= yes
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/packages/${PKGNAMESUFFIX:S/-//}
EXTRACTUNITDIR+= ${WRKUNITDIR}
EXTRACTUNITDIR= ${WRKUNITDIR}
OPTIONS_DEFINE= LIBA52
LIBA52_DESC= Install a52 library
LIBA52_DESC= Install a52 library
OPTIONS_DEFAULT= LIBA52
LIBA52_LIB_DEPENDS= liba52.so:${PORTSDIR}/audio/liba52
.include "${MASTERDIR}/Makefile"

View File

@ -9,14 +9,15 @@ MAINTAINER= acm@FreeBSD.org
COMMENT= Free Pascal interface to mad library
USE_FPC= yes
NO_STAGE= yes
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/packages/${PKGNAMESUFFIX:S/-//}
EXTRACTUNITDIR+= ${WRKUNITDIR}
EXTRACTUNITDIR= ${WRKUNITDIR}
OPTIONS_DEFINE= LIBMAD
LIBMAD_DESC= Install mad library
OPTIONS_DEFAULT= LIBMAD
LIBMAD_LIB_DEPENDS= libmad.so:${PORTSDIR}/audio/libmad
.include "${MASTERDIR}/Makefile"

View File

@ -9,14 +9,15 @@ MAINTAINER= acm@FreeBSD.org
COMMENT= Free Pascal interface to modplug library
USE_FPC= yes
NO_STAGE= yes
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/packages/${PKGNAMESUFFIX:S/-//}
EXTRACTUNITDIR+= ${WRKUNITDIR}
EXTRACTUNITDIR= ${WRKUNITDIR}
OPTIONS_DEFINE= LIBMODPLUG
LIBMODPLUG_DESC= Install modplug library
OPTIONS_DEFAULT= LIBMODPLUG
LIBMODPLUG_LIB_DEPENDS= libmodplug.so:${PORTSDIR}/audio/libmodplug
.include "${MASTERDIR}/Makefile"

View File

@ -9,15 +9,17 @@ MAINTAINER= acm@FreeBSD.org
COMMENT= Free Pascal interface to ogg & vorbis libraries
USE_FPC= yes
NO_STAGE= yes
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/packages/${PKGNAMESUFFIX:S/-//}
EXTRACTUNITDIR+= ${WRKUNITDIR}
EXTRACTUNITDIR= ${WRKUNITDIR}
OPTIONS_DEFINE= LIBOGG LIBVORBIS
LIBOGG_DESC= Install ogg library
LIBVORBIS_DESC= Install vorbis library
OPTIONS_DEFAULT= LIBOGG LIBVORBIS
LIBOGG_LIB_DEPENDS= libogg.so:${PORTSDIR}/audio/libogg
LIBVORBIS_LIB_DEPENDS= libvorbis.so:${PORTSDIR}/audio/libvorbis
.include "${MASTERDIR}/Makefile"

View File

@ -9,11 +9,10 @@ MAINTAINER= acm@FreeBSD.org
COMMENT= Free Pascal interface to openal library
USE_FPC= yes
NO_STAGE= yes
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/packages/${PKGNAMESUFFIX:S/-//}
EXTRACTUNITDIR+= ${WRKUNITDIR}
EXTRACTUNITDIR= ${WRKUNITDIR}
OPTIONS_DEFINE= OPENAL
OPENAL_DESC= Install openal library

View File

@ -9,14 +9,15 @@ MAINTAINER= acm@FreeBSD.org
COMMENT= Free Pascal Interface to sndfile library
USE_FPC= yes
NO_STAGE= yes
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/packages/${PKGNAMESUFFIX:S/-//}
EXTRACTUNITDIR+= ${WRKUNITDIR}
EXTRACTUNITDIR= ${WRKUNITDIR}
OPTIONS_DEFINE= LIBSNDFILE
LIBSNDFILE_DESC= Install sndfile library
OPTIONS_DEFAULT= LIBSNDFILE
LIBSNDFILE_LIB_DEPENDS= libsndfile.so:${PORTSDIR}/audio/libsndfile
.include "${MASTERDIR}/Makefile"

View File

@ -12,7 +12,9 @@ USE_FPC= yes
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/packages/${PKGNAMESUFFIX:S/-//}
EXTRACTUNITDIR+= ${WRKUNITDIR}
EXTRACTUNITDIR= ${WRKUNITDIR}
# added to main port to make it compile on 10 with iconv in libc
#USES= iconv
NO_STAGE= yes
.include "${MASTERDIR}/Makefile"

View File

@ -12,7 +12,6 @@ USE_FPC= yes
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/packages/${PKGNAMESUFFIX:S/-//}
EXTRACTUNITDIR+= ${WRKUNITDIR}
EXTRACTUNITDIR= ${WRKUNITDIR}
NO_STAGE= yes
.include "${MASTERDIR}/Makefile"

View File

@ -12,7 +12,6 @@ USE_FPC= chm fcl-base fcl-db
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/packages/${PKGNAMESUFFIX:S/-//}
EXTRACTUNITDIR+= ${WRKUNITDIR}
EXTRACTUNITDIR= ${WRKUNITDIR}
NO_STAGE= yes
.include "${MASTERDIR}/Makefile"

View File

@ -12,11 +12,12 @@ USE_FPC= yes
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/packages/${PKGNAMESUFFIX:S/-//}
EXTRACTUNITDIR+= ${WRKUNITDIR}
EXTRACTUNITDIR= ${WRKUNITDIR}
OPTIONS_DEFINE= GDBM
GDBM_DESC= Install the GNU database manager
OPTIONS_DEFAULT= GDBM
NO_STAGE= yes
GDBM_LIB_DEPENDS= libgdbm.so:${PORTSDIR}/databases/gdbm
.include "${MASTERDIR}/Makefile"

View File

@ -12,11 +12,12 @@ USE_FPC= yes
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/packages/${PKGNAMESUFFIX:S/-//}
EXTRACTUNITDIR+= ${WRKUNITDIR}
EXTRACTUNITDIR= ${WRKUNITDIR}
OPTIONS_DEFINE= IBASE
IBASE_DESC= Install Interbase/Firebird client
OPTIONS_DEFAULT= IBASE
NO_STAGE= yes
IBASE_USE= FIREBIRD=yes
.include "${MASTERDIR}/Makefile"

View File

@ -12,11 +12,12 @@ USE_FPC= yes
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/packages/${PKGNAMESUFFIX:S/-//}
EXTRACTUNITDIR+= ${WRKUNITDIR}
EXTRACTUNITDIR= ${WRKUNITDIR}
OPTIONS_DEFINE= MYSQL
MYSQL_DESC= Install MySQL client
OPTIONS_DEFAULT= MYSQL
NO_STAGE= yes
MYSQL_USE= MYSQL=yes
.include "${MASTERDIR}/Makefile"

View File

@ -12,10 +12,11 @@ USE_FPC= yes
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/packages/${PKGNAMESUFFIX:S/-//}
EXTRACTUNITDIR+= ${WRKUNITDIR}
EXTRACTUNITDIR= ${WRKUNITDIR}
OPTIONS_DEFINE= ODBC
ODBC_DESC= Install ODBC library suite for Unix
NO_STAGE= yes
ODBC_LIB_DEPENDS= libodbc.so:${PORTSDIR}/databases/unixODBC
.include "${MASTERDIR}/Makefile"

View File

@ -12,10 +12,12 @@ USE_FPC= yes
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/packages/${PKGNAMESUFFIX:S/-//}
EXTRACTUNITDIR+= ${WRKUNITDIR}
EXTRACTUNITDIR= ${WRKUNITDIR}
OPTIONS_DEFINE= ORACLE
ORACLE_DESC= Install oracle client
NO_STAGE= yes
ORACLE8_LIB= ${LOCALBASE}/oracle8-client/rdbms/lib
ORACLE_RUN_DEPENDS= ${ORACLE8_LIB}/env_rdbms.mk:${PORTSDIR}/databases/oracle8-client
.include "${MASTERDIR}/Makefile"

View File

@ -12,11 +12,12 @@ USE_FPC= yes
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/packages/${PKGNAMESUFFIX:S/-//}
EXTRACTUNITDIR+= ${WRKUNITDIR}
EXTRACTUNITDIR= ${WRKUNITDIR}
OPTIONS_DEFINE= PGSQL
PGSQL_DESC= Install PostgreSQL client
OPTIONS_DEFAULT= PGSQL
NO_STAGE= yes
PGSQL_USE= PGSQL=yes
.include "${MASTERDIR}/Makefile"

View File

@ -12,7 +12,6 @@ USE_FPC= yes
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/packages/${PKGNAMESUFFIX:S/-//}
EXTRACTUNITDIR+= ${WRKUNITDIR}
EXTRACTUNITDIR= ${WRKUNITDIR}
NO_STAGE= yes
.include "${MASTERDIR}/Makefile"

View File

@ -12,10 +12,11 @@ USE_FPC= yes
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/packages/${PKGNAMESUFFIX:S/-//}
EXTRACTUNITDIR+= ${WRKUNITDIR}
EXTRACTUNITDIR= ${WRKUNITDIR}
OPTIONS_DEFINE= SQLITE
OPTIONS_DEFAULT= SQLITE
NO_STAGE= yes
SQLITE_USE= SQLITE=yes
.include "${MASTERDIR}/Makefile"

View File

@ -12,11 +12,12 @@ USE_FPC= yes
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/packages/${PKGNAMESUFFIX:S/-//}
EXTRACTUNITDIR+= ${WRKUNITDIR}
EXTRACTUNITDIR= ${WRKUNITDIR}
OPTIONS_DEFINE= LIBBFD
LIBBFD_DESC= Install Universal BFD library from GNU binutils
OPTIONS_DEFAULT= LIBBFD
NO_STAGE= yes
LIBBFD_RUN_DEPENDS= ${LOCALBASE}/lib/libbfd.a:${PORTSDIR}/devel/libbfd
.include "${MASTERDIR}/Makefile"

View File

@ -12,11 +12,12 @@ USE_FPC= yes
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/packages/${PKGNAMESUFFIX:S/-//}
EXTRACTUNITDIR+= ${WRKUNITDIR}
EXTRACTUNITDIR= ${WRKUNITDIR}
OPTIONS_DEFINE= DBUS
DBUS_DESC= Install dbus library
OPTIONS_DEFAULT= DBUS
NO_STAGE= yes
DBUS_LIB_DEPENDS= libdbus-1.so:${PORTSDIR}/devel/dbus
.include "${MASTERDIR}/Makefile"

View File

@ -12,7 +12,6 @@ USE_FPC= yes
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/packages/${PKGNAMESUFFIX:S/-//}
EXTRACTUNITDIR+= ${WRKUNITDIR}
EXTRACTUNITDIR= ${WRKUNITDIR}
NO_STAGE= yes
.include "${MASTERDIR}/Makefile"

View File

@ -12,7 +12,6 @@ USE_FPC= hash paszlib pthreads
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/packages/${PKGNAMESUFFIX:S/-//}
EXTRACTUNITDIR+= ${WRKUNITDIR}
EXTRACTUNITDIR= ${WRKUNITDIR}
NO_STAGE= yes
.include "${MASTERDIR}/Makefile"

View File

@ -13,7 +13,9 @@ USE_FPC= dblib fcl-async fcl-base fcl-json fcl-xml hash ibase mysql odbc oracle
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/packages/${PKGNAMESUFFIX:S/-//}
EXTRACTUNITDIR+= ${WRKUNITDIR}
EXTRACTUNITDIR= ${WRKUNITDIR}
OPT= -Fuunits/${BUILDNAME} -Fu../units/${BUILDNAME} -Fu../* \
-Fu../../units/${BUILDNAME} -Fu../../../units/${BUILDNAME} \
-Fu../sqldb/*
NO_STAGE= yes
.include "${MASTERDIR}/Makefile"

View File

@ -11,7 +11,6 @@ USE_FPC= fcl-base
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/packages/${PKGNAMESUFFIX:S/-//}
EXTRACTUNITDIR+= ${WRKUNITDIR}
EXTRACTUNITDIR= ${WRKUNITDIR}
NO_STAGE= yes
.include "${MASTERDIR}/Makefile"

View File

@ -12,7 +12,6 @@ USE_FPC= fcl-async fcl-base fcl-xml hash paszlib pthreads
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/packages/${PKGNAMESUFFIX:S/-//}
EXTRACTUNITDIR+= ${WRKUNITDIR}
EXTRACTUNITDIR= ${WRKUNITDIR}
NO_STAGE= yes
.include "${MASTERDIR}/Makefile"

View File

@ -12,7 +12,6 @@ USE_FPC= fcl-async fcl-base hash pasjpeg paszlib pthreads libpng
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/packages/${PKGNAMESUFFIX:S/-//}
EXTRACTUNITDIR+= ${WRKUNITDIR}
EXTRACTUNITDIR= ${WRKUNITDIR}
NO_STAGE= yes
.include "${MASTERDIR}/Makefile"

View File

@ -12,7 +12,6 @@ USE_FPC= yes
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/packages/${PKGNAMESUFFIX:S/-//}
EXTRACTUNITDIR+= ${WRKUNITDIR}
EXTRACTUNITDIR= ${WRKUNITDIR}
NO_STAGE= yes
.include "${MASTERDIR}/Makefile"

View File

@ -12,7 +12,6 @@ USE_FPC= fcl-base
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/packages/${PKGNAMESUFFIX:S/-//}
EXTRACTUNITDIR+= ${WRKUNITDIR}
EXTRACTUNITDIR= ${WRKUNITDIR}
NO_STAGE= yes
.include "${MASTERDIR}/Makefile"

View File

@ -12,7 +12,7 @@ USE_FPC= fcl-async fcl-base fcl-xml fcl-passrc hash paszlib pthreads
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/packages/${PKGNAMESUFFIX:S/-//}
EXTRACTUNITDIR+= ${WRKUNITDIR}
EXTRACTUNITDIR= ${WRKUNITDIR}
OPT= -Fu${WRKDIR}/${WRKUNITDIR}/*
NO_STAGE= yes
.include "${MASTERDIR}/Makefile"

View File

@ -12,7 +12,6 @@ USE_FPC= yes
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/packages/${PKGNAMESUFFIX:S/-//}
EXTRACTUNITDIR+= ${WRKUNITDIR}
EXTRACTUNITDIR= ${WRKUNITDIR}
NO_STAGE= yes
.include "${MASTERDIR}/Makefile"

View File

@ -12,7 +12,6 @@ USE_FPC= yes
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/packages/${PKGNAMESUFFIX:S/-//}
EXTRACTUNITDIR+= ${WRKUNITDIR}
EXTRACTUNITDIR= ${WRKUNITDIR}
NO_STAGE= yes
.include "${MASTERDIR}/Makefile"

View File

@ -12,7 +12,6 @@ USE_FPC= fcl-async fcl-base fcl-xml hash paszlib pthreads
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/packages/${PKGNAMESUFFIX:S/-//}
EXTRACTUNITDIR+= ${WRKUNITDIR}
EXTRACTUNITDIR= ${WRKUNITDIR}
NO_STAGE= yes
.include "${MASTERDIR}/Makefile"

View File

@ -12,7 +12,6 @@ USE_FPC= fcl-base
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/packages/${PKGNAMESUFFIX:S/-//}
EXTRACTUNITDIR+= ${WRKUNITDIR}
EXTRACTUNITDIR= ${WRKUNITDIR}
NO_STAGE= yes
.include "${MASTERDIR}/Makefile"

View File

@ -14,7 +14,8 @@ USE_FPC= fastcgi fcl-async fcl-base fcl-db fcl-json fcl-net fcl-process \
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/packages/${PKGNAMESUFFIX:S/-//}
EXTRACTUNITDIR+= ${WRKUNITDIR}
EXTRACTUNITDIR= ${WRKUNITDIR}
OPT= -Fuunits/${BUILDNAME} -Fu../units/${BUILDNAME} -Fu../* \
-Fu../../units/${BUILDNAME} -Fu../../../units/${BUILDNAME}
NO_STAGE= yes
.include "${MASTERDIR}/Makefile"

View File

@ -12,7 +12,6 @@ USE_FPC= fcl-async fcl-base hash iconvenc paszlib pthreads
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/packages/${PKGNAMESUFFIX:S/-//}
EXTRACTUNITDIR+= ${WRKUNITDIR}
EXTRACTUNITDIR= ${WRKUNITDIR}
NO_STAGE= yes
.include "${MASTERDIR}/Makefile"

View File

@ -12,7 +12,6 @@ USE_FPC= fcl-process paszlib
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/packages/${PKGNAMESUFFIX:S/-//}
EXTRACTUNITDIR+= ${WRKUNITDIR}
EXTRACTUNITDIR= ${WRKUNITDIR}
NO_STAGE= yes
.include "${MASTERDIR}/Makefile"

View File

@ -12,7 +12,6 @@ USE_FPC= fcl-base fcl-process fcl-web fcl-xml
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/packages/${PKGNAMESUFFIX:S/-//}
EXTRACTUNITDIR+= ${WRKUNITDIR}
EXTRACTUNITDIR= ${WRKUNITDIR}
NO_STAGE= yes
.include "${MASTERDIR}/Makefile"

View File

@ -12,7 +12,10 @@ USE_FPC= yes
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/packages/${PKGNAMESUFFIX:S/-//}
EXTRACTUNITDIR+= ${WRKUNITDIR}
EXTRACTUNITDIR= ${WRKUNITDIR}
OPTIONS_DEFINE= EXAMPLES
HAVE_EXAMPLES= yes
NO_STAGE= yes
.include "${MASTERDIR}/Makefile"

View File

@ -68,13 +68,13 @@ lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/fv/libpviews.a
lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/fv/libpsysmsg.a
lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/fv/libpasciitab.a
lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/fv/libptimeddlg.a
%%PORTDOCS%%share/examples/fpc-%%PORTVERSION%%/fv/testapp.lpi
%%PORTDOCS%%share/examples/fpc-%%PORTVERSION%%/fv/testapp.pas
%%PORTDOCS%%share/examples/fpc-%%PORTVERSION%%/fv/Makefile.fpc
%%PORTDOCS%%share/examples/fpc-%%PORTVERSION%%/fv/Makefile
%%PORTEXAMPLES%%share/examples/fpc-%%PORTVERSION%%/fv/testapp.lpi
%%PORTEXAMPLES%%share/examples/fpc-%%PORTVERSION%%/fv/testapp.pas
%%PORTEXAMPLES%%share/examples/fpc-%%PORTVERSION%%/fv/Makefile.fpc
%%PORTEXAMPLES%%share/examples/fpc-%%PORTVERSION%%/fv/Makefile
@dirrm lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/fv
@dirrmtry lib/fpc/%%PORTVERSION%%/units
@dirrmtry lib/fpc/%%PORTVERSION%%
@dirrmtry lib/fpc
%%PORTDOCS%%@dirrm share/examples/fpc-%%PORTVERSION%%/fv
%%PORTDOCS%%@dirrmtry share/examples/fpc-%%PORTVERSION%%
%%PORTEXAMPLES%%@dirrm share/examples/fpc-%%PORTVERSION%%/fv
%%PORTEXAMPLES%%@dirrmtry share/examples/fpc-%%PORTVERSION%%

View File

@ -12,7 +12,6 @@ USE_FPC= yes
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/packages/${PKGNAMESUFFIX:S/-//}
EXTRACTUNITDIR+= ${WRKUNITDIR}
EXTRACTUNITDIR= ${WRKUNITDIR}
NO_STAGE= yes
.include "${MASTERDIR}/Makefile"

View File

@ -12,11 +12,12 @@ USE_FPC= yes
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/packages/${PKGNAMESUFFIX:S/-//}
EXTRACTUNITDIR+= ${WRKUNITDIR}
EXTRACTUNITDIR= ${WRKUNITDIR}
OPTIONS_DEFINE= NEWT
NEWT_DESC= Install newt library
OPTIONS_DEFAULT= NEWT
NO_STAGE= yes
NEWT_LIB_DEPENDS= libnewt.so:${PORTSDIR}/devel/newt
.include "${MASTERDIR}/Makefile"

View File

@ -12,7 +12,6 @@ USE_FPC= yes
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/packages/${PKGNAMESUFFIX:S/-//}
EXTRACTUNITDIR+= ${WRKUNITDIR}
EXTRACTUNITDIR= ${WRKUNITDIR}
NO_STAGE= yes
.include "${MASTERDIR}/Makefile"

View File

@ -12,7 +12,6 @@ USE_FPC= yes
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/packages/${PKGNAMESUFFIX:S/-//}
EXTRACTUNITDIR+= ${WRKUNITDIR}
EXTRACTUNITDIR= ${WRKUNITDIR}
NO_STAGE= yes
.include "${MASTERDIR}/Makefile"

View File

@ -12,11 +12,12 @@ USE_FPC= pthreads x11
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/packages/${PKGNAMESUFFIX:S/-//}
EXTRACTUNITDIR+= ${WRKUNITDIR}
EXTRACTUNITDIR= ${WRKUNITDIR}
OPTIONS_DEFINE= SDL
SDL_DESC= Install SDL library
OPTIONS_DEFAULT= SDL
NO_STAGE= yes
SDL_USE= SDL=sdl,image,mixer,ttf,gfx
.include "${MASTERDIR}/Makefile"

View File

@ -12,7 +12,6 @@ USE_FPC= yes
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/packages/${PKGNAMESUFFIX:S/-//}
EXTRACTUNITDIR+= ${WRKUNITDIR}
EXTRACTUNITDIR= ${WRKUNITDIR}
NO_STAGE= yes
.include "${MASTERDIR}/Makefile"

View File

@ -12,7 +12,6 @@ USE_FPC= yes
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/packages/${PKGNAMESUFFIX:S/-//}
EXTRACTUNITDIR+= ${WRKUNITDIR}
EXTRACTUNITDIR= ${WRKUNITDIR}
NO_STAGE= yes
.include "${MASTERDIR}/Makefile"

View File

@ -11,10 +11,10 @@ COMMENT= Free Pascal integrated IDE/compiler
USE_FPC= chm fcl-async fcl-base fv gdbint graph ibase hash mysql odbc \
oracle pasjpeg paszlib pthreads postgres regexpr sqlite
FPCDIR= # none
UNITPREFIX= # none
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/${PKGNAMESUFFIX:S/-//}
EXTRACTUNITDIR+= ${WRKUNITDIR} ${FPCSRCDIR}/compiler ${FPCSRCDIR}/rtl ${FPCSRCDIR}/packages/fv
EXTRACTUNITDIR= ${WRKUNITDIR} ${FPCSRCDIR}/compiler ${FPCSRCDIR}/rtl ${FPCSRCDIR}/packages/fv
NO_STAGE= yes
.include "${MASTERDIR}/Makefile"

View File

@ -12,11 +12,12 @@ USE_FPC= yes
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/packages/${PKGNAMESUFFIX:S/-//}
EXTRACTUNITDIR+= ${WRKUNITDIR}
EXTRACTUNITDIR= ${WRKUNITDIR}
OPTIONS_DEFINE= LIBCURL
LIBCURL_DESC= Install curl tools and library
OPTIONS_DEFAULT= LIBCURL
NO_STAGE= yes
LIBCURL_LIB_DEPENDS= libcurl.so:${PORTSDIR}/ftp/curl
.include "${MASTERDIR}/Makefile"

View File

@ -13,11 +13,12 @@ USE_FPC= fcl-async fcl-base fcl-image hash pasjpeg paszlib pthreads \
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/packages/${PKGNAMESUFFIX:S/-//}
EXTRACTUNITDIR+= ${WRKUNITDIR}
EXTRACTUNITDIR= ${WRKUNITDIR}
OPTIONS_DEFINE= LIBCAIRO
LIBCAIRO_DESC= Install cairo vector graphics library
OPTIONS_DEFAULT= LIBCAIRO
NO_STAGE= yes
LIBCAIRO_LIB_DEPENDS= libcairo.so:${PORTSDIR}/graphics/cairo
.include "${MASTERDIR}/Makefile"

View File

@ -12,11 +12,12 @@ USE_FPC= fcl-base gtk1 x11 opengl
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/packages/${PKGNAMESUFFIX:S/-//}
EXTRACTUNITDIR+= ${WRKUNITDIR}
EXTRACTUNITDIR= ${WRKUNITDIR}
OPTIONS_DEFINE= GTK1
GTK1_DESC= Gimp Toolkit for X11 GUI (version 1.x)
OPTIONS_DEFAULT= GTK1
NO_STAGE= yes
GTK1_USE= GNOME=gtk12
.include "${MASTERDIR}/Makefile"

View File

@ -12,11 +12,12 @@ USE_FPC= yes
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/packages/${PKGNAMESUFFIX:S/-//}
EXTRACTUNITDIR+= ${WRKUNITDIR}
EXTRACTUNITDIR= ${WRKUNITDIR}
OPTIONS_DEFINE= LIBGGI
LIBGGI_DESC= Install ggi library
OPTIONS_DEFAULT= LIBGGI
NO_STAGE= yes
LIBGGI_LIB_DEPENDS= libggi.so:${PORTSDIR}/graphics/libggi
.include "${MASTERDIR}/Makefile"

View File

@ -12,7 +12,6 @@ USE_FPC= x11 sdl pthreads
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/packages/${PKGNAMESUFFIX:S/-//}
EXTRACTUNITDIR+= ${WRKUNITDIR}
EXTRACTUNITDIR= ${WRKUNITDIR}
NO_STAGE= yes
.include "${MASTERDIR}/Makefile"

View File

@ -12,11 +12,12 @@ USE_FPC= yes
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/packages/${PKGNAMESUFFIX:S/-//}
EXTRACTUNITDIR+= ${WRKUNITDIR}
EXTRACTUNITDIR= ${WRKUNITDIR}
OPTIONS_DEFINE= HERMES
HERMES_DESC= Install hermes graphics library
OPTIONS_DEFAULT= HERMES
NO_STAGE= yes
HERMES_LIB_DEPENDS= libHermes.so:${PORTSDIR}/graphics/Hermes
.include "${MASTERDIR}/Makefile"

View File

@ -12,11 +12,12 @@ USE_FPC= yes
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/packages/${PKGNAMESUFFIX:S/-//}
EXTRACTUNITDIR+= ${WRKUNITDIR}
EXTRACTUNITDIR= ${WRKUNITDIR}
OPTIONS_DEFINE= IMAGEMAGICK
IMAGEMAGICK_DESC= Install ImageMagick image proccesing tool
OPTIONS_DEFAULT= IMAGEMAGICK
NO_STAGE= yes
IMAGEMAGICK_LIB_DEPENDS= libMagick++.so:${PORTSDIR}/graphics/ImageMagick
.include "${MASTERDIR}/Makefile"

View File

@ -12,11 +12,12 @@ USE_FPC= gtk1 x11 opengl
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/packages/${PKGNAMESUFFIX:S/-//}
EXTRACTUNITDIR+= ${WRKUNITDIR}
EXTRACTUNITDIR= ${WRKUNITDIR}
OPTIONS_DEFINE= IMLIB2
IMLIB2_DESC= Install imlib graphic library
OPTIONS_DEFAULT= IMLIB2
NO_STAGE= yes
IMLIB2_USE= EFL=imlib2
.include "${MASTERDIR}/Makefile"

View File

@ -12,11 +12,12 @@ USE_FPC= yes
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/packages/${PKGNAMESUFFIX:S/-//}
EXTRACTUNITDIR+= ${WRKUNITDIR}
EXTRACTUNITDIR= ${WRKUNITDIR}
OPTIONS_DEFINE= LIBGD
LIBGD_DESC= Install gd graphic library
OPTIONS_DEFAULT= LIBGD
NO_STAGE= yes
LIBGD_LIB_DEPENDS= libgd.so:${PORTSDIR}/graphics/gd
.include "${MASTERDIR}/Makefile"

View File

@ -12,11 +12,12 @@ USE_FPC= zlib
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/packages/${PKGNAMESUFFIX:S/-//}
EXTRACTUNITDIR+= ${WRKUNITDIR}
EXTRACTUNITDIR= ${WRKUNITDIR}
OPTIONS_DEFINE= LIBPNG
LIBPNG_DESC= Install png library for manipulating PNG images
OPTIONS_DEFAULT= LIBPNG
NO_STAGE= yes
LIBPNG_LIB_DEPENDS= libpng15.so:${PORTSDIR}/graphics/png
.include "${MASTERDIR}/Makefile"

View File

@ -12,7 +12,6 @@ USE_FPC= yes
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/packages/${PKGNAMESUFFIX:S/-//}
EXTRACTUNITDIR+= ${WRKUNITDIR}
EXTRACTUNITDIR= ${WRKUNITDIR}
NO_STAGE= yes
.include "${MASTERDIR}/Makefile"

View File

@ -12,11 +12,13 @@ USE_FPC= x11
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/packages/${PKGNAMESUFFIX:S/-//}
EXTRACTUNITDIR+= ${WRKUNITDIR}
EXTRACTUNITDIR= ${WRKUNITDIR}
OPTIONS_DEFINE= OPENGL
OPTIONS_DEFINE= EXAMPLES OPENGL
OPENGL_DESC= Install opengl libraries
OPTIONS_DEFAULT= OPENGL
NO_STAGE= yes
OPENGL_USE= GL=glut
HAVE_EXAMPLES= yes
.include "${MASTERDIR}/Makefile"

View File

@ -17,19 +17,19 @@ lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/opengl/libpglext.a
lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/opengl/libpglu.a
lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/opengl/libpglut.a
lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/opengl/libpglx.a
%%PORTDOCS%%share/examples/fpc-%%PORTVERSION%%/opengl/radblur.pp
%%PORTDOCS%%share/examples/fpc-%%PORTVERSION%%/opengl/morph3d.pp
%%PORTDOCS%%share/examples/fpc-%%PORTVERSION%%/opengl/glutdemo.pp
%%PORTDOCS%%share/examples/fpc-%%PORTVERSION%%/opengl/glutdemova.pp
%%PORTDOCS%%share/examples/fpc-%%PORTVERSION%%/opengl/glxtest.pp
%%PORTDOCS%%share/examples/fpc-%%PORTVERSION%%/opengl/freeglutdemo.pp
%%PORTDOCS%%share/examples/fpc-%%PORTVERSION%%/opengl/bounce.pp
%%PORTDOCS%%share/examples/fpc-%%PORTVERSION%%/opengl/Makefile.fpc
%%PORTDOCS%%share/examples/fpc-%%PORTVERSION%%/opengl/Makefile
%%PORTEXAMPLES%%share/examples/fpc-%%PORTVERSION%%/opengl/radblur.pp
%%PORTEXAMPLES%%share/examples/fpc-%%PORTVERSION%%/opengl/morph3d.pp
%%PORTEXAMPLES%%share/examples/fpc-%%PORTVERSION%%/opengl/glutdemo.pp
%%PORTEXAMPLES%%share/examples/fpc-%%PORTVERSION%%/opengl/glutdemova.pp
%%PORTEXAMPLES%%share/examples/fpc-%%PORTVERSION%%/opengl/glxtest.pp
%%PORTEXAMPLES%%share/examples/fpc-%%PORTVERSION%%/opengl/freeglutdemo.pp
%%PORTEXAMPLES%%share/examples/fpc-%%PORTVERSION%%/opengl/bounce.pp
%%PORTEXAMPLES%%share/examples/fpc-%%PORTVERSION%%/opengl/Makefile.fpc
%%PORTEXAMPLES%%share/examples/fpc-%%PORTVERSION%%/opengl/Makefile
@dirrm lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/opengl
@dirrmtry lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%
@dirrmtry lib/fpc/%%PORTVERSION%%/units
@dirrmtry lib/fpc/%%PORTVERSION%%
@dirrmtry lib/fpc
%%PORTDOCS%%@dirrm share/examples/fpc-%%PORTVERSION%%/opengl
%%PORTDOCS%%@dirrmtry share/examples/fpc-%%PORTVERSION%%
%%PORTEXAMPLES%%@dirrm share/examples/fpc-%%PORTVERSION%%/opengl
%%PORTEXAMPLES%%@dirrmtry share/examples/fpc-%%PORTVERSION%%

View File

@ -12,7 +12,6 @@ USE_FPC= yes
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/packages/${PKGNAMESUFFIX:S/-//}
EXTRACTUNITDIR+= ${WRKUNITDIR}
EXTRACTUNITDIR= ${WRKUNITDIR}
NO_STAGE= yes
.include "${MASTERDIR}/Makefile"

View File

@ -12,11 +12,12 @@ USE_FPC= yes
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/packages/${PKGNAMESUFFIX:S/-//}
EXTRACTUNITDIR+= ${WRKUNITDIR}
EXTRACTUNITDIR= ${WRKUNITDIR}
OPTIONS_DEFINE= PROJ
PROJ_DESC= Install proj library
OPTIONS_DEFAULT= PROJ
NO_STAGE= yes
PROJ_LIB_DEPENDS= libproj.so:${PORTSDIR}/graphics/proj
.include "${MASTERDIR}/Makefile"

View File

@ -12,11 +12,12 @@ USE_FPC= gtk2
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/packages/${PKGNAMESUFFIX:S/-//:S/^/lib/}
EXTRACTUNITDIR+= ${WRKUNITDIR}
EXTRACTUNITDIR= ${WRKUNITDIR}
OPTIONS_DEFINE= LIBRSVG2
LIBRSVG2_DESC= Install librsvg2 library
OPTIONS_DEFAULT= LIBRSVG2
NO_STAGE= yes
LIBRSVG2_LIB_DEPENDS= librsvg-2.so:${PORTSDIR}/graphics/librsvg2
.include "${MASTERDIR}/Makefile"

View File

@ -12,10 +12,11 @@ USE_FPC= yes
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/packages/${PKGNAMESUFFIX:S/-//}
EXTRACTUNITDIR+= ${WRKUNITDIR}
EXTRACTUNITDIR= ${WRKUNITDIR}
OPTIONS_DEFINE= SVGA
SVGA_DESC= Install svgalib low level console graphics library
NO_STAGE= yes
SVGA_LIB_DEPENDS= libvga.so:${PORTSDIR}/graphics/svgalib
.include "${MASTERDIR}/Makefile"

View File

@ -13,14 +13,12 @@ MAINTAINER= acm@FreeBSD.org
COMMENT= Meta package to install all of the Free Pascal base
WANT_FPC_BASE= yes
.if !defined(NOPORTDOCS)
RUN_DEPENDS+= ${LOCALBASE}/share/doc/fpdocs-${PORTVERSION}/user.pdf:${PORTSDIR}/lang/fpc-docs
.endif
NO_BUILD= yes
NO_INSTALL= yes
NO_MTREE= yes
do-install: # empty
OPTIONS_DEFINE= DOCS
DOCS_RUN_DEPENDS= ${LOCALBASE}/share/doc/fpdocs-${PORTVERSION}/user.pdf:${PORTSDIR}/lang/fpc-docs
NO_STAGE= yes
.include <bsd.port.mk>

View File

@ -24,13 +24,8 @@ DOCSDIR= ${PREFIX}/share/doc/fpdocs-${PORTVERSION}
PORTDOCS= chart.pdf fcl.pdf fpdoc.pdf prog.pdf ref.pdf rtl.pdf user.pdf
SUB_FILES= pkg-message
NO_STAGE= yes
do-install:
@${MKDIR} ${DOCSDIR}
@cd ${WRKDIR}/doc && \
${FIND} * -type f -exec ${INSTALL_DATA} "{}" "${DOCSDIR}/{}" \;
post-install:
@${CAT} ${PKGMESSAGE}
@${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKDIR}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>

View File

@ -12,11 +12,12 @@ USE_FPC= yes
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/packages/${PKGNAMESUFFIX:S/-//}
EXTRACTUNITDIR+= ${WRKUNITDIR}
EXTRACTUNITDIR= ${WRKUNITDIR}
OPTIONS_DEFINE= LUA
LUA_DESC= Install lua library
OPTIONS_DEFAULT= LUA
NO_STAGE= yes
LUA_LIB_DEPENDS= liblua-5.1.so:${PORTSDIR}/lang/lua
.include "${MASTERDIR}/Makefile"

View File

@ -12,11 +12,12 @@ USE_FPC= yes
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/packages/${PKGNAMESUFFIX:S/-//}
EXTRACTUNITDIR+= ${WRKUNITDIR}
EXTRACTUNITDIR= ${WRKUNITDIR}
OPTIONS_DEFINE= REXX_REGINA
REXX_REGINA_DESC= Install rexx-regina library
OPTIONS_DEFAULT= REXX_REGINA
NO_STAGE= yes
REXX_REGINA_RUN_DEPENDS= rexx:${PORTSDIR}/lang/rexx-regina
.include "${MASTERDIR}/Makefile"

View File

@ -12,11 +12,12 @@ USE_FPC= fcl-base
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/packages/${PKGNAMESUFFIX:S/-//}
EXTRACTUNITDIR+= ${WRKUNITDIR}
EXTRACTUNITDIR= ${WRKUNITDIR}
OPTIONS_DEFINE= TCL
TCL_DESC= Install tool commnad language
OPTIONS_DEFAULT= TCL
NO_STAGE= yes
TCL_USES= tk:84,run
.include "${MASTERDIR}/Makefile"

View File

@ -15,6 +15,8 @@ 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
@ -105,7 +107,6 @@ ZLIB_DESC= Interface to the zlib compression library
LATEST_LINK= ${PKGNAMEPREFIX}${PORTNAME}
NO_STAGE= yes
.include <bsd.port.options.mk>
OPTIONS_DEFAULT=A52 ASPELL BFD BZIP2 CAIRO CHM DBUS DBLIB DTS FASTCGI FCL-ASYNC FCL-BASE \
@ -125,7 +126,4 @@ UNITS_SELECTED+= ${OPT:L}
.endfor
USE_FPC= ${UNITS_SELECTED}
do-install: build
@${DO_NADA}
.include <bsd.port.mk>

View File

@ -12,7 +12,7 @@ USE_FPC= chm fcl-base fcl-net fcl-process fcl-res fppkg libcurl
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/${PKGNAMESUFFIX:S/-//}
EXTRACTUNITDIR+= ${WRKUNITDIR}
EXTRACTUNITDIR= ${WRKUNITDIR}
OPT= -Fu../fcl/*
NO_STAGE= yes
.include "${MASTERDIR}/Makefile"

View File

@ -32,7 +32,6 @@ OPTIONSFILE= ${PORT_DBDIR}/${PORTNAME}${PKGNAMESUFFIX}/options
OPT?=-CX
FPCSRCDIR= ${PORTNAME}-${PORTVERSION}
NO_STAGE= yes
.include <bsd.port.pre.mk>
.if ${ARCH} == "i386"
@ -48,6 +47,7 @@ PLIST_SUB= FPC_I386="@comment " \
.endif
.if !defined(PKGNAMESUFFIX)
NO_STAGE= yes
SUB_FILES= pkg-message
BUILDNAME= ${FPC_ARCH}-freebsd

View File

@ -7,341 +7,30 @@ PLIST= ${.CURDIR}/pkg-plist
PATCHDIR= ${.CURDIR}/files
FILESDIR= ${.CURDIR}/files
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
BUILD_WRKSRC= ${WRKDIR}/${WRKUNITDIR}
INSTALL_WRKSRC= ${WRKDIR}/${WRKUNITDIR}
FPCDIR= ${LOCALBASE}/lib/${PORTNAME}/${PORTVERSION}
FPCDIR?= ${LOCALBASE}/lib/${PORTNAME}/${PORTVERSION}
UNITPREFIX= unit-
UNITEXTRACT_SUFX= .tar.gz
UNITNAME= ${UNITPREFIX}${PKGNAMESUFFIX:S/-//}${BUILDNAME:S/^/./}${UNITEXTRACT_SUFX}
UNITDIR= lib/fpc/${PORTVERSION}/units/${BUILDNAME}
EXTRACT_AFTER_ARGS= ${EXTRACTUNITDIR}
OPT=-Ur -CX
OPT+= -Ur -CX
MAKE_ENV+= PP=${LOCALBASE}/bin/${PPNAME} \
MAKE_ARGS= PP=${LOCALBASE}/bin/${PPNAME} \
FPCDIR=${FPCDIR} \
FPCMAKE=${LOCALBASE}/bin/fpcmake \
FPCTARGET=${BUILDNAME} \
ARCH=${FPC_ARCH} \
OPT="${OPT}" \
BSDHIER=1
BSDHIER=1 \
INSTALL_PREFIX=${STAGEDIR}${PREFIX}
MAKE_ENV+= FPCDIR=${UNITDIR}
.if ${PKGNAMESUFFIX} == "-a52"
. if defined(WITH_LIBA52)
LIB_DEPENDS= a52:${PORTSDIR}/audio/liba52
. endif
.endif
.if ${PKGNAMESUFFIX} == "-bfd"
. if defined(WITH_LIBBFD)
RUN_DEPENDS= ${LOCALBASE}/lib/libbfd.a:${PORTSDIR}/devel/libbfd
. endif
.endif
.if ${PKGNAMESUFFIX} == "-cairo"
. if defined(WITH_LIBCAIRO)
LIB_DEPENDS= cairo.2:${PORTSDIR}/graphics/cairo
. endif
.endif
.if ${PKGNAMESUFFIX} == "-dbus"
. if defined(WITH_DBUS)
LIB_DEPENDS= dbus-1:${PORTSDIR}/devel/dbus
. endif
.endif
.if ${PKGNAMESUFFIX} == "-dts"
. if defined(WITH_LIBDCA)
LIB_DEPENDS= dca:${PORTSDIR}/multimedia/libdca
. endif
.endif
.if ${PKGNAMESUFFIX} == "-fcl-db"
OPT+= -Fuunits/${BUILDNAME} -Fu../units/${BUILDNAME} -Fu../* \
-Fu../../units/${BUILDNAME} -Fu../../../units/${BUILDNAME} \
-Fu../sqldb/*
.endif
.if ${PKGNAMESUFFIX} == "-fcl-net"
OPT+= -Fu${WRKDIR}/${WRKUNITDIR}/*
.endif
.if ${PKGNAMESUFFIX} == "-fcl-web"
OPT+= -Fuunits/${BUILDNAME} -Fu../units/${BUILDNAME} -Fu../* \
-Fu../../units/${BUILDNAME} -Fu../../../units/${BUILDNAME}
.endif
.if ${PKGNAMESUFFIX} == "-fftw"
. if defined(WITH_FFTW)
LIB_DEPENDS= fftw3:${PORTSDIR}/math/fftw3
. endif
.endif
.if ${PKGNAMESUFFIX} == "-fpgtk"
. if defined(WITH_GTK1)
.include <${PORTSDIR}/Mk/bsd.gnome.mk>
USE_GNOME= gtk12
. endif
.endif
.if ${PKGNAMESUFFIX} == "-fv"
HAVE_EXAMPLES= true
.endif
.if ${PKGNAMESUFFIX} == "-gdbm"
. if defined(WITH_GDBM)
LIB_DEPENDS= gdbm.4:${PORTSDIR}/databases/gdbm
. endif
.endif
.if ${PKGNAMESUFFIX} == "-ggi"
. if defined(WITH_LIBGGI)
LIB_DEPENDS= ggi:${PORTSDIR}/graphics/libggi
. endif
.endif
.if ${PKGNAMESUFFIX} == "-gmp"
. if defined(WITH_GMP)
LIB_DEPENDS= gmp:${PORTSDIR}/math/gmp
. endif
.endif
.if ${PKGNAMESUFFIX} == "-gtk1"
. if defined(WITH_GTK1)
.include <${PORTSDIR}/Mk/bsd.gnome.mk>
USE_GNOME= gtk12
. endif
OPT+=-Fu${WRKDIR}/${WRKUNITDIR}/*
.endif
.if ${PKGNAMESUFFIX} == "-gtk2"
. if defined(WITH_GTK2)
.include <${PORTSDIR}/Mk/bsd.gnome.mk>
USE_GNOME= gtk20
. endif
.endif
.if ${PKGNAMESUFFIX} == "-hermes"
. if defined(WITH_HERMES)
LIB_DEPENDS= Hermes:${PORTSDIR}/graphics/Hermes
. endif
.endif
.if ${PKGNAMESUFFIX} == "-httpd22"
. if defined(WITH_APACHE22)
USE_APACHE= 22
. endif
.endif
.if ${PKGNAMESUFFIX} == "-ibase"
. if defined(WITH_IBASE)
USE_FIREBIRD= yes
. endif
.endif
.if ${PKGNAMESUFFIX} == "-iconvenc"
# added to main port to make it compile on 10 with iconv in libc
# USES+=iconv
.endif
.if ${PKGNAMESUFFIX} == "-ide"
FPCDIR= #
.endif
.if ${PKGNAMESUFFIX} == "-imagemagick"
. if defined(WITH_IMAGEMAGICK)
LIB_DEPENDS= Magick:${PORTSDIR}/graphics/ImageMagick
. endif
.endif
.if ${PKGNAMESUFFIX} == "-imlib"
. if defined(WITH_IMLIB)
.include <${PORTSDIR}/Mk/bsd.efl.mk>
USE_EFL= imlib2
. endif
.endif
.if ${PKGNAMESUFFIX} == "-ldap"
. if defined(WITH_OPENLDAP)
USE_OPENLDAP= yes
. endif
.endif
.if ${PKGNAMESUFFIX} == "-libcurl"
. if defined(WITH_LIBCURL)
LIB_DEPENDS= curl:${PORTSDIR}/ftp/curl
. endif
.endif
.if ${PKGNAMESUFFIX} == "-libgd"
. if defined(WITH_LIBGD)
LIB_DEPENDS= gd:${PORTSDIR}/graphics/gd
. endif
.endif
.if ${PKGNAMESUFFIX} == "-libpng"
. if defined(WITH_LIBPNG)
LIB_DEPENDS= png15:${PORTSDIR}/graphics/png
. endif
.endif
.if ${PKGNAMESUFFIX} == "-libxml2"
. if defined(WITH_LIBXML2)
LIB_DEPENDS= xml2:${PORTSDIR}/textproc/libxml2
. endif
.endif
.if ${PKGNAMESUFFIX} == "-lua"
. if defined(WITH_LUA)
LIB_DEPENDS= lua-5.1:${PORTSDIR}/lang/lua
. endif
.endif
.if ${PKGNAMESUFFIX} == "-mad"
.if defined(WITH_LIBMAD)
LIB_DEPENDS= mad:${PORTSDIR}/audio/libmad
. endif
.endif
.if ${PKGNAMESUFFIX} == "-matroska"
. if defined(WITH_LIBMATROSKA)
LIB_DEPENDS= matroska:${PORTSDIR}/multimedia/libmatroska
. endif
.endif
.if ${PKGNAMESUFFIX} == "-modplug"
. if defined(WITH_LIBMODPLUG)
LIB_DEPENDS= modplug:${PORTSDIR}/audio/libmodplug
. endif
.endif
.if ${PKGNAMESUFFIX} == "-mysql"
.if defined(WITH_MYSQL)
USE_MYSQL= yes
. endif
.endif
.if ${PKGNAMESUFFIX} == "-newt"
. if defined(WITH_NEWT)
LIB_DEPENDS= newt:${PORTSDIR}/devel/newt
. endif
.endif
.if ${PKGNAMESUFFIX} == "-odbc"
. if defined(WITH_ODBC)
LIB_DEPENDS= odbc.2:${PORTSDIR}/databases/unixODBC
. endif
.endif
.if ${PKGNAMESUFFIX} == "-oggvorbis"
. if defined(WITH_LIBOGG)
LIB_DEPENDS+= ogg:${PORTSDIR}/audio/libogg
. endif
. if defined(WITH_LIBVORBIS)
LIB_DEPENDS+= vorbis:${PORTSDIR}/audio/libvorbis
. endif
.endif
.if ${PKGNAMESUFFIX} == "-opengl"
. if defined(WITH_OPENGL)
USE_GL= glut
. endif
HAVE_EXAMPLES= true
.endif
.if ${PKGNAMESUFFIX} == "-openssl"
. if defined(WITH_OPENSSL)
USE_OPENSSL= yes
. endif
.endif
.if ${PKGNAMESUFFIX} == "-oracle"
. if defined(WITH_ORACLE)
ORACLE8_LIB= ${LOCALBASE}/oracle8-client/rdbms/lib
RUN_DEPENDS= ${ORACLE8_LIB}/env_rdbms.mk:${PORTSDIR}/databases/oracle8-client
. endif
.endif
.if ${PKGNAMESUFFIX} == "-pcap"
. if defined(WITH_LIBPCAP)
LIB_DEPENDS= pcap:${PORTSDIR}/net/libpcap
. endif
.endif
.if ${PKGNAMESUFFIX} == "-postgres"
. if defined(WITH_PGSQL)
USE_PGSQL= yes
. endif
.endif
.if ${PKGNAMESUFFIX} == "-proj4"
. if defined(WITH_PROJ)
LIB_DEPENDS= proj:${PORTSDIR}/graphics/proj
. endif
.endif
.if ${PKGNAMESUFFIX} == "-rexx"
. if defined(WITH_REXX_REGINA)
RUN_DEPENDS= rexx:${PORTSDIR}/lang/rexx-regina
. endif
.endif
.if ${PKGNAMESUFFIX} == "-rsvg"
. if defined(WITH_LIBRSVG2)
LIB_DEPENDS= rsvg-2:${PORTSDIR}/graphics/librsvg2
. endif
.endif
.if ${PKGNAMESUFFIX} == "-sdl"
. if defined(WITH_SDL)
USE_SDL= sdl image mixer ttf gfx
. endif
.endif
.if ${PKGNAMESUFFIX} == "-sndfile"
. if defined(WITH_LIBSNDFILE)
LIB_DEPENDS= sndfile:${PORTSDIR}/audio/libsndfile
. endif
.endif
.if ${PKGNAMESUFFIX} == "-sqlite"
. if defined(WITH_SQLITE)
USE_SQLITE= yes
. endif
.endif
.if ${PKGNAMESUFFIX} == "-svgalib"
. if defined(WITH_SVGA)
LIB_DEPENDS= vga.1:${PORTSDIR}/graphics/svgalib
. endif
.endif
.if ${PKGNAMESUFFIX} == "-tcl"
. if defined(WITH_TCL)
RUN_DEPENDS= wish8.4:${PORTSDIR}/x11-toolkits/tk84
. endif
.endif
.if ${PKGNAMESUFFIX} == "-unzip"
. if defined(WITH_UNZIP)
RUN_DEPENDS= unzip:${PORTSDIR}/archivers/unzip
. endif
.endif
.if ${PKGNAMESUFFIX} == "-utils"
OPT+=-Fu../fcl/*
.endif
.if ${PKGNAMESUFFIX} == "-x11"
. if defined(WITH_X11)
USE_XORG= xcursor xfont xxf86dga xxf86vm xi xinerama xkbfile xrandr xrender xres xv
. endif
.endif
.if ${PKGNAMESUFFIX} == "-xforms"
. if defined(WITH_XFORMS)
LIB_DEPENDS= forms.2:${PORTSDIR}/x11-toolkits/xforms
. endif
HAVE_EXAMPLES= true
.if ${PORT_OPTIONS:MEXAMPLES} && defined(HAVE_EXAMPLES)
LATE_INSTALL_ARGS= fpc_exampleinstall
.endif
post-extract:
@ -363,16 +52,3 @@ post-patch:
@${REINPLACE_CMD} -e 's|$$(INSTALL) Package.fpc $$(INSTALL_UNITDIR)||g' \
${WRKDIR}/${WRKUNITDIR}/fppkg/Makefile
.endif
do-build:
@${ECHO_CMD} ${MAKE_ENV}
@${ECHO_CMD} ""
@cd ${WRKDIR}/${WRKUNITDIR} && ${GMAKE} all ${MAKE_ENV}
do-install:
@cd ${WRKDIR}/${WRKUNITDIR} && FPCDIR=${UNITDIR} ${GMAKE} install ${MAKE_ENV}
. if !defined(NOPORTDOCS)
. if defined(HAVE_EXAMPLES)
@cd ${WRKDIR}/${WRKUNITDIR} && ${GMAKE} fpc_exampleinstall
. endif
. endif

View File

@ -12,11 +12,12 @@ USE_FPC= yes
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/packages/${PKGNAMESUFFIX:S/-//}
EXTRACTUNITDIR+= ${WRKUNITDIR}
EXTRACTUNITDIR= ${WRKUNITDIR}
OPTIONS_DEFINE= FFTW3
FFTW3_DESC= Install FFTW3 library
OPTIONS_DEFAULT= FFTW3
NO_STAGE= yes
FFTW3_LIB_DEPENDS= libfftw3.so:${PORTSDIR}/math/fftw3
.include "${MASTERDIR}/Makefile"

View File

@ -12,11 +12,12 @@ USE_FPC= yes
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/packages/${PKGNAMESUFFIX:S/-//}
EXTRACTUNITDIR+= ${WRKUNITDIR}
EXTRACTUNITDIR= ${WRKUNITDIR}
OPTIONS_DEFINE= GMP
GMP_DESC= Install gmp library
OPTIONS_DEFAULT= GMP
NO_STAGE= yes
GMP_LIB_DEPENDS= libgmp.so:${PORTSDIR}/math/gmp
.include "${MASTERDIR}/Makefile"

View File

@ -12,7 +12,6 @@ USE_FPC= yes
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/packages/${PKGNAMESUFFIX:S/-//}
EXTRACTUNITDIR+= ${WRKUNITDIR}
EXTRACTUNITDIR= ${WRKUNITDIR}
NO_STAGE= yes
.include "${MASTERDIR}/Makefile"

View File

@ -12,7 +12,6 @@ USE_FPC= fcl-xml
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/packages/${PKGNAMESUFFIX:S/-//}
EXTRACTUNITDIR+= ${WRKUNITDIR}
EXTRACTUNITDIR= ${WRKUNITDIR}
NO_STAGE= yes
.include "${MASTERDIR}/Makefile"

View File

@ -12,11 +12,12 @@ USE_FPC= yes
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/packages/${PKGNAMESUFFIX:S/-//}
EXTRACTUNITDIR+= ${WRKUNITDIR}
EXTRACTUNITDIR= ${WRKUNITDIR}
OPTIONS_DEFINE= LIBDCA
LIBDCA_DESC= Install dts library
OPTIONS_DEFAULT= LIBDCA
NO_STAGE= yes
LIBDCA_LIB_DEPENDS= libdca.so:${PORTSDIR}/multimedia/libdca
.include "${MASTERDIR}/Makefile"

View File

@ -12,11 +12,12 @@ USE_FPC= yes
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/packages/${PKGNAMESUFFIX:S/-//}
EXTRACTUNITDIR+= ${WRKUNITDIR}
EXTRACTUNITDIR= ${WRKUNITDIR}
OPTIONS_DEFINE= LIBMATROSKA
LIBMATROSKA_DESC= Install matroska library
OPTIONS_DEFAULT= LIBMATROSKA
NO_STAGE= yes
LIBMATROSKA_LIB_DEPENDS= libmatroska.so:${PORTSDIR}/multimedia/libmatroska
.include "${MASTERDIR}/Makefile"

View File

@ -12,11 +12,12 @@ USE_FPC= hash
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/packages/${PKGNAMESUFFIX:S/-//}
EXTRACTUNITDIR+= ${WRKUNITDIR}
EXTRACTUNITDIR= ${WRKUNITDIR}
OPTIONS_DEFINE= OPENLDAP
OPENLDAP_DESC= Install OpenLDAP libraries
OPTIONS_DEFAULT= OPENLDAP
NO_STAGE= yes
OPENLDAP_USE= OPENLDAP=yes
.include "${MASTERDIR}/Makefile"

View File

@ -12,11 +12,12 @@ USE_FPC= yes
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/packages/${PKGNAMESUFFIX:S/-//}
EXTRACTUNITDIR+= ${WRKUNITDIR}
EXTRACTUNITDIR= ${WRKUNITDIR}
OPTIONS_DEFINE= LIBPCAP
LIBPCAP_DESC= Install ubiquitous network traffic capture library
OPTIONS_DEFAULT= LIBPCAP
NO_STAGE= yes
LIBPCAP_LIB_DEPENDS= libpcap.so:${PORTSDIR}/net/libpcap
.include "${MASTERDIR}/Makefile"

View File

@ -12,7 +12,6 @@ USE_FPC= yes
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/packages/${PKGNAMESUFFIX:S/-//}
EXTRACTUNITDIR+= ${WRKUNITDIR}
EXTRACTUNITDIR= ${WRKUNITDIR}
NO_STAGE= yes
.include "${MASTERDIR}/Makefile"

View File

@ -12,11 +12,12 @@ USE_FPC= yes
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/packages/${PKGNAMESUFFIX:S/-//}
EXTRACTUNITDIR+= ${WRKUNITDIR}
EXTRACTUNITDIR= ${WRKUNITDIR}
OPTIONS_DEFINE= OPENSSL
OPENSSL_DESC= Install SSL and crypto library
OPTIONS_DEFAULT= OPENSSL
NO_STAGE= yes
OPENSSL_USE= OPENSSL=yes
.include "${MASTERDIR}/Makefile"

View File

@ -12,7 +12,6 @@ USE_FPC= yes
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/packages/${PKGNAMESUFFIX:S/-//}
EXTRACTUNITDIR+= ${WRKUNITDIR}
EXTRACTUNITDIR= ${WRKUNITDIR}
NO_STAGE= yes
.include "${MASTERDIR}/Makefile"

View File

@ -12,7 +12,6 @@ USE_FPC= yes
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/packages/${PKGNAMESUFFIX:S/-//}
EXTRACTUNITDIR+= ${WRKUNITDIR}
EXTRACTUNITDIR= ${WRKUNITDIR}
NO_STAGE= yes
.include "${MASTERDIR}/Makefile"

View File

@ -12,7 +12,6 @@ USE_FPC= yes
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/packages/${PKGNAMESUFFIX:S/-//}
EXTRACTUNITDIR+= ${WRKUNITDIR}
EXTRACTUNITDIR= ${WRKUNITDIR}
NO_STAGE= yes
.include "${MASTERDIR}/Makefile"

View File

@ -12,7 +12,6 @@ USE_FPC= yes
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/packages/${PKGNAMESUFFIX:S/-//}
EXTRACTUNITDIR+= ${WRKUNITDIR}
EXTRACTUNITDIR= ${WRKUNITDIR}
NO_STAGE= yes
.include "${MASTERDIR}/Makefile"

View File

@ -12,7 +12,7 @@ USE_FPC= yes
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/packages/${PKGNAMESUFFIX:S/-//}
EXTRACTUNITDIR+= ${WRKUNITDIR}
EXTRACTUNITDIR= ${WRKUNITDIR}
OPTIONS_DEFINE= ASPELL
OPTIONS_DEFAULT= ASPELL

View File

@ -12,11 +12,12 @@ USE_FPC= yes
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/packages/${PKGNAMESUFFIX:S/-//:S/2//}
EXTRACTUNITDIR+= ${WRKUNITDIR}
EXTRACTUNITDIR= ${WRKUNITDIR}
OPTIONS_DEFINE= LIBXML2
LIBXML2_DESC= Install xml2 library
OPTIONS_DEFAULT= LIBXML2
NO_STAGE= yes
LIBXML2_LIB_DEPENDS= libxml2.so:${PORTSDIR}/textproc/libxml2
.include "${MASTERDIR}/Makefile"

View File

@ -12,7 +12,6 @@ USE_FPC= fpmkunit
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/packages/${PKGNAMESUFFIX:S/-//}
EXTRACTUNITDIR+= ${WRKUNITDIR}
EXTRACTUNITDIR= ${WRKUNITDIR}
NO_STAGE= yes
.include "${MASTERDIR}/Makefile"

View File

@ -12,10 +12,11 @@ USE_FPC= yes
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/packages/${PKGNAMESUFFIX:S/-//}
EXTRACTUNITDIR+= ${WRKUNITDIR}
EXTRACTUNITDIR= ${WRKUNITDIR}
OPTIONS_DEFINE= APACHE22
APACHE22_DESC= Install apache22 server
NO_STAGE= yes
APACHE22_USE= APACHE=22
.include "${MASTERDIR}/Makefile"

View File

@ -12,7 +12,6 @@ USE_FPC= gtk1 imlib opengl x11
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/packages/${PKGNAMESUFFIX:S/-//}
EXTRACTUNITDIR+= ${WRKUNITDIR}
EXTRACTUNITDIR= ${WRKUNITDIR}
NO_STAGE= yes
.include "${MASTERDIR}/Makefile"

View File

@ -12,11 +12,13 @@ USE_FPC= x11 opengl
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/packages/${PKGNAMESUFFIX:S/-//}
EXTRACTUNITDIR+= ${WRKUNITDIR}
EXTRACTUNITDIR= ${WRKUNITDIR}
OPT= -Fu${WRKDIR}/${WRKUNITDIR}/*
OPTIONS_DEFINE= GTK1
GTK1_DESC= Gimp Toolkit for X11 GUI (version 1.x)
OPTIONS_DEFAULT= GTK1
NO_STAGE= yes
GTK1_USE= GNOME=gtk12
.include "${MASTERDIR}/Makefile"

View File

@ -12,11 +12,12 @@ USE_FPC= cairo x11
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/packages/${PKGNAMESUFFIX:S/-//}
EXTRACTUNITDIR+= ${WRKUNITDIR}
EXTRACTUNITDIR= ${WRKUNITDIR}
OPTIONS_DEFINE= GTK2
GTK2_DESC= Gimp Toolkit for X11 GUI (version 2.x)
OPTIONS_DEFAULT= GTK2
NO_STAGE= yes
GTK2_USE= GNOME=gtk20
.include "${MASTERDIR}/Makefile"

View File

@ -12,11 +12,13 @@ USE_FPC= x11
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/packages/${PKGNAMESUFFIX:S/-//}
EXTRACTUNITDIR+= ${WRKUNITDIR}
EXTRACTUNITDIR= ${WRKUNITDIR}
OPTIONS_DEFINE= XFORMS
OPTIONS_DEFINE= EXAMPLES XFORMS
XFORMS_DESC= Install xforms graphical user interface toolkit
OPTIONS_DEFAULT= XFORMS
NO_STAGE= yes
XFORMS_LIB_DEPENDS= libforms.so:${PORTSDIR}/x11-toolkits/xforms
HAVE_EXAMPLES= yes
.include "${MASTERDIR}/Makefile"

View File

@ -3,67 +3,67 @@ lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/xforms/Package.fpc
lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/xforms/xforms.ppu
lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/xforms/xforms.o
lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/xforms/libpxforms.a
%%PORTDOCS%%share/examples/fpc-%%PORTVERSION%%/xforms/Makefile
%%PORTDOCS%%share/examples/fpc-%%PORTVERSION%%/xforms/xyplotover.pp
%%PORTDOCS%%share/examples/fpc-%%PORTVERSION%%/xforms/touchbutton.pp
%%PORTDOCS%%share/examples/fpc-%%PORTVERSION%%/xforms/srs.xbm
%%PORTDOCS%%share/examples/fpc-%%PORTVERSION%%/xforms/sliderall.pp
%%PORTDOCS%%share/examples/fpc-%%PORTVERSION%%/xforms/secretinput.pp
%%PORTDOCS%%share/examples/fpc-%%PORTVERSION%%/xforms/pushme.pp
%%PORTDOCS%%share/examples/fpc-%%PORTVERSION%%/xforms/pushbutton.pp
%%PORTDOCS%%share/examples/fpc-%%PORTVERSION%%/xforms/pup.pp
%%PORTDOCS%%share/examples/fpc-%%PORTVERSION%%/xforms/positioner.pp
%%PORTDOCS%%share/examples/fpc-%%PORTVERSION%%/xforms/porsche.xpm
%%PORTDOCS%%share/examples/fpc-%%PORTVERSION%%/xforms/objreturn.pp
%%PORTDOCS%%share/examples/fpc-%%PORTVERSION%%/xforms/objpos.pp
%%PORTDOCS%%share/examples/fpc-%%PORTVERSION%%/xforms/objinactive.pp
%%PORTDOCS%%share/examples/fpc-%%PORTVERSION%%/xforms/nomail.xbm
%%PORTDOCS%%share/examples/fpc-%%PORTVERSION%%/xforms/newbutton.pp
%%PORTDOCS%%share/examples/fpc-%%PORTVERSION%%/xforms/ndial.pp
%%PORTDOCS%%share/examples/fpc-%%PORTVERSION%%/xforms/multilabel.pp
%%PORTDOCS%%share/examples/fpc-%%PORTVERSION%%/xforms/minput.pp
%%PORTDOCS%%share/examples/fpc-%%PORTVERSION%%/xforms/menu.pp
%%PORTDOCS%%share/examples/fpc-%%PORTVERSION%%/xforms/longlabel.pp
%%PORTDOCS%%share/examples/fpc-%%PORTVERSION%%/xforms/ll.pp
%%PORTDOCS%%share/examples/fpc-%%PORTVERSION%%/xforms/ldial.pp
%%PORTDOCS%%share/examples/fpc-%%PORTVERSION%%/xforms/lalign.pp
%%PORTDOCS%%share/examples/fpc-%%PORTVERSION%%/xforms/invslider.pp
%%PORTDOCS%%share/examples/fpc-%%PORTVERSION%%/xforms/inputall.pp
%%PORTDOCS%%share/examples/fpc-%%PORTVERSION%%/xforms/iconify.pp
%%PORTDOCS%%share/examples/fpc-%%PORTVERSION%%/xforms/group.pp
%%PORTDOCS%%share/examples/fpc-%%PORTVERSION%%/xforms/goodies.pp
%%PORTDOCS%%share/examples/fpc-%%PORTVERSION%%/xforms/free1.pp
%%PORTDOCS%%share/examples/fpc-%%PORTVERSION%%/xforms/fonts.pp
%%PORTDOCS%%share/examples/fpc-%%PORTVERSION%%/xforms/flclock.pp
%%PORTDOCS%%share/examples/fpc-%%PORTVERSION%%/xforms/fdial.pp
%%PORTDOCS%%share/examples/fpc-%%PORTVERSION%%/xforms/fbrowse1.pp
%%PORTDOCS%%share/examples/fpc-%%PORTVERSION%%/xforms/fbrowse.pp
%%PORTDOCS%%share/examples/fpc-%%PORTVERSION%%/xforms/cursor.pp
%%PORTDOCS%%share/examples/fpc-%%PORTVERSION%%/xforms/crab45.xpm
%%PORTDOCS%%share/examples/fpc-%%PORTVERSION%%/xforms/crab.xpm
%%PORTDOCS%%share/examples/fpc-%%PORTVERSION%%/xforms/counter.pp
%%PORTDOCS%%share/examples/fpc-%%PORTVERSION%%/xforms/colsel1.pp
%%PORTDOCS%%share/examples/fpc-%%PORTVERSION%%/xforms/colsel.pp
%%PORTDOCS%%share/examples/fpc-%%PORTVERSION%%/xforms/colbrowser.pp
%%PORTDOCS%%share/examples/fpc-%%PORTVERSION%%/xforms/choice.pp
%%PORTDOCS%%share/examples/fpc-%%PORTVERSION%%/xforms/chartstrip.pp
%%PORTDOCS%%share/examples/fpc-%%PORTVERSION%%/xforms/chartall.pp
%%PORTDOCS%%share/examples/fpc-%%PORTVERSION%%/xforms/canvas.pp
%%PORTDOCS%%share/examples/fpc-%%PORTVERSION%%/xforms/butttypes.pp
%%PORTDOCS%%share/examples/fpc-%%PORTVERSION%%/xforms/buttonall.pp
%%PORTDOCS%%share/examples/fpc-%%PORTVERSION%%/xforms/browserop.pp
%%PORTDOCS%%share/examples/fpc-%%PORTVERSION%%/xforms/browserall.pp
%%PORTDOCS%%share/examples/fpc-%%PORTVERSION%%/xforms/boxtype.pp
%%PORTDOCS%%share/examples/fpc-%%PORTVERSION%%/xforms/borderwidth.pp
%%PORTDOCS%%share/examples/fpc-%%PORTVERSION%%/xforms/bm2.xbm
%%PORTDOCS%%share/examples/fpc-%%PORTVERSION%%/xforms/bm1.xbm
%%PORTDOCS%%share/examples/fpc-%%PORTVERSION%%/xforms/arrowbutton.pp
%%PORTDOCS%%share/examples/fpc-%%PORTVERSION%%/xforms/Makefile.fpc
%%PORTDOCS%%share/examples/fpc-%%PORTVERSION%%/xforms/yesno.pp
%%PORTEXAMPLES%%share/examples/fpc-%%PORTVERSION%%/xforms/Makefile
%%PORTEXAMPLES%%share/examples/fpc-%%PORTVERSION%%/xforms/xyplotover.pp
%%PORTEXAMPLES%%share/examples/fpc-%%PORTVERSION%%/xforms/touchbutton.pp
%%PORTEXAMPLES%%share/examples/fpc-%%PORTVERSION%%/xforms/srs.xbm
%%PORTEXAMPLES%%share/examples/fpc-%%PORTVERSION%%/xforms/sliderall.pp
%%PORTEXAMPLES%%share/examples/fpc-%%PORTVERSION%%/xforms/secretinput.pp
%%PORTEXAMPLES%%share/examples/fpc-%%PORTVERSION%%/xforms/pushme.pp
%%PORTEXAMPLES%%share/examples/fpc-%%PORTVERSION%%/xforms/pushbutton.pp
%%PORTEXAMPLES%%share/examples/fpc-%%PORTVERSION%%/xforms/pup.pp
%%PORTEXAMPLES%%share/examples/fpc-%%PORTVERSION%%/xforms/positioner.pp
%%PORTEXAMPLES%%share/examples/fpc-%%PORTVERSION%%/xforms/porsche.xpm
%%PORTEXAMPLES%%share/examples/fpc-%%PORTVERSION%%/xforms/objreturn.pp
%%PORTEXAMPLES%%share/examples/fpc-%%PORTVERSION%%/xforms/objpos.pp
%%PORTEXAMPLES%%share/examples/fpc-%%PORTVERSION%%/xforms/objinactive.pp
%%PORTEXAMPLES%%share/examples/fpc-%%PORTVERSION%%/xforms/nomail.xbm
%%PORTEXAMPLES%%share/examples/fpc-%%PORTVERSION%%/xforms/newbutton.pp
%%PORTEXAMPLES%%share/examples/fpc-%%PORTVERSION%%/xforms/ndial.pp
%%PORTEXAMPLES%%share/examples/fpc-%%PORTVERSION%%/xforms/multilabel.pp
%%PORTEXAMPLES%%share/examples/fpc-%%PORTVERSION%%/xforms/minput.pp
%%PORTEXAMPLES%%share/examples/fpc-%%PORTVERSION%%/xforms/menu.pp
%%PORTEXAMPLES%%share/examples/fpc-%%PORTVERSION%%/xforms/longlabel.pp
%%PORTEXAMPLES%%share/examples/fpc-%%PORTVERSION%%/xforms/ll.pp
%%PORTEXAMPLES%%share/examples/fpc-%%PORTVERSION%%/xforms/ldial.pp
%%PORTEXAMPLES%%share/examples/fpc-%%PORTVERSION%%/xforms/lalign.pp
%%PORTEXAMPLES%%share/examples/fpc-%%PORTVERSION%%/xforms/invslider.pp
%%PORTEXAMPLES%%share/examples/fpc-%%PORTVERSION%%/xforms/inputall.pp
%%PORTEXAMPLES%%share/examples/fpc-%%PORTVERSION%%/xforms/iconify.pp
%%PORTEXAMPLES%%share/examples/fpc-%%PORTVERSION%%/xforms/group.pp
%%PORTEXAMPLES%%share/examples/fpc-%%PORTVERSION%%/xforms/goodies.pp
%%PORTEXAMPLES%%share/examples/fpc-%%PORTVERSION%%/xforms/free1.pp
%%PORTEXAMPLES%%share/examples/fpc-%%PORTVERSION%%/xforms/fonts.pp
%%PORTEXAMPLES%%share/examples/fpc-%%PORTVERSION%%/xforms/flclock.pp
%%PORTEXAMPLES%%share/examples/fpc-%%PORTVERSION%%/xforms/fdial.pp
%%PORTEXAMPLES%%share/examples/fpc-%%PORTVERSION%%/xforms/fbrowse1.pp
%%PORTEXAMPLES%%share/examples/fpc-%%PORTVERSION%%/xforms/fbrowse.pp
%%PORTEXAMPLES%%share/examples/fpc-%%PORTVERSION%%/xforms/cursor.pp
%%PORTEXAMPLES%%share/examples/fpc-%%PORTVERSION%%/xforms/crab45.xpm
%%PORTEXAMPLES%%share/examples/fpc-%%PORTVERSION%%/xforms/crab.xpm
%%PORTEXAMPLES%%share/examples/fpc-%%PORTVERSION%%/xforms/counter.pp
%%PORTEXAMPLES%%share/examples/fpc-%%PORTVERSION%%/xforms/colsel1.pp
%%PORTEXAMPLES%%share/examples/fpc-%%PORTVERSION%%/xforms/colsel.pp
%%PORTEXAMPLES%%share/examples/fpc-%%PORTVERSION%%/xforms/colbrowser.pp
%%PORTEXAMPLES%%share/examples/fpc-%%PORTVERSION%%/xforms/choice.pp
%%PORTEXAMPLES%%share/examples/fpc-%%PORTVERSION%%/xforms/chartstrip.pp
%%PORTEXAMPLES%%share/examples/fpc-%%PORTVERSION%%/xforms/chartall.pp
%%PORTEXAMPLES%%share/examples/fpc-%%PORTVERSION%%/xforms/canvas.pp
%%PORTEXAMPLES%%share/examples/fpc-%%PORTVERSION%%/xforms/butttypes.pp
%%PORTEXAMPLES%%share/examples/fpc-%%PORTVERSION%%/xforms/buttonall.pp
%%PORTEXAMPLES%%share/examples/fpc-%%PORTVERSION%%/xforms/browserop.pp
%%PORTEXAMPLES%%share/examples/fpc-%%PORTVERSION%%/xforms/browserall.pp
%%PORTEXAMPLES%%share/examples/fpc-%%PORTVERSION%%/xforms/boxtype.pp
%%PORTEXAMPLES%%share/examples/fpc-%%PORTVERSION%%/xforms/borderwidth.pp
%%PORTEXAMPLES%%share/examples/fpc-%%PORTVERSION%%/xforms/bm2.xbm
%%PORTEXAMPLES%%share/examples/fpc-%%PORTVERSION%%/xforms/bm1.xbm
%%PORTEXAMPLES%%share/examples/fpc-%%PORTVERSION%%/xforms/arrowbutton.pp
%%PORTEXAMPLES%%share/examples/fpc-%%PORTVERSION%%/xforms/Makefile.fpc
%%PORTEXAMPLES%%share/examples/fpc-%%PORTVERSION%%/xforms/yesno.pp
@dirrm lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/xforms
@dirrmtry lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%
@dirrmtry lib/fpc/%%PORTVERSION%%/units
@dirrmtry lib/fpc/%%PORTVERSION%%
@dirrmtry lib/fpc
%%PORTDOCS%%@dirrm share/examples/fpc-%%PORTVERSION%%/xforms
%%PORTDOCS%%@dirrmtry share/examples/fpc-%%PORTVERSION%%
%%PORTEXAMPLES%%@dirrm share/examples/fpc-%%PORTVERSION%%/xforms
%%PORTEXAMPLES%%@dirrmtry share/examples/fpc-%%PORTVERSION%%

View File

@ -12,11 +12,12 @@ USE_FPC= yes
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/packages/${PKGNAMESUFFIX:S/-//}
EXTRACTUNITDIR+= ${WRKUNITDIR}
EXTRACTUNITDIR= ${WRKUNITDIR}
OPTIONS_DEFINE= X11
X11_DESC= Install X libraries
OPTIONS_DEFAULT= X11
NO_STAGE= yes
X11_USE= XORG=xcursor,xfont,xxf86dga,xxf86vm,xi,xinerama,xkbfile,xrandr,xrender,xres,xv
.include "${MASTERDIR}/Makefile"