1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-20 04:02:27 +00:00

- Add OPTIONS to some freepascal ports. Now, we can install the external libs

optionally.[1]
- Other tiny modifications

Suggested by:	Ales Catona <almindor__at__gmail.com> [1]
Approved by:	garga(mentor, implicit)
This commit is contained in:
Jose Alonso Cardenas Marquez 2006-09-18 18:41:13 +00:00
parent d1e3ce6200
commit b9f5999732
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=173353
50 changed files with 299 additions and 120 deletions

View File

@ -19,6 +19,5 @@ UNITSDIR= ${LOCALBASE}/lib/fpc/${PORTVERSION}/units/${BUILDNAME}
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/packages/base/${PKGNAMESUFFIX:S/-//}
EXTRACTUNITDIR+= ${WRKUNITDIR}
HAVE_EXAMPLES= true
.include "${MASTERDIR}/Makefile"

View File

@ -5,7 +5,7 @@
# $FreeBSD$
#
PORTREVISION= 0
PORTREVISION= 1
CATEGORIES= archivers lang
PKGNAMESUFFIX= -unzip
@ -14,10 +14,11 @@ COMMENT= Free Pascal routines for unzipping zip files
BUILD_DEPENDS= ppc386:${PORTSDIR}/lang/fpc \
fpcmake:${PORTSDIR}/lang/fpc-utils
RUN_DEPENDS= unzip:${PORTSDIR}/archivers/unzip
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/packages/extra/${PKGNAMESUFFIX:S/-//}
EXTRACTUNITDIR+= ${WRKUNITDIR}
OPTIONS= UNZIP "Install unzip tools" on
.include "${MASTERDIR}/Makefile"

View File

@ -5,7 +5,7 @@
# $FreeBSD$
#
PORTREVISION= 0
PORTREVISION= 1
CATEGORIES= databases lang
PKGNAMESUFFIX= -gdbm
@ -14,11 +14,11 @@ COMMENT= Free Pascal interface to the GNU database system
BUILD_DEPENDS= ppc386:${PORTSDIR}/lang/fpc \
fpcmake:${PORTSDIR}/lang/fpc-utils
LIB_DEPENDS= gdbm.3:${PORTSDIR}/databases/gdbm
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/packages/extra/${PKGNAMESUFFIX:S/-//}
EXTRACTUNITDIR+= ${WRKUNITDIR}
HAVE_EXAMPLES= true
OPTIONS= GDBM "Install the GNU database manager" on
.include "${MASTERDIR}/Makefile"

View File

@ -5,7 +5,7 @@
# $FreeBSD$
#
PORTREVISION= 0
PORTREVISION= 1
CATEGORIES= databases lang
PKGNAMESUFFIX= -ibase
@ -13,11 +13,11 @@ MAINTAINER= acm@FreeBSD.org
COMMENT= Free Pascal interface to interbase
BUILD_DEPENDS= ppc386:${PORTSDIR}/lang/fpc
LIB_DEPENDS= fbembed.1:${PORTSDIR}/databases/firebird-client
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/packages/base/${PKGNAMESUFFIX:S/-//}
EXTRACTUNITDIR+= ${WRKUNITDIR}
HAVE_EXAMPLES= true
OPTIONS= IBASE "Install Interbase/Firebird client" on
.include "${MASTERDIR}/Makefile"

View File

@ -5,7 +5,7 @@
# $FreeBSD$
#
PORTREVISION= 0
PORTREVISION= 1
CATEGORIES= databases lang
PKGNAMESUFFIX= -mysql
@ -14,11 +14,10 @@ COMMENT= Free Pascal interface to MySQL
BUILD_DEPENDS= ppc386:${PORTSDIR}/lang/fpc
USE_MYSQL= yes
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/packages/base/${PKGNAMESUFFIX:S/-//}
EXTRACTUNITDIR+= ${WRKUNITDIR}
HAVE_EXAMPLES= true
OPTIONS= MYSQL "Install MySQL client" on
.include "${MASTERDIR}/Makefile"

View File

@ -5,7 +5,7 @@
# $FreeBSD$
#
PORTREVISION= 0
PORTREVISION= 1
CATEGORIES= databases lang
PKGNAMESUFFIX= -odbc
@ -13,11 +13,11 @@ MAINTAINER= acm@FreeBSD.org
COMMENT= Free Pascal interface to ODBC
BUILD_DEPENDS= ppc386:${PORTSDIR}/lang/fpc
LIB_DEPENDS= odbc.1:${PORTSDIR}/databases/unixODBC
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/packages/base/${PKGNAMESUFFIX:S/-//}
EXTRACTUNITDIR+= ${WRKUNITDIR}
HAVE_EXAMPLES= true
OPTIONS= ODBC "Install ODBC library suite for Unix" on
.include "${MASTERDIR}/Makefile"

View File

@ -5,7 +5,7 @@
# $FreeBSD$
#
PORTREVISION= 0
PORTREVISION= 1
CATEGORIES= databases lang
PKGNAMESUFFIX= -oracle
@ -13,12 +13,9 @@ MAINTAINER= acm@FreeBSD.org
COMMENT= Free Pascal interface to Oracle
BUILD_DEPENDS= ppc386:${PORTSDIR}/lang/fpc
RUN_DEPENDS= ${ORACLE8_LIB}/env_rdbms.mk:${PORTSDIR}/databases/oracle8-client
ORACLE8_LIB= ${LOCALBASE}/oracle8-client/rdbms/lib
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/packages/base/${PKGNAMESUFFIX:S/-//}
EXTRACTUNITDIR+= ${WRKUNITDIR}
HAVE_EXAMPLES= true
.include "${MASTERDIR}/Makefile"

View File

@ -5,7 +5,7 @@
# $FreeBSD$
#
PORTREVISION= 0
PORTREVISION= 1
CATEGORIES= databases lang
PKGNAMESUFFIX= -postgres
@ -14,11 +14,10 @@ COMMENT= Free Pascal interface to PostGreSQL
BUILD_DEPENDS= ppc386:${PORTSDIR}/lang/fpc
USE_PGSQL= yes
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/packages/base/${PKGNAMESUFFIX:S/-//}
EXTRACTUNITDIR+= ${WRKUNITDIR}
HAVE_EXAMPLES= true
OPTIONS= PGSQL "Install PostgreSQL client" on
.include "${MASTERDIR}/Makefile"

View File

@ -5,7 +5,7 @@
# $FreeBSD$
#
PORTREVISION= 0
PORTREVISION= 1
CATEGORIES= databases lang
PKGNAMESUFFIX= -sqlite
@ -14,10 +14,10 @@ COMMENT= Free Pascal interface to SQLite
BUILD_DEPENDS= ppc386:${PORTSDIR}/lang/fpc
USE_SQLITE= yes
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/packages/base/${PKGNAMESUFFIX:S/-//}
EXTRACTUNITDIR+= ${WRKUNITDIR}
OPTIONS= SQLITE "Install SQLite database engine" on
.include "${MASTERDIR}/Makefile"

View File

@ -5,7 +5,7 @@
# $FreeBSD$
#
PORTREVISION= 0
PORTREVISION= 1
CATEGORIES= devel lang
PKGNAMESUFFIX= -bfd
@ -14,10 +14,11 @@ COMMENT= Free Pascal interface for the GNU Binary Format description
BUILD_DEPENDS= ppc386:${PORTSDIR}/lang/fpc \
fpcmake:${PORTSDIR}/lang/fpc-utils
RUN_DEPENDS= ${LOCALBASE}/lib/libbfd.a:${PORTSDIR}/devel/libbfd
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/packages/extra/${PKGNAMESUFFIX:S/-//}
EXTRACTUNITDIR+= ${WRKUNITDIR}
OPTIONS= LIBBFD "Install Universal BFD library from GNU binutils" on
.include "${MASTERDIR}/Makefile"

View File

@ -33,7 +33,5 @@ UNITSDIR= ${LOCALBASE}/lib/fpc/${PORTVERSION}/units/${BUILDNAME}
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/${PKGNAMESUFFIX:S/-//}
EXTRACTUNITDIR+= ${WRKUNITDIR} ${FPCSRCDIR}/rtl ${FPCSRCDIR}/packages/base
OPT=-CX -Fi../ -Fu${PREFIX}/lib/${PORTNAME}/${PORTVERSION}/units/${BUILDNAME}/*
HAVE_EXAMPLES= true
.include "${MASTERDIR}/Makefile"

View File

@ -33,7 +33,5 @@ UNITSDIR= ${LOCALBASE}/lib/fpc/${PORTVERSION}/units/${BUILDNAME}
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/${PKGNAMESUFFIX:S/-//}
EXTRACTUNITDIR+= ${WRKUNITDIR} ${FPCSRCDIR}/rtl ${FPCSRCDIR}/packages/base
OPT=-CX -Fi../ -Fu${PREFIX}/lib/${PORTNAME}/${PORTVERSION}/units/${BUILDNAME}/*
HAVE_EXAMPLES= true
.include "${MASTERDIR}/Makefile"

View File

@ -33,7 +33,5 @@ UNITSDIR= ${LOCALBASE}/lib/fpc/${PORTVERSION}/units/${BUILDNAME}
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/${PKGNAMESUFFIX:S/-//}
EXTRACTUNITDIR+= ${WRKUNITDIR} ${FPCSRCDIR}/rtl ${FPCSRCDIR}/packages/base
OPT=-CX -Fi../ -Fu${PREFIX}/lib/${PORTNAME}/${PORTVERSION}/units/${BUILDNAME}/*
HAVE_EXAMPLES= true
.include "${MASTERDIR}/Makefile"

View File

@ -33,7 +33,5 @@ UNITSDIR= ${LOCALBASE}/lib/fpc/${PORTVERSION}/units/${BUILDNAME}
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/${PKGNAMESUFFIX:S/-//}
EXTRACTUNITDIR+= ${WRKUNITDIR} ${FPCSRCDIR}/rtl ${FPCSRCDIR}/packages/base
OPT=-CX -Fi../ -Fu${PREFIX}/lib/${PORTNAME}/${PORTVERSION}/units/${BUILDNAME}/*
HAVE_EXAMPLES= true
.include "${MASTERDIR}/Makefile"

View File

@ -33,7 +33,5 @@ UNITSDIR= ${LOCALBASE}/lib/fpc/${PORTVERSION}/units/${BUILDNAME}
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/${PKGNAMESUFFIX:S/-//}
EXTRACTUNITDIR+= ${WRKUNITDIR} ${FPCSRCDIR}/rtl ${FPCSRCDIR}/packages/base
OPT=-CX -Fi../ -Fu${PREFIX}/lib/${PORTNAME}/${PORTVERSION}/units/${BUILDNAME}/*
HAVE_EXAMPLES= true
.include "${MASTERDIR}/Makefile"

View File

@ -33,7 +33,5 @@ UNITSDIR= ${LOCALBASE}/lib/fpc/${PORTVERSION}/units/${BUILDNAME}
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/${PKGNAMESUFFIX:S/-//}
EXTRACTUNITDIR+= ${WRKUNITDIR} ${FPCSRCDIR}/rtl ${FPCSRCDIR}/packages/base
OPT=-CX -Fi../ -Fu${PREFIX}/lib/${PORTNAME}/${PORTVERSION}/units/${BUILDNAME}/*
HAVE_EXAMPLES= true
.include "${MASTERDIR}/Makefile"

View File

@ -33,7 +33,5 @@ UNITSDIR= ${LOCALBASE}/lib/fpc/${PORTVERSION}/units/${BUILDNAME}
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/${PKGNAMESUFFIX:S/-//}
EXTRACTUNITDIR+= ${WRKUNITDIR} ${FPCSRCDIR}/rtl ${FPCSRCDIR}/packages/base
OPT=-CX -Fi../ -Fu${PREFIX}/lib/${PORTNAME}/${PORTVERSION}/units/${BUILDNAME}/*
HAVE_EXAMPLES= true
.include "${MASTERDIR}/Makefile"

View File

@ -33,7 +33,5 @@ UNITSDIR= ${LOCALBASE}/lib/fpc/${PORTVERSION}/units/${BUILDNAME}
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/${PKGNAMESUFFIX:S/-//}
EXTRACTUNITDIR+= ${WRKUNITDIR} ${FPCSRCDIR}/rtl ${FPCSRCDIR}/packages/base
OPT=-CX -Fi../ -Fu${PREFIX}/lib/${PORTNAME}/${PORTVERSION}/units/${BUILDNAME}/*
HAVE_EXAMPLES= true
.include "${MASTERDIR}/Makefile"

View File

@ -33,7 +33,5 @@ UNITSDIR= ${LOCALBASE}/lib/fpc/${PORTVERSION}/units/${BUILDNAME}
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/${PKGNAMESUFFIX:S/-//}
EXTRACTUNITDIR+= ${WRKUNITDIR} ${FPCSRCDIR}/rtl ${FPCSRCDIR}/packages/base
OPT=-CX -Fi../ -Fu${PREFIX}/lib/${PORTNAME}/${PORTVERSION}/units/${BUILDNAME}/*
HAVE_EXAMPLES= true
.include "${MASTERDIR}/Makefile"

View File

@ -33,7 +33,5 @@ UNITSDIR= ${LOCALBASE}/lib/fpc/${PORTVERSION}/units/${BUILDNAME}
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/${PKGNAMESUFFIX:S/-//}
EXTRACTUNITDIR+= ${WRKUNITDIR} ${FPCSRCDIR}/rtl ${FPCSRCDIR}/packages/base
OPT=-CX -Fi../ -Fu${PREFIX}/lib/${PORTNAME}/${PORTVERSION}/units/${BUILDNAME}/*
HAVE_EXAMPLES= true
.include "${MASTERDIR}/Makefile"

View File

@ -33,7 +33,5 @@ UNITSDIR= ${LOCALBASE}/lib/fpc/${PORTVERSION}/units/${BUILDNAME}
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/${PKGNAMESUFFIX:S/-//}
EXTRACTUNITDIR+= ${WRKUNITDIR} ${FPCSRCDIR}/rtl ${FPCSRCDIR}/packages/base
OPT=-CX -Fi../ -Fu${PREFIX}/lib/${PORTNAME}/${PORTVERSION}/units/${BUILDNAME}/*
HAVE_EXAMPLES= true
.include "${MASTERDIR}/Makefile"

View File

@ -18,6 +18,5 @@ BUILD_DEPENDS= ppc386:${PORTSDIR}/lang/fpc \
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/${PKGNAMESUFFIX:S/-//}
EXTRACTUNITDIR+= ${WRKUNITDIR}
HAVE_EXAMPLES= true
.include "${MASTERDIR}/Makefile"

View File

@ -5,7 +5,7 @@
# $FreeBSD$
#
PORTREVISION= 0
PORTREVISION= 1
CATEGORIES= devel lang
PKGNAMESUFFIX= -gconf
@ -18,12 +18,11 @@ BUILD_DEPENDS= ppc386:${PORTSDIR}/lang/fpc \
${UNITSDIR}/x11/Package.fpc:${PORTSDIR}/x11/fpc-x11 \
${UNITSDIR}/opengl/Package.fpc:${PORTSDIR}/graphics/fpc-opengl
USE_GNOME= gconf
UNITSDIR= ${LOCALBASE}/lib/fpc/${PORTVERSION}/units/${BUILDNAME}
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/packages/extra/gnome1/${PKGNAMESUFFIX:S/-//}
EXTRACTUNITDIR+= ${WRKUNITDIR}
HAVE_EXAMPLES= true
OPTIONS= GCONF "Install gconf, a configuration database system" on
.include "${MASTERDIR}/Makefile"

View File

@ -17,6 +17,5 @@ BUILD_DEPENDS= ppc386:${PORTSDIR}/lang/fpc
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/packages/base/${PKGNAMESUFFIX:S/-//}
EXTRACTUNITDIR+= ${WRKUNITDIR}
HAVE_EXAMPLES= true
.include "${MASTERDIR}/Makefile"

View File

@ -17,6 +17,5 @@ BUILD_DEPENDS= ppc386:${PORTSDIR}/lang/fpc
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/packages/base/${PKGNAMESUFFIX:S/-//}
EXTRACTUNITDIR+= ${WRKUNITDIR}
HAVE_EXAMPLES= true
.include "${MASTERDIR}/Makefile"

View File

@ -5,7 +5,7 @@
# $FreeBSD$
#
PORTREVISION= 0
PORTREVISION= 1
CATEGORIES= graphics lang
PKGNAMESUFFIX= -fpgtk
@ -34,11 +34,11 @@ BUILD_DEPENDS= ppc386:${PORTSDIR}/lang/fpc \
${UNITSDIR}/x11/Package.fpc:${PORTSDIR}/x11/fpc-x11 \
${UNITSDIR}/opengl/Package.fpc:${PORTSDIR}/graphics/fpc-opengl
USE_GNOME= gtk12
UNITSDIR= ${LOCALBASE}/lib/fpc/${PORTVERSION}/units/${BUILDNAME}
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/packages/extra/${PKGNAMESUFFIX:S/-//}
EXTRACTUNITDIR+= ${WRKUNITDIR}
OPTIONS= GTK1 "Gimp Toolkit for X11 GUI (version 1.x)" on
.include "${MASTERDIR}/Makefile"

View File

@ -5,7 +5,7 @@
# $FreeBSD$
#
PORTREVISION= 0
PORTREVISION= 1
CATEGORIES= graphics lang
PKGNAMESUFFIX= -ggi
@ -14,11 +14,11 @@ COMMENT= Free Pascal interface to libggi
BUILD_DEPENDS= ppc386:${PORTSDIR}/lang/fpc \
fpcmake:${PORTSDIR}/lang/fpc-utils
LIB_DEPENDS= ggi:${PORTSDIR}/graphics/libggi
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/packages/extra/${PKGNAMESUFFIX:S/-//}
EXTRACTUNITDIR+= ${WRKUNITDIR}
HAVE_EXAMPLES= true
OPTIONS= LIBGGI "Install ggi library" on
.include "${MASTERDIR}/Makefile"

View File

@ -5,7 +5,7 @@
# $FreeBSD$
#
PORTREVISION= 0
PORTREVISION= 1
CATEGORIES= graphics lang
PKGNAMESUFFIX= -imlib
@ -18,11 +18,11 @@ BUILD_DEPENDS= ppc386:${PORTSDIR}/lang/fpc \
${UNITSDIR}/x11/Package.fpc:${PORTSDIR}/x11/fpc-x11 \
${UNITSDIR}/opengl/Package.fpc:${PORTSDIR}/graphics/fpc-opengl
USE_GNOME= imlib
UNITSDIR= ${LOCALBASE}/lib/fpc/${PORTVERSION}/units/${BUILDNAME}
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/packages/extra/${PKGNAMESUFFIX:S/-//}
EXTRACTUNITDIR+= ${WRKUNITDIR}
OPTIONS= IMLIB "Install imlib graphic library" on
.include "${MASTERDIR}/Makefile"

View File

@ -5,7 +5,7 @@
# $FreeBSD$
#
PORTREVISION= 0
PORTREVISION= 1
CATEGORIES= graphics lang
PKGNAMESUFFIX= -libgd
@ -14,11 +14,11 @@ COMMENT= Free Pascal interface to libgd for producing graphics files
BUILD_DEPENDS= ppc386:${PORTSDIR}/lang/fpc \
fpcmake:${PORTSDIR}/lang/fpc-utils
LIB_DEPENDS= gd.4:${PORTSDIR}/graphics/gd
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/packages/extra/${PKGNAMESUFFIX:S/-//}
EXTRACTUNITDIR+= ${WRKUNITDIR}
HAVE_EXAMPLES= true
OPTIONS= LIBGD "Install gd graphic library" on
.include "${MASTERDIR}/Makefile"

View File

@ -5,7 +5,7 @@
# $FreeBSD$
#
PORTREVISION= 0
PORTREVISION= 1
CATEGORIES= graphics lang
PKGNAMESUFFIX= -libpng
@ -15,11 +15,12 @@ COMMENT= Free Pascal interface to libpng, for reading PNG image files
BUILD_DEPENDS= ppc386:${PORTSDIR}/lang/fpc \
fpcmake:${PORTSDIR}/lang/fpc-utils \
${UNITSDIR}/zlib/Package.fpc:${PORTSDIR}/devel/fpc-zlib
LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png
UNITSDIR= ${LOCALBASE}/lib/fpc/${PORTVERSION}/units/${BUILDNAME}
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/packages/extra/${PKGNAMESUFFIX:S/-//}
EXTRACTUNITDIR+= ${WRKUNITDIR}
OPTIONS= LIBPNG "Install png library for manipulating PNG images" on
.include "${MASTERDIR}/Makefile"

View File

@ -18,6 +18,5 @@ BUILD_DEPENDS= ppc386:${PORTSDIR}/lang/fpc \
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/packages/extra/${PKGNAMESUFFIX:S/-//}
EXTRACTUNITDIR+= ${WRKUNITDIR}
HAVE_EXAMPLES= true
.include "${MASTERDIR}/Makefile"

View File

@ -5,7 +5,7 @@
# $FreeBSD$
#
PORTREVISION= 0
PORTREVISION= 1
CATEGORIES= graphics lang
PKGNAMESUFFIX= -opengl
@ -15,14 +15,12 @@ COMMENT= Free Pascal interface to the OpenGL library
BUILD_DEPENDS= ppc386:${PORTSDIR}/lang/fpc \
fpcmake:${PORTSDIR}/lang/fpc-utils \
${UNITSDIR}/x11/Package.fpc:${PORTSDIR}/x11/fpc-x11
LIB_DEPENDS= glut.4:${PORTSDIR}/graphics/libglut
USE_GL= yes
UNITSDIR= ${LOCALBASE}/lib/fpc/${PORTVERSION}/units/${BUILDNAME}
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/packages/extra/${PKGNAMESUFFIX:S/-//}
EXTRACTUNITDIR+= ${WRKUNITDIR}
HAVE_EXAMPLES= true
OPTIONS= OPENGL "Install opengl libraries" on
.include "${MASTERDIR}/Makefile"

View File

@ -17,6 +17,5 @@ BUILD_DEPENDS= ppc386:${PORTSDIR}/lang/fpc
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/packages/base/${PKGNAMESUFFIX:S/-//}
EXTRACTUNITDIR+= ${WRKUNITDIR}
HAVE_EXAMPLES= true
.include "${MASTERDIR}/Makefile"

View File

@ -5,7 +5,7 @@
# $FreeBSD$
#
PORTREVISION= 0
PORTREVISION= 1
CATEGORIES= graphics lang
PKGNAMESUFFIX= -svgalib
@ -14,11 +14,11 @@ COMMENT= Free Pascal interface to the SVGA graphics library
BUILD_DEPENDS= ppc386:${PORTSDIR}/lang/fpc \
fpcmake:${PORTSDIR}/lang/fpc-utils
LIB_DEPENDS= vga.1:${PORTSDIR}/graphics/svgalib
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/packages/extra/${PKGNAMESUFFIX:S/-//}
EXTRACTUNITDIR+= ${WRKUNITDIR}
HAVE_EXAMPLES= true
OPTIONS= SVGA "Install svgalib low level console graphics library" on
.include "${MASTERDIR}/Makefile"

View File

@ -5,7 +5,7 @@
# $FreeBSD$
#
PORTREVISION= 0
PORTREVISION= 1
CATEGORIES= lang
PKGNAMESUFFIX= -tcl
@ -30,12 +30,12 @@ BUILD_DEPENDS= ppc386:${PORTSDIR}/lang/fpc \
${UNITSDIR}/postgres/Package.fpc:${PORTSDIR}/databases/fpc-postgres \
${UNITSDIR}/regexpr/Package.fpc:${PORTSDIR}/devel/fpc-regexpr \
${UNITSDIR}/sqlite/Package.fpc:${PORTSDIR}/databases/fpc-sqlite
RUN_DEPENDS= wish8.4:${PORTSDIR}/x11-toolkits/tk84
UNITSDIR= ${LOCALBASE}/lib/fpc/${PORTVERSION}/units/${BUILDNAME}
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/packages/extra/${PKGNAMESUFFIX:S/-//}
EXTRACTUNITDIR+= ${WRKUNITDIR}
HAVE_EXAMPLES= true
OPTIONS= TCL "Install tool commnad language" on
.include "${MASTERDIR}/Makefile"

View File

@ -34,6 +34,5 @@ UNITSDIR= ${LOCALBASE}/lib/fpc/${PORTVERSION}/units/${BUILDNAME}
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/${PKGNAMESUFFIX:S/-//}
EXTRACTUNITDIR+= ${WRKUNITDIR} ${FPCSRCDIR}/fcl/inc
OPT=-CX -Fu../fcl/*
.include "${MASTERDIR}/Makefile"

View File

@ -7,7 +7,7 @@
PORTNAME= fpc
PORTVERSION= 2.0.4
PORTREVISION?= 0
PORTREVISION?= 1
CATEGORIES?= lang
MASTER_SITES= ftp://ftp.freepascal.org/pub/fpc/dist/source-${PORTVERSION}/:source \
ftp://planetmirror.com/pub/fpc/dist/source-${PORTVERSION}/:source \

View File

@ -8,6 +8,8 @@ UNITNAME= ${UNITPREFIX}${PKGNAMESUFFIX:S/-//}${BUILDNAME:S/^/./}${UNITEXTRACT_S
UNITDIR= lib/fpc/${PORTVERSION}/units/${BUILDNAME}
EXTRACT_AFTER_ARGS= | ${TAR} -xf - ${EXTRACTUNITDIR}
OPT=-CX
.if !exists(${LOCALBASE}/bin/fpcmake)
EXTRACTUNITDIR+= fpc-bin
@ -15,11 +17,231 @@ DISTFILES+= ${DISTNAME:S/$/.bin/}${EXTRACT_SUFX}:bin
MAKE_ENV+= FPCMAKE=${WRKDIR}/${PORTNAME:S/$/-bin/}/bin/fpcmake
.endif
.if ${PKGNAMESUFFIX} == "-gdbint"
HAVE_EXAMPLES= true
.endif
.if ${PKGNAMESUFFIX} == "-ibase"
. if defined(WITH_IBASE)
#LIB_DEPENDS= fbembed.1:${PORTSDIR}/databases/firebird-client
. endif
HAVE_EXAMPLES= true
.endif
.if ${PKGNAMESUFFIX} == "-mysql"
. if defined(WITH_MYSQL)
USE_MYSQL= yes
. endif
HAVE_EXAMPLES= true
.endif
.if ${PKGNAMESUFFIX} == "-odbc"
. if defined(WITH_ODBC)
LIB_DEPENDS= odbc.1:${PORTSDIR}/databases/unixODBC
. endif
HAVE_EXAMPLES= true
.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
HAVE_EXAMPLES= true
.endif
.if ${PKGNAMESUFFIX} == "-postgres"
. if defined(WITH_PGSQL)
USE_PGSQL= yes
. endif
HAVE_EXAMPLES= true
.endif
.if ${PKGNAMESUFFIX} == "-pasjpeg"
HAVE_EXAMPLES= true
.endif
.if ${PKGNAMESUFFIX} == "-paszlib"
HAVE_EXAMPLES= true
.endif
.if ${PKGNAMESUFFIX} == "-regexpr"
HAVE_EXAMPLES= true
.endif
.if ${PKGNAMESUFFIX} == "-sqlite"
. if defined(WITH_SQLITE)
USE_SQLITE= yes
. endif
.endif
.if ${PKGNAMESUFFIX} == "-bfd"
. if defined(WITH_LIBBFD)
RUN_DEPENDS= ${LOCALBASE}/lib/libbfd.a:${PORTSDIR}/devel/libbfd
. endif
.endif
.if ${PKGNAMESUFFIX} == "-fftw"
. if defined(WITH_FFTW)
LIB_DEPENDS= fftw3.4:${PORTSDIR}/math/fftw3
. endif
.endif
.if ${PKGNAMESUFFIX} == "-forms"
. if defined(WITH_XFORMS)
LIB_DEPENDS= forms.1:${PORTSDIR}/x11-toolkits/xforms
. endif
HAVE_EXAMPLES= true
.endif
.if ${PKGNAMESUFFIX} == "-fcl"
OPT+=-Fi../ -Fu${PREFIX}/lib/${PORTNAME}/${PORTVERSION}/units/${BUILDNAME}/*
HAVE_EXAMPLES= true
.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} == "-gconf"
. if defined(WITH_GCONF)
.include <${PORTSDIR}/Mk/bsd.gnome.mk>
USE_GNOME= gconf
. endif
HAVE_EXAMPLES= true
.endif
.if ${PKGNAMESUFFIX} == "-gdbm"
. if defined(WITH_GDBM)
LIB_DEPENDS= gdbm.3:${PORTSDIR}/databases/gdbm
. endif
HAVE_EXAMPLES= true
.endif
.if ${PKGNAMESUFFIX} == "-ggi"
. if defined(WITH_LIBGGI)
LIB_DEPENDS= ggi:${PORTSDIR}/graphics/libggi
. endif
HAVE_EXAMPLES= true
.endif
.if ${PKGNAMESUFFIX} == "-gtk"
. if defined(WITH_GTK1)
.include <${PORTSDIR}/Mk/bsd.gnome.mk>
USE_GNOME= gtk12
. endif
HAVE_EXAMPLES= true
OPT+=-Fu${WRKDIR}/${WRKUNITDIR}/*
.endif
.if ${PKGNAMESUFFIX} == "-gtk2"
. if defined(WITH_GTK2)
.include <${PORTSDIR}/Mk/bsd.gnome.mk>
USE_GNOME= gtk20
. endif
HAVE_EXAMPLES= true
.endif
.if ${PKGNAMESUFFIX} == "-hash"
HAVE_EXAMPLES= true
.endif
.if ${PKGNAMESUFFIX} == "-imlib"
. if defined(WITH_IMLIB)
.include <${PORTSDIR}/Mk/bsd.gnome.mk>
USE_GNOME= imlib
. endif
.endif
.if ${PKGNAMESUFFIX} == "-libgd"
. if defined(WITH_LIBGD)
LIB_DEPENDS= gd.4:${PORTSDIR}/graphics/gd
. endif
HAVE_EXAMPLES= true
.endif
.if ${PKGNAMESUFFIX} == "-libpng"
. if defined(WITH_LIBPNG)
LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png
. endif
.endif
.if ${PKGNAMESUFFIX} == "-ncurses"
HAVE_EXAMPLES= true
.endif
.if ${PKGNAMESUFFIX} == "-netdb"
HAVE_EXAMPLES= true
.endif
.if ${PKGNAMESUFFIX} == "-opengl"
. if defined(WITH_OPENGL)
USE_GL= yes
LIB_DEPENDS= glut.4:${PORTSDIR}/graphics/libglut
. endif
HAVE_EXAMPLES= true
.endif
.if ${PKGNAMESUFFIX} == "-svgalib"
. if defined(WITH_SVGA)
LIB_DEPENDS= vga.1:${PORTSDIR}/graphics/svgalib
. endif
HAVE_EXAMPLES= true
.endif
.if ${PKGNAMESUFFIX} == "-syslog"
HAVE_EXAMPLES= true
.endif
.if ${PKGNAMESUFFIX} == "-tcl"
. if defined(WITH_TCL)
RUN_DEPENDS= wish8.4:${PORTSDIR}/x11-toolkits/tk84
. endif
HAVE_EXAMPLES= true
.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} == "-utmp"
HAVE_EXAMPLES= true
.endif
.if ${PKGNAMESUFFIX} == "-x11"
. if defined(WITH_X11)
USE_XLIB= yes
. endif
.endif
.if ${PKGNAMESUFFIX} == "-zvt"
. if defined(WITH_ZVT)
.include <${PORTSDIR}/Mk/bsd.gnome.mk>
USE_GNOME= libzvt
. endif
HAVE_EXAMPLES= true
.endif
post-extract:
@cd ${WRKDIR}/${WRKUNITDIR} && \
${FIND} ${WRKSRC} -type d -name .svn | ${XARGS} ${RM} -rf
do-build:
@${ECHO_CMD} ${MAKE_ENV}
@${ECHO_CMD} ""
@cd ${WRKDIR}/${WRKUNITDIR} && ${GMAKE} all ${MAKE_ENV}
do-install:

View File

@ -5,7 +5,7 @@
# $FreeBSD$
#
PORTREVISION= 0
PORTREVISION= 1
CATEGORIES= math lang
PKGNAMESUFFIX= -fftw
@ -13,10 +13,11 @@ MAINTAINER= acm@FreeBSD.org
COMMENT= Free Pascal interface to the FFTW3 library
BUILD_DEPENDS= ppc386:${PORTSDIR}/lang/fpc
LIB_DEPENDS= fftw3.4:${PORTSDIR}/math/fftw3
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/packages/extra/${PKGNAMESUFFIX:S/-//}
EXTRACTUNITDIR+= ${WRKUNITDIR}
OPTIONS= FFTW3 "Install FFTW3 library" on
.include "${MASTERDIR}/Makefile"

View File

@ -17,6 +17,5 @@ BUILD_DEPENDS= ppc386:${PORTSDIR}/lang/fpc
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/packages/base/${PKGNAMESUFFIX:S/-//}
EXTRACTUNITDIR+= ${WRKUNITDIR}
HAVE_EXAMPLES= true
.include "${MASTERDIR}/Makefile"

View File

@ -17,6 +17,5 @@ BUILD_DEPENDS= ppc386:${PORTSDIR}/lang/fpc
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/packages/base/${PKGNAMESUFFIX:S/-//}
EXTRACTUNITDIR+= ${WRKUNITDIR}
HAVE_EXAMPLES= true
.include "${MASTERDIR}/Makefile"

View File

@ -18,6 +18,5 @@ BUILD_DEPENDS= ppc386:${PORTSDIR}/lang/fpc \
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/packages/extra/${PKGNAMESUFFIX:S/-//}
EXTRACTUNITDIR+= ${WRKUNITDIR}
HAVE_EXAMPLES= true
.include "${MASTERDIR}/Makefile"

View File

@ -18,6 +18,5 @@ BUILD_DEPENDS= ppc386:${PORTSDIR}/lang/fpc \
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/packages/extra/${PKGNAMESUFFIX:S/-//}
EXTRACTUNITDIR+= ${WRKUNITDIR}
HAVE_EXAMPLES= true
.include "${MASTERDIR}/Makefile"

View File

@ -5,7 +5,7 @@
# $FreeBSD$
#
PORTREVISION= 0
PORTREVISION= 1
CATEGORIES= x11-toolkits lang
PKGNAMESUFFIX= -forms
@ -15,12 +15,12 @@ COMMENT= X-Forms interface for Free Pascal
BUILD_DEPENDS= ppc386:${PORTSDIR}/lang/fpc \
fpcmake:${PORTSDIR}/lang/fpc-utils \
${UNITSDIR}/x11/Package.fpc:${PORTSDIR}/x11/fpc-x11
LIB_DEPENDS= forms.1:${PORTSDIR}/x11-toolkits/xforms
UNITSDIR= ${LOCALBASE}/lib/fpc/${PORTVERSION}/units/${BUILDNAME}
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/packages/extra/${PKGNAMESUFFIX:S/-//}
EXTRACTUNITDIR+= ${WRKUNITDIR}
HAVE_EXAMPLES= true
OPTIONS= XFORMS "Install xforms graphical user interface toolkit" on
.include "${MASTERDIR}/Makefile"

View File

@ -5,7 +5,7 @@
# $FreeBSD$
#
PORTREVISION= 0
PORTREVISION= 1
CATEGORIES= x11-toolkits lang
PKGNAMESUFFIX= -gtk
@ -18,13 +18,11 @@ BUILD_DEPENDS= ppc386:${PORTSDIR}/lang/fpc \
${UNITSDIR}/x11/Package.fpc:${PORTSDIR}/x11/fpc-x11 \
${UNITSDIR}/opengl/Package.fpc:${PORTSDIR}/graphics/fpc-opengl
USE_GNOME= gtk12
UNITSDIR= ${LOCALBASE}/lib/fpc/${PORTVERSION}/units/${BUILDNAME}
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/packages/extra/${PKGNAMESUFFIX:S/-//}
EXTRACTUNITDIR+= ${WRKUNITDIR}
HAVE_EXAMPLES= true
OPT=-CX -Fu${WRKDIR}/${WRKUNITDIR}/*
OPTIONS= GTK1 "Gimp Toolkit for X11 GUI (version 1.x)" on
.include "${MASTERDIR}/Makefile"

View File

@ -5,7 +5,7 @@
# $FreeBSD$
#
PORTREVISION= 0
PORTREVISION= 1
CATEGORIES= x11-toolkits lang
PKGNAMESUFFIX= -gtk
@ -18,13 +18,11 @@ BUILD_DEPENDS= ppc386:${PORTSDIR}/lang/fpc \
${UNITSDIR}/x11/Package.fpc:${PORTSDIR}/x11/fpc-x11 \
${UNITSDIR}/opengl/Package.fpc:${PORTSDIR}/graphics/fpc-opengl
USE_GNOME= gtk12
UNITSDIR= ${LOCALBASE}/lib/fpc/${PORTVERSION}/units/${BUILDNAME}
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/packages/extra/${PKGNAMESUFFIX:S/-//}
EXTRACTUNITDIR+= ${WRKUNITDIR}
HAVE_EXAMPLES= true
OPT=-CX -Fu${WRKDIR}/${WRKUNITDIR}/*
OPTIONS= GTK1 "Gimp Toolkit for X11 GUI (version 1.x)" on
.include "${MASTERDIR}/Makefile"

View File

@ -5,7 +5,7 @@
# $FreeBSD$
#
PORTREVISION= 0
PORTREVISION= 1
CATEGORIES= x11-toolkits lang
PKGNAMESUFFIX= -gtk2
@ -15,11 +15,10 @@ COMMENT= Free Pascal interface to the GTK2 libraries
BUILD_DEPENDS= ppc386:${PORTSDIR}/lang/fpc \
fpcmake:${PORTSDIR}/lang/fpc-utils
USE_GNOME= gtk20
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/packages/extra/${PKGNAMESUFFIX:S/-//}
EXTRACTUNITDIR+= ${WRKUNITDIR}
HAVE_EXAMPLES= true
OPTIONS= GTK2 "Gimp Toolkit for X11 GUI (version 2.x)" on
.include "${MASTERDIR}/Makefile"

View File

@ -5,7 +5,7 @@
# $FreeBSD$
#
PORTREVISION= 0
PORTREVISION= 1
CATEGORIES= x11-toolkits lang
PKGNAMESUFFIX= -forms
@ -15,12 +15,12 @@ COMMENT= X-Forms interface for Free Pascal
BUILD_DEPENDS= ppc386:${PORTSDIR}/lang/fpc \
fpcmake:${PORTSDIR}/lang/fpc-utils \
${UNITSDIR}/x11/Package.fpc:${PORTSDIR}/x11/fpc-x11
LIB_DEPENDS= forms.1:${PORTSDIR}/x11-toolkits/xforms
UNITSDIR= ${LOCALBASE}/lib/fpc/${PORTVERSION}/units/${BUILDNAME}
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/packages/extra/${PKGNAMESUFFIX:S/-//}
EXTRACTUNITDIR+= ${WRKUNITDIR}
HAVE_EXAMPLES= true
OPTIONS= XFORMS "Install xforms graphical user interface toolkit" on
.include "${MASTERDIR}/Makefile"

View File

@ -5,7 +5,7 @@
# $FreeBSD$
#
PORTREVISION= 0
PORTREVISION= 1
CATEGORIES= x11-toolkits lang
PKGNAMESUFFIX= -zvt
@ -19,12 +19,11 @@ BUILD_DEPENDS= ppc386:${PORTSDIR}/lang/fpc \
${UNITSDIR}/x11/Package.fpc:${PORTSDIR}/x11/fpc-x11 \
${UNITSDIR}/opengl/Package.fpc:${PORTSDIR}/graphics/fpc-opengl
USE_GNOME= libzvt
UNITSDIR= ${LOCALBASE}/lib/fpc/${PORTVERSION}/units/${BUILDNAME}
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/packages/extra/gnome1/${PKGNAMESUFFIX:S/-//}
EXTRACTUNITDIR+= ${WRKUNITDIR}
HAVE_EXAMPLES= true
OPTIONS= ZVT "Install library components for Zed's Virtual Terminal" on
.include "${MASTERDIR}/Makefile"

View File

@ -5,7 +5,7 @@
# $FreeBSD$
#
PORTREVISION= 0
PORTREVISION= 1
CATEGORIES= x11 lang
PKGNAMESUFFIX= -x11
@ -15,10 +15,10 @@ COMMENT= Free Pascal interface to X windows server
BUILD_DEPENDS= ppc386:${PORTSDIR}/lang/fpc \
fpcmake:${PORTSDIR}/lang/fpc-utils
USE_XLIB= yes
MASTERDIR= ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${FPCSRCDIR}/packages/extra/${PKGNAMESUFFIX:S/-//}
EXTRACTUNITDIR+= ${WRKUNITDIR}
OPTIONS= X11 "Install X libraries" on
.include "${MASTERDIR}/Makefile"