mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 09:49:18 -04:00
add ocaml-images 2.10
Objective Caml image processing library
This commit is contained in:
parent
34c42c9b6c
commit
d02465ee5b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=75033
10 changed files with 221 additions and 0 deletions
|
@ -237,6 +237,7 @@
|
||||||
SUBDIR += netpbm
|
SUBDIR += netpbm
|
||||||
SUBDIR += netshow
|
SUBDIR += netshow
|
||||||
SUBDIR += nurbs++
|
SUBDIR += nurbs++
|
||||||
|
SUBDIR += ocaml-images
|
||||||
SUBDIR += ocaml-lablgl
|
SUBDIR += ocaml-lablgl
|
||||||
SUBDIR += opendis
|
SUBDIR += opendis
|
||||||
SUBDIR += opendx
|
SUBDIR += opendx
|
||||||
|
|
38
graphics/ocaml-images/Makefile
Normal file
38
graphics/ocaml-images/Makefile
Normal file
|
@ -0,0 +1,38 @@
|
||||||
|
# ex:ts=8
|
||||||
|
# Ports collection makefile for: ocaml-images
|
||||||
|
# Date created: Feb 7, 2003
|
||||||
|
# Whom: ijliao
|
||||||
|
#
|
||||||
|
# $FreeBSD$
|
||||||
|
#
|
||||||
|
|
||||||
|
PORTNAME= images
|
||||||
|
PORTVERSION= 2.10
|
||||||
|
CATEGORIES= graphics
|
||||||
|
MASTER_SITES= ftp://ftp.inria.fr/lang/caml-light/bazar-ocaml/
|
||||||
|
PKGNAMEPREFIX= ocaml-
|
||||||
|
DISTNAME= camlimages-${PORTVERSION}
|
||||||
|
EXTRACT_SUFX= .tgz
|
||||||
|
|
||||||
|
MAINTAINER= ports@FreeBSD.org
|
||||||
|
|
||||||
|
BUILD_DEPENDS= ocamlc:${PORTSDIR}/lang/ocaml \
|
||||||
|
lablgtk:${PORTSDIR}/x11-toolkits/ocaml-lablgtk \
|
||||||
|
gs:${PORTSDIR}/print/ghostscript-afpl
|
||||||
|
RUN_DEPENDS= ocamlc:${PORTSDIR}/lang/ocaml \
|
||||||
|
lablgtk:${PORTSDIR}/x11-toolkits/ocaml-lablgtk \
|
||||||
|
gs:${PORTSDIR}/print/ghostscript-afpl
|
||||||
|
LIB_DEPENDS= ungif:${PORTSDIR}/graphics/libungif \
|
||||||
|
png:${PORTSDIR}/graphics/png \
|
||||||
|
jpeg:${PORTSDIR}/graphics/jpeg \
|
||||||
|
tiff:${PORTSDIR}/graphics/tiff
|
||||||
|
|
||||||
|
USE_XPM= yes
|
||||||
|
USE_FREETYPE= yes
|
||||||
|
GNU_CONFIGURE= yes
|
||||||
|
CONFIGURE_ENV= \
|
||||||
|
CPPFLAGS="${CXXFLAGS} -I${LOCALBASE}/include -I${X11BASE}/include" \
|
||||||
|
LIBS="-L${LOCALBASE}/lib -L${X11BASE}/lib"
|
||||||
|
USE_GMAKE= yes
|
||||||
|
|
||||||
|
.include <bsd.port.mk>
|
1
graphics/ocaml-images/distinfo
Normal file
1
graphics/ocaml-images/distinfo
Normal file
|
@ -0,0 +1 @@
|
||||||
|
MD5 (camlimages-2.10.tgz) = 3cb0a28d6b4c55d59164d22407386ee1
|
19
graphics/ocaml-images/files/patch-Makefile.config.in
Normal file
19
graphics/ocaml-images/files/patch-Makefile.config.in
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
--- Makefile.config.in.orig Tue Apr 9 18:59:59 2002
|
||||||
|
+++ Makefile.config.in Sat Feb 8 00:53:29 2003
|
||||||
|
@@ -24,12 +24,12 @@
|
||||||
|
SUPPORT_PS=@SUPPORT_PS@
|
||||||
|
SUPPORT_LABLGTK=@SUPPORT_LABLGTK@
|
||||||
|
|
||||||
|
-LIBGIF=@LIBGIF@
|
||||||
|
+LIBGIF=-L${LOCALBASE}/lib @LIBGIF@
|
||||||
|
LIBBMP=@LIBBMP@
|
||||||
|
-LIBJPEG=@LIBJPEG@
|
||||||
|
-LIBTIFF=@LIBTIFF@
|
||||||
|
+LIBJPEG=-L${LOCALBASE}/lib @LIBJPEG@
|
||||||
|
+LIBTIFF=-L${LOCALBASE}/lib @LIBTIFF@
|
||||||
|
LIBFREETYPE=@LIBFREETYPE@
|
||||||
|
-LIBPNG=@LIBPNG@
|
||||||
|
+LIBPNG=-L${LOCALBASE}/lib @LIBPNG@
|
||||||
|
LIBXVTHUMB=@LIBXVTHUMB@
|
||||||
|
LIBXPM=@LIBXPM@
|
||||||
|
LIBPPM=@LIBPPM@
|
11
graphics/ocaml-images/files/patch-Makefile.shared
Normal file
11
graphics/ocaml-images/files/patch-Makefile.shared
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
--- Makefile.shared.orig Sat Feb 8 00:59:46 2003
|
||||||
|
+++ Makefile.shared Sat Feb 8 01:00:00 2003
|
||||||
|
@@ -62,7 +62,7 @@
|
||||||
|
$(CAMLYACC) $<
|
||||||
|
|
||||||
|
.c.o: ../config.h
|
||||||
|
- $(CAMLC) -ccopt "-I.. $(CFLAGS) -I/usr/local/include" -c $<
|
||||||
|
+ $(CAMLC) -ccopt "-I.. $(CFLAGS) -I/usr/X11R6/include -I/usr/local/include" -c $<
|
||||||
|
|
||||||
|
depend: .depend
|
||||||
|
|
18
graphics/ocaml-images/files/patch-tiffread.c
Normal file
18
graphics/ocaml-images/files/patch-tiffread.c
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
--- tiff/tiffread.c.orig Sat Feb 8 00:49:46 2003
|
||||||
|
+++ tiff/tiffread.c Sat Feb 8 00:50:10 2003
|
||||||
|
@@ -37,15 +37,7 @@
|
||||||
|
typedef char int8;
|
||||||
|
#endif
|
||||||
|
|
||||||
|
-#ifdef uint8
|
||||||
|
typedef unsigned char uint8;
|
||||||
|
-#endif
|
||||||
|
-#ifdef int16
|
||||||
|
-typedef short int16;
|
||||||
|
-#endif
|
||||||
|
-#ifdef uint16
|
||||||
|
-typedef unsigned short uint16; /* sizeof (uint16) must == 2 */
|
||||||
|
-#endif
|
||||||
|
|
||||||
|
#include <tiffio.h>
|
||||||
|
|
18
graphics/ocaml-images/files/patch-tiffwrite.c
Normal file
18
graphics/ocaml-images/files/patch-tiffwrite.c
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
--- tiff/tiffwrite.c.orig Sat Feb 8 00:50:32 2003
|
||||||
|
+++ tiff/tiffwrite.c Sat Feb 8 00:50:51 2003
|
||||||
|
@@ -34,15 +34,7 @@
|
||||||
|
#else
|
||||||
|
typedef char int8;
|
||||||
|
#endif
|
||||||
|
-#ifdef uint8
|
||||||
|
typedef unsigned char uint8;
|
||||||
|
-#endif
|
||||||
|
-#ifdef int16
|
||||||
|
-typedef short int16;
|
||||||
|
-#endif
|
||||||
|
-#ifdef uint16
|
||||||
|
-typedef unsigned short uint16; /* sizeof (uint16) must == 2 */
|
||||||
|
-#endif
|
||||||
|
|
||||||
|
#include <tiffio.h>
|
||||||
|
|
1
graphics/ocaml-images/pkg-comment
Normal file
1
graphics/ocaml-images/pkg-comment
Normal file
|
@ -0,0 +1 @@
|
||||||
|
Objective Caml image processing library
|
5
graphics/ocaml-images/pkg-descr
Normal file
5
graphics/ocaml-images/pkg-descr
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
This is an image processing library, which provides some basic functions of
|
||||||
|
image processing and loading/saving various image file formats. In addition
|
||||||
|
the library can handle huge images that cannot be (or can hardly be) stored
|
||||||
|
into the memory (the library automatically creates swap files and escapes
|
||||||
|
them to reduce the memory usage).
|
109
graphics/ocaml-images/pkg-plist
Normal file
109
graphics/ocaml-images/pkg-plist
Normal file
|
@ -0,0 +1,109 @@
|
||||||
|
lib/ocaml/camlimages/Makefile.config
|
||||||
|
lib/ocaml/camlimages/bitmap.cmi
|
||||||
|
lib/ocaml/camlimages/bitmap.mli
|
||||||
|
lib/ocaml/camlimages/blend.cmi
|
||||||
|
lib/ocaml/camlimages/blend.mli
|
||||||
|
lib/ocaml/camlimages/bmp.cmi
|
||||||
|
lib/ocaml/camlimages/bmp.mli
|
||||||
|
lib/ocaml/camlimages/camlimages.cmi
|
||||||
|
lib/ocaml/camlimages/ci_bmp.cma
|
||||||
|
lib/ocaml/camlimages/ci_core.cma
|
||||||
|
lib/ocaml/camlimages/ci_freetype.cma
|
||||||
|
lib/ocaml/camlimages/ci_gif.cma
|
||||||
|
lib/ocaml/camlimages/ci_graphics.cma
|
||||||
|
lib/ocaml/camlimages/ci_jpeg.cma
|
||||||
|
lib/ocaml/camlimages/ci_lablgtk.cma
|
||||||
|
lib/ocaml/camlimages/ci_png.cma
|
||||||
|
lib/ocaml/camlimages/ci_ppm.cma
|
||||||
|
lib/ocaml/camlimages/ci_ps.cma
|
||||||
|
lib/ocaml/camlimages/ci_tiff.cma
|
||||||
|
lib/ocaml/camlimages/ci_xpm.cma
|
||||||
|
lib/ocaml/camlimages/ci_xvthumb.cma
|
||||||
|
lib/ocaml/camlimages/cmyk32.cmi
|
||||||
|
lib/ocaml/camlimages/cmyk32.mli
|
||||||
|
lib/ocaml/camlimages/color.cmi
|
||||||
|
lib/ocaml/camlimages/color.mli
|
||||||
|
lib/ocaml/camlimages/colorhist.cmi
|
||||||
|
lib/ocaml/camlimages/dllci_freetype.so
|
||||||
|
lib/ocaml/camlimages/dllci_gif.so
|
||||||
|
lib/ocaml/camlimages/dllci_jpeg.so
|
||||||
|
lib/ocaml/camlimages/dllci_png.so
|
||||||
|
lib/ocaml/camlimages/dllci_tiff.so
|
||||||
|
lib/ocaml/camlimages/dllci_xpm.so
|
||||||
|
lib/ocaml/camlimages/freetype.cmi
|
||||||
|
lib/ocaml/camlimages/freetype.mli
|
||||||
|
lib/ocaml/camlimages/ftlow.cmi
|
||||||
|
lib/ocaml/camlimages/ftlow.mli
|
||||||
|
lib/ocaml/camlimages/fttext.cmi
|
||||||
|
lib/ocaml/camlimages/fttext.mli
|
||||||
|
lib/ocaml/camlimages/genimage.cmi
|
||||||
|
lib/ocaml/camlimages/genimage.mli
|
||||||
|
lib/ocaml/camlimages/geometry.cmi
|
||||||
|
lib/ocaml/camlimages/gif.cmi
|
||||||
|
lib/ocaml/camlimages/gif.mli
|
||||||
|
lib/ocaml/camlimages/graphic_image.cmi
|
||||||
|
lib/ocaml/camlimages/graphic_image.mli
|
||||||
|
lib/ocaml/camlimages/image.cmi
|
||||||
|
lib/ocaml/camlimages/image.mli
|
||||||
|
lib/ocaml/camlimages/index16.cmi
|
||||||
|
lib/ocaml/camlimages/index16.mli
|
||||||
|
lib/ocaml/camlimages/index8.cmi
|
||||||
|
lib/ocaml/camlimages/index8.mli
|
||||||
|
lib/ocaml/camlimages/info.cmi
|
||||||
|
lib/ocaml/camlimages/info.mli
|
||||||
|
lib/ocaml/camlimages/jis_table.cmi
|
||||||
|
lib/ocaml/camlimages/jis_unicode.cmi
|
||||||
|
lib/ocaml/camlimages/jis_unicode.mli
|
||||||
|
lib/ocaml/camlimages/jpeg.cmi
|
||||||
|
lib/ocaml/camlimages/jpeg.mli
|
||||||
|
lib/ocaml/camlimages/libci_freetype.a
|
||||||
|
lib/ocaml/camlimages/libci_gif.a
|
||||||
|
lib/ocaml/camlimages/libci_jpeg.a
|
||||||
|
lib/ocaml/camlimages/libci_png.a
|
||||||
|
lib/ocaml/camlimages/libci_tiff.a
|
||||||
|
lib/ocaml/camlimages/libci_xpm.a
|
||||||
|
lib/ocaml/camlimages/mstring.cmi
|
||||||
|
lib/ocaml/camlimages/mstring.mli
|
||||||
|
lib/ocaml/camlimages/oBmp.cmi
|
||||||
|
lib/ocaml/camlimages/oColor.cmi
|
||||||
|
lib/ocaml/camlimages/oColor.mli
|
||||||
|
lib/ocaml/camlimages/oFreetype.cmi
|
||||||
|
lib/ocaml/camlimages/oGif.cmi
|
||||||
|
lib/ocaml/camlimages/oGraphic.cmi
|
||||||
|
lib/ocaml/camlimages/oImage.cmi
|
||||||
|
lib/ocaml/camlimages/oImage.mli
|
||||||
|
lib/ocaml/camlimages/oJpeg.cmi
|
||||||
|
lib/ocaml/camlimages/oPng.cmi
|
||||||
|
lib/ocaml/camlimages/oPpm.cmi
|
||||||
|
lib/ocaml/camlimages/oPs.cmi
|
||||||
|
lib/ocaml/camlimages/oTiff.cmi
|
||||||
|
lib/ocaml/camlimages/oXimage.cmi
|
||||||
|
lib/ocaml/camlimages/oXimage.mli
|
||||||
|
lib/ocaml/camlimages/oXpm.cmi
|
||||||
|
lib/ocaml/camlimages/oXvthumb.cmi
|
||||||
|
lib/ocaml/camlimages/oXvthumb.mli
|
||||||
|
lib/ocaml/camlimages/png.cmi
|
||||||
|
lib/ocaml/camlimages/png.mli
|
||||||
|
lib/ocaml/camlimages/ppm.cmi
|
||||||
|
lib/ocaml/camlimages/ppm.mli
|
||||||
|
lib/ocaml/camlimages/ps.cmi
|
||||||
|
lib/ocaml/camlimages/ps.mli
|
||||||
|
lib/ocaml/camlimages/reduce.cmi
|
||||||
|
lib/ocaml/camlimages/reduce.mli
|
||||||
|
lib/ocaml/camlimages/region.cmi
|
||||||
|
lib/ocaml/camlimages/region.mli
|
||||||
|
lib/ocaml/camlimages/rgb24.cmi
|
||||||
|
lib/ocaml/camlimages/rgb24.mli
|
||||||
|
lib/ocaml/camlimages/rgba32.cmi
|
||||||
|
lib/ocaml/camlimages/rgba32.mli
|
||||||
|
lib/ocaml/camlimages/tiff.cmi
|
||||||
|
lib/ocaml/camlimages/tiff.mli
|
||||||
|
lib/ocaml/camlimages/tmpfile.cmi
|
||||||
|
lib/ocaml/camlimages/tmpfile.mli
|
||||||
|
lib/ocaml/camlimages/ximage.cmi
|
||||||
|
lib/ocaml/camlimages/ximage.mli
|
||||||
|
lib/ocaml/camlimages/xpm.cmi
|
||||||
|
lib/ocaml/camlimages/xpm.mli
|
||||||
|
lib/ocaml/camlimages/xvthumb.cmi
|
||||||
|
lib/ocaml/camlimages/xvthumb.mli
|
||||||
|
@dirrm lib/ocaml/camlimages
|
Loading…
Add table
Reference in a new issue