Skip to content

Commit

Permalink
- Add a new port: graphics/R-cran-rtiff
Browse files Browse the repository at this point in the history
  This package will read and write TIFF format images and return them
  as a pixmap object. Because the resulting object can be very large
  for even modestly sized TIFF images, images can be reduced as they
  are read for improved performance. This package is a wrapper around
  libtiff (www.libtiff.org), on which it depends (i.e. the libtiff
  shared library must be on your PATH for the binary to work, and
  tiffio.h must be on your system to build the package from source).
  By using libtiff's highlevel TIFFReadRGBAImage function, this package
  inherently support a wide range of image formats and compression
  schemes. This package also provides an implementation of the Ridler
  Autothresholding algorithm for easy generation of binary masks.

  WWW:	http://cran.r-project.org/web/packages/rtiff/
  • Loading branch information
tota committed Feb 26, 2012
1 parent 5e0890a commit a7aaa02
Show file tree
Hide file tree
Showing 4 changed files with 42 additions and 0 deletions.
1 change: 1 addition & 0 deletions graphics/Makefile
Expand Up @@ -23,6 +23,7 @@
SUBDIR += R-cran-ggplot2
SUBDIR += R-cran-munsell
SUBDIR += R-cran-rgdal
SUBDIR += R-cran-rtiff
SUBDIR += R-cran-shape
SUBDIR += SciPlot
SUBDIR += a2png
Expand Down
26 changes: 26 additions & 0 deletions graphics/R-cran-rtiff/Makefile
@@ -0,0 +1,26 @@
# New ports collection makefile for: R-cran-rtiff
# Date created: 2012-02-21
# Whom: TAKATSU Tomonari <tota@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME= rtiff
PORTVERSION= 1.4.1
CATEGORIES= graphics
DISTNAME= ${PORTNAME}_${PORTVERSION}

MAINTAINER= tota@FreeBSD.org
COMMENT= A tiff reader for R

LIB_DEPENDS= tiff:${PORTSDIR}/graphics/tiff
RUN_DEPENDS= R-cran-pixmap>0:${PORTSDIR}/graphics/R-cran-pixmap

LICENSE_FILE= ${WRKSRC}/LICENSE

LDFLAGS+= -L${LOCALBASE}/lib

USE_R_MOD= yes
R_MOD_AUTOPLIST= yes

.include <bsd.port.mk>
2 changes: 2 additions & 0 deletions graphics/R-cran-rtiff/distinfo
@@ -0,0 +1,2 @@
SHA256 (rtiff_1.4.1.tar.gz) = a8f11af2b617123294dddd61815327e31c67124c88b8f5145304d49cafa29dae
SIZE (rtiff_1.4.1.tar.gz) = 102323
13 changes: 13 additions & 0 deletions graphics/R-cran-rtiff/pkg-descr
@@ -0,0 +1,13 @@
This package will read and write TIFF format images and return them
as a pixmap object. Because the resulting object can be very large
for even modestly sized TIFF images, images can be reduced as they
are read for improved performance. This package is a wrapper around
libtiff (www.libtiff.org), on which it depends (i.e. the libtiff
shared library must be on your PATH for the binary to work, and
tiffio.h must be on your system to build the package from source).
By using libtiff's highlevel TIFFReadRGBAImage function, this package
inherently support a wide range of image formats and compression
schemes. This package also provides an implementation of the Ridler
Autothresholding algorithm for easy generation of binary masks.

WWW: http://cran.r-project.org/web/packages/rtiff/

0 comments on commit a7aaa02

Please sign in to comment.