diff options
author | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2003-02-07 17:33:53 +0000 |
---|---|---|
committer | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2003-02-07 17:33:53 +0000 |
commit | d02465ee5bd1e47c51b942f66a4c99d7dc742601 (patch) | |
tree | 8d47c69f62bdc6ecb045240a1f96a4c538108460 /graphics | |
parent | Upgrade to 1.5.17 due to 1.5.16 distfile being rm'ed from master site. (diff) |
add ocaml-images 2.10
Objective Caml image processing library
Notes
Notes:
svn path=/head/; revision=75033
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/Makefile | 1 | ||||
-rw-r--r-- | graphics/ocaml-images/Makefile | 38 | ||||
-rw-r--r-- | graphics/ocaml-images/distinfo | 1 | ||||
-rw-r--r-- | graphics/ocaml-images/files/patch-Makefile.config.in | 19 | ||||
-rw-r--r-- | graphics/ocaml-images/files/patch-Makefile.shared | 11 | ||||
-rw-r--r-- | graphics/ocaml-images/files/patch-tiffread.c | 18 | ||||
-rw-r--r-- | graphics/ocaml-images/files/patch-tiffwrite.c | 18 | ||||
-rw-r--r-- | graphics/ocaml-images/pkg-comment | 1 | ||||
-rw-r--r-- | graphics/ocaml-images/pkg-descr | 5 | ||||
-rw-r--r-- | graphics/ocaml-images/pkg-plist | 109 |
10 files changed, 221 insertions, 0 deletions
diff --git a/graphics/Makefile b/graphics/Makefile index e70814060054..6be5e63351c3 100644 --- a/graphics/Makefile +++ b/graphics/Makefile @@ -237,6 +237,7 @@ SUBDIR += netpbm SUBDIR += netshow SUBDIR += nurbs++ + SUBDIR += ocaml-images SUBDIR += ocaml-lablgl SUBDIR += opendis SUBDIR += opendx diff --git a/graphics/ocaml-images/Makefile b/graphics/ocaml-images/Makefile new file mode 100644 index 000000000000..3b87531729ec --- /dev/null +++ b/graphics/ocaml-images/Makefile @@ -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> diff --git a/graphics/ocaml-images/distinfo b/graphics/ocaml-images/distinfo new file mode 100644 index 000000000000..69785a5b7734 --- /dev/null +++ b/graphics/ocaml-images/distinfo @@ -0,0 +1 @@ +MD5 (camlimages-2.10.tgz) = 3cb0a28d6b4c55d59164d22407386ee1 diff --git a/graphics/ocaml-images/files/patch-Makefile.config.in b/graphics/ocaml-images/files/patch-Makefile.config.in new file mode 100644 index 000000000000..a284a7a4da77 --- /dev/null +++ b/graphics/ocaml-images/files/patch-Makefile.config.in @@ -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@ diff --git a/graphics/ocaml-images/files/patch-Makefile.shared b/graphics/ocaml-images/files/patch-Makefile.shared new file mode 100644 index 000000000000..3587429ded47 --- /dev/null +++ b/graphics/ocaml-images/files/patch-Makefile.shared @@ -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 + diff --git a/graphics/ocaml-images/files/patch-tiffread.c b/graphics/ocaml-images/files/patch-tiffread.c new file mode 100644 index 000000000000..7e6bd85ff622 --- /dev/null +++ b/graphics/ocaml-images/files/patch-tiffread.c @@ -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> + diff --git a/graphics/ocaml-images/files/patch-tiffwrite.c b/graphics/ocaml-images/files/patch-tiffwrite.c new file mode 100644 index 000000000000..c48bf1c16a5d --- /dev/null +++ b/graphics/ocaml-images/files/patch-tiffwrite.c @@ -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> + diff --git a/graphics/ocaml-images/pkg-comment b/graphics/ocaml-images/pkg-comment new file mode 100644 index 000000000000..d85c266b9fdc --- /dev/null +++ b/graphics/ocaml-images/pkg-comment @@ -0,0 +1 @@ +Objective Caml image processing library diff --git a/graphics/ocaml-images/pkg-descr b/graphics/ocaml-images/pkg-descr new file mode 100644 index 000000000000..7184025d6bb4 --- /dev/null +++ b/graphics/ocaml-images/pkg-descr @@ -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). diff --git a/graphics/ocaml-images/pkg-plist b/graphics/ocaml-images/pkg-plist new file mode 100644 index 000000000000..29d7967eed20 --- /dev/null +++ b/graphics/ocaml-images/pkg-plist @@ -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 |