aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authoracm <acm@FreeBSD.org>2006-09-19 02:41:13 +0800
committeracm <acm@FreeBSD.org>2006-09-19 02:41:13 +0800
commit519d719fafd352c93c5b18366b7fc7c7dde870b2 (patch)
treee2b6aca92d4fd93711035bc0958052192b784c91 /graphics
parent5bc9a191e5554b41b7bb0753e043941f5cfb2f3b (diff)
downloadfreebsd-ports-gnome-519d719fafd352c93c5b18366b7fc7c7dde870b2.tar.gz
freebsd-ports-gnome-519d719fafd352c93c5b18366b7fc7c7dde870b2.tar.zst
freebsd-ports-gnome-519d719fafd352c93c5b18366b7fc7c7dde870b2.zip
- 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)
Diffstat (limited to 'graphics')
-rw-r--r--graphics/fpc-fpgtk/Makefile6
-rw-r--r--graphics/fpc-ggi/Makefile6
-rw-r--r--graphics/fpc-imlib/Makefile6
-rw-r--r--graphics/fpc-libgd/Makefile6
-rw-r--r--graphics/fpc-libpng/Makefile5
-rw-r--r--graphics/fpc-ncurses/Makefile1
-rw-r--r--graphics/fpc-opengl/Makefile8
-rw-r--r--graphics/fpc-pasjpeg/Makefile1
-rw-r--r--graphics/fpc-svgalib/Makefile6
9 files changed, 21 insertions, 24 deletions
diff --git a/graphics/fpc-fpgtk/Makefile b/graphics/fpc-fpgtk/Makefile
index 375f2d193615..4a78fff84cd4 100644
--- a/graphics/fpc-fpgtk/Makefile
+++ b/graphics/fpc-fpgtk/Makefile
@@ -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"
diff --git a/graphics/fpc-ggi/Makefile b/graphics/fpc-ggi/Makefile
index bc528fd0c6d6..5aa0ac65e29a 100644
--- a/graphics/fpc-ggi/Makefile
+++ b/graphics/fpc-ggi/Makefile
@@ -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"
diff --git a/graphics/fpc-imlib/Makefile b/graphics/fpc-imlib/Makefile
index 1959af0991b8..8d9de11381e0 100644
--- a/graphics/fpc-imlib/Makefile
+++ b/graphics/fpc-imlib/Makefile
@@ -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"
diff --git a/graphics/fpc-libgd/Makefile b/graphics/fpc-libgd/Makefile
index f98116dd4dd2..d3ed1439e078 100644
--- a/graphics/fpc-libgd/Makefile
+++ b/graphics/fpc-libgd/Makefile
@@ -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"
diff --git a/graphics/fpc-libpng/Makefile b/graphics/fpc-libpng/Makefile
index 5fb6bc484aa1..d4a586307a22 100644
--- a/graphics/fpc-libpng/Makefile
+++ b/graphics/fpc-libpng/Makefile
@@ -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"
diff --git a/graphics/fpc-ncurses/Makefile b/graphics/fpc-ncurses/Makefile
index a9a3412f6beb..601993edd6cb 100644
--- a/graphics/fpc-ncurses/Makefile
+++ b/graphics/fpc-ncurses/Makefile
@@ -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"
diff --git a/graphics/fpc-opengl/Makefile b/graphics/fpc-opengl/Makefile
index 821c75f14ac9..20054fff5c8f 100644
--- a/graphics/fpc-opengl/Makefile
+++ b/graphics/fpc-opengl/Makefile
@@ -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"
diff --git a/graphics/fpc-pasjpeg/Makefile b/graphics/fpc-pasjpeg/Makefile
index 76033512fca5..ff0963414d0c 100644
--- a/graphics/fpc-pasjpeg/Makefile
+++ b/graphics/fpc-pasjpeg/Makefile
@@ -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"
diff --git a/graphics/fpc-svgalib/Makefile b/graphics/fpc-svgalib/Makefile
index f5fc1f47a577..513697401931 100644
--- a/graphics/fpc-svgalib/Makefile
+++ b/graphics/fpc-svgalib/Makefile
@@ -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"