svn commit: r357346 - in head/graphics: . tiffgt tiffgt/files

Dirk Meyer dinoex at FreeBSD.org
Tue Jun 10 16:15:26 UTC 2014


Author: dinoex
Date: Tue Jun 10 16:15:24 2014
New Revision: 357346
URL: http://svnweb.freebsd.org/changeset/ports/357346
QAT: https://qat.redports.org/buildarchive/r357346/

Log:
  This software provides support for the Tag Image File Format (TIFF),
  a widely used format for storing image data.
  
  Included in this software distribution is a small collection of tools
  for doing simple manipulations of TIFF images on UNIX systems.
  
  LICENSE: Permission to use, copy, modify, distribute, and sell for any purpose
  
  WWW: http://www.remotesensing.org/libtiff/
  PR:		190816

Added:
  head/graphics/tiffgt/
  head/graphics/tiffgt/Makefile   (contents, props changed)
  head/graphics/tiffgt/distinfo   (contents, props changed)
  head/graphics/tiffgt/files/
  head/graphics/tiffgt/files/patch-Makefile.in   (contents, props changed)
  head/graphics/tiffgt/pkg-descr   (contents, props changed)
Modified:
  head/graphics/Makefile

Modified: head/graphics/Makefile
==============================================================================
--- head/graphics/Makefile	Tue Jun 10 16:13:40 2014	(r357345)
+++ head/graphics/Makefile	Tue Jun 10 16:15:24 2014	(r357346)
@@ -993,6 +993,7 @@
     SUBDIR += tgif
     SUBDIR += tif22pnm
     SUBDIR += tiff
+    SUBDIR += tiffgt
     SUBDIR += tifmerge
     SUBDIR += tilecache
     SUBDIR += tiled

Added: head/graphics/tiffgt/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/tiffgt/Makefile	Tue Jun 10 16:15:24 2014	(r357346)
@@ -0,0 +1,42 @@
+# $FreeBSD$
+
+PORTNAME=	tiffgt
+PORTVERSION=	4.0.3
+CATEGORIES=	graphics
+MASTER_SITES=	ftp://ftp.remotesensing.org/pub/libtiff/ \
+		http://download.osgeo.org/libtiff/
+DISTNAME=	tiff-${PORTVERSION}
+
+MAINTAINER=	dinoex at FreeBSD.org
+COMMENT=	X11 Tools for working with TIFF images
+
+LICENSE=	BSD3CLAUSE
+LICENSE_FILE=	${WRKSRC}/COPYRIGHT
+
+LIB_DEPENDS=	libjpeg.so:${PORTSDIR}/graphics/jpeg \
+		libjbig.so:${PORTSDIR}/graphics/jbigkit \
+		libtiff.so:${PORTSDIR}/${PKGCATEGORY}/tiff
+
+#TODO: Remove :oldver together with VERSION_INFO patching in pre-configure.
+USES=		libtool:oldver
+USE_XORG=	sm ice xmu xi x11
+USE_GL=		glut glu gl
+USE_LDCONFIG=	yes
+GNU_CONFIGURE=	yes
+CONFIGURE_ARGS+=	--with-jpeg-include-dir=${LOCALBASE}/include \
+			--with-jpeg-lib-dir=${LOCALBASE}/lib \
+			--with-x --with-libgl
+PLIST_FILES=	bin/tiffgt man/man1/tiffgt.1.gz
+
+pre-configure:
+	${REINPLACE_CMD} \
+		-e 's|^LIBTIFF_VERSION_INFO =.*$$|LIBTIFF_VERSION_INFO = 4:0:0|' \
+		${WRKSRC}/libtiff/Makefile.in
+	${REINPLACE_CMD} -e 's|^docfiles|no-docfiles|' \
+		-e 's|man html|man|' ${WRKSRC}/Makefile.in
+
+do-install:
+	${INSTALL_PROGRAM} ${WRKSRC}/tools/.libs/tiffgt ${STAGEDIR}/${PREFIX}/bin/
+	${INSTALL_MAN} ${WRKSRC}/man/tiffgt.1 ${STAGEDIR}${PREFIX}/man/man1/
+
+.include <bsd.port.mk>

Added: head/graphics/tiffgt/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/tiffgt/distinfo	Tue Jun 10 16:15:24 2014	(r357346)
@@ -0,0 +1,2 @@
+SHA256 (tiff-4.0.3.tar.gz) = ea1aebe282319537fb2d4d7805f478dd4e0e05c33d0928baba76a7c963684872
+SIZE (tiff-4.0.3.tar.gz) = 2051630

Added: head/graphics/tiffgt/files/patch-Makefile.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/tiffgt/files/patch-Makefile.in	Tue Jun 10 16:15:24 2014	(r357346)
@@ -0,0 +1,31 @@
+--- Makefile.in.orig	2012-09-22 18:08:18.000000000 +0200
++++ Makefile.in	2012-10-13 19:35:28.000000000 +0200
+@@ -375,7 +375,7 @@
+ 
+ dist_doc_DATA = $(docfiles)
+ SUBDIRS = port libtiff tools build contrib test man html
+-pkgconfigdir = $(libdir)/pkgconfig
++pkgconfigdir = $(prefix)/libdata/pkgconfig
+ pkgconfig_DATA = libtiff-4.pc
+ all: all-recursive
+ 
+@@ -427,19 +427,6 @@
+ 	-rm -f libtool config.lt
+ install-dist_docDATA: $(dist_doc_DATA)
+ 	@$(NORMAL_INSTALL)
+-	@list='$(dist_doc_DATA)'; test -n "$(docdir)" || list=; \
+-	if test -n "$$list"; then \
+-	  echo " $(MKDIR_P) '$(DESTDIR)$(docdir)'"; \
+-	  $(MKDIR_P) "$(DESTDIR)$(docdir)" || exit 1; \
+-	fi; \
+-	for p in $$list; do \
+-	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+-	  echo "$$d$$p"; \
+-	done | $(am__base_list) | \
+-	while read files; do \
+-	  echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(docdir)'"; \
+-	  $(INSTALL_DATA) $$files "$(DESTDIR)$(docdir)" || exit $$?; \
+-	done
+ 
+ uninstall-dist_docDATA:
+ 	@$(NORMAL_UNINSTALL)

Added: head/graphics/tiffgt/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/tiffgt/pkg-descr	Tue Jun 10 16:15:24 2014	(r357346)
@@ -0,0 +1,9 @@
+This software provides support for the Tag Image File Format (TIFF),
+a widely used format for storing image data.
+
+Included in this software distribution is a small collection of tools
+for doing simple manipulations of TIFF images on UNIX systems.
+
+LICENSE: Permission to use, copy, modify, distribute, and sell for any purpose
+
+WWW: http://www.remotesensing.org/libtiff/


More information about the svn-ports-head mailing list