Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Aug 2014 09:07:49 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r365622 - in head/graphics/openjpeg: . files
Message-ID:  <201408220907.s7M97nJe019846@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Fri Aug 22 09:07:49 2014
New Revision: 365622
URL: http://svnweb.freebsd.org/changeset/ports/365622
QAT: https://qat.redports.org/buildarchive/r365622/

Log:
  - Sort LIB_DEPENDS
  - Use REINPLACE_CMD instead of patch file
  - Cleanup Makefile
  - Update WWW and pkg-descr
  - Take maintainership

Deleted:
  head/graphics/openjpeg/files/
Modified:
  head/graphics/openjpeg/Makefile
  head/graphics/openjpeg/pkg-descr
  head/graphics/openjpeg/pkg-plist

Modified: head/graphics/openjpeg/Makefile
==============================================================================
--- head/graphics/openjpeg/Makefile	Fri Aug 22 09:06:51 2014	(r365621)
+++ head/graphics/openjpeg/Makefile	Fri Aug 22 09:07:49 2014	(r365622)
@@ -4,21 +4,23 @@
 PORTNAME=	openjpeg
 PORTVERSION=	2.1.0
 CATEGORIES=	graphics
-MASTER_SITES=	SF/openjpeg.mirror/${PORTVERSION}/
-#??
+MASTER_SITES=	SF/openjpeg.mirror/${PORTVERSION}
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	sunpoet@FreeBSD.org
 COMMENT=	Open-source JPEG 2000 codec
 
 LICENSE=	BSD2CLAUSE
 
-LIB_DEPENDS=	libtiff.so:${PORTSDIR}/graphics/tiff \
+LIB_DEPENDS=	liblcms2.so:${PORTSDIR}/graphics/lcms2 \
 		libpng15.so:${PORTSDIR}/graphics/png \
-		liblcms2.so:${PORTSDIR}/graphics/lcms2
+		libtiff.so:${PORTSDIR}/graphics/tiff
 
-USES=		cmake pkgconfig
 USE_LDCONFIG=	yes
+USES=		cmake pkgconfig
 
 PLIST_SUB=	VER=${PORTVERSION:R}
 
+post-patch:
+	@${REINPLACE_CMD} -e 's|$${OPENJPEG_INSTALL_LIB_DIR}/pkgconfig|libdata/pkgconfig|' ${WRKSRC}/CMakeLists.txt
+
 .include <bsd.port.mk>

Modified: head/graphics/openjpeg/pkg-descr
==============================================================================
--- head/graphics/openjpeg/pkg-descr	Fri Aug 22 09:06:51 2014	(r365621)
+++ head/graphics/openjpeg/pkg-descr	Fri Aug 22 09:07:49 2014	(r365622)
@@ -1,10 +1,16 @@
-The OpenJPEG library is an open-source JPEG 2000 codec written in
-C language.  It has been developed in order to promote the use of
-JPEG 2000, the new still-image compression standard from the Joint
-Photographic Experts Group (JPEG).  In addition to the basic codec,
-various other features are under development, among them the JP2
-and MJ2 (Motion JPEG 2000) file formats, an indexing tool useful
-for the JPIP protocol, JPWL-tools for error-resilience, a Java-viewer
-for j2k-images, ...
+The OpenJPEG library is an open-source JPEG 2000 library developed in order to
+promote the use of JPEG 2000.
 
-WWW: http://code.google.com/p/openjpeg/
+The main part of the project consists in a JPEG 2000 codec compliant with the
+Part 1 of the standard (Class-1 Profile-1 compliance).
+
+Besides this main codec, OpenJPEG integrates several other modules:
+- JP2 (JPEG 2000 standard Part 2 - Handling of JP2 boxes and extended multiple
+  component transforms for multispectral and hyperspectral imagery)
+- MJ2 (JPEG 2000 standard Part 3)
+- JPWL (JPEG 2000 standard Part 11)
+- JPIP (JPEG 2000 standard Part 9)
+- OPJViewer, a GUI viewer for J2K, JP2, JPWL and MJ2 files
+
+WWW: https://code.google.com/p/openjpeg/
+WWW: http://openjpeg.mirror.sourceforge.net/

Modified: head/graphics/openjpeg/pkg-plist
==============================================================================
--- head/graphics/openjpeg/pkg-plist	Fri Aug 22 09:06:51 2014	(r365621)
+++ head/graphics/openjpeg/pkg-plist	Fri Aug 22 09:07:49 2014	(r365622)
@@ -5,11 +5,11 @@ include/openjpeg-%%VER%%/openjpeg.h
 include/openjpeg-%%VER%%/opj_config.h
 include/openjpeg-%%VER%%/opj_stdint.h
 lib/libopenjp2.so
-lib/libopenjp2.so.2.1.0
+lib/libopenjp2.so.%%VER%%.0
 lib/libopenjp2.so.7
 lib/openjpeg-%%VER%%/OpenJPEGConfig.cmake
 lib/openjpeg-%%VER%%/OpenJPEGTargets-%%CMAKE_BUILD_TYPE%%.cmake
 lib/openjpeg-%%VER%%/OpenJPEGTargets.cmake
 libdata/pkgconfig/libopenjp2.pc
-@dirrmtry lib/openjpeg-%%VER%%
-@dirrmtry include/openjpeg-%%VER%%
+@dirrm lib/openjpeg-%%VER%%
+@dirrm include/openjpeg-%%VER%%



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201408220907.s7M97nJe019846>