[Midnightbsd-cvs] mports [18669] trunk/graphics/openjpeg: update for png bump

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Sun Apr 12 12:18:29 EDT 2015


Revision: 18669
          http://svnweb.midnightbsd.org/mports/?rev=18669
Author:   laffer1
Date:     2015-04-12 12:18:28 -0400 (Sun, 12 Apr 2015)
Log Message:
-----------
update for png bump

Modified Paths:
--------------
    trunk/graphics/openjpeg/Makefile

Removed Paths:
-------------
    trunk/graphics/openjpeg/files/

Modified: trunk/graphics/openjpeg/Makefile
===================================================================
--- trunk/graphics/openjpeg/Makefile	2015-04-12 16:15:48 UTC (rev 18668)
+++ trunk/graphics/openjpeg/Makefile	2015-04-12 16:18:28 UTC (rev 18669)
@@ -2,9 +2,9 @@
 
 PORTNAME=	openjpeg
 PORTVERSION=	2.1.0
+PORTREVISION=	2
 CATEGORIES=	graphics
-MASTER_SITES=	SF/openjpeg.mirror/${PORTVERSION}/
-#??
+MASTER_SITES=	SF/openjpeg.mirror/${PORTVERSION}
 
 MAINTAINER=	ports at MidnightBSD.org
 COMMENT=	Open-source JPEG 2000 codec
@@ -11,13 +11,16 @@
 
 LICENSE=	bsd2
 
-LIB_DEPENDS=	libtiff.so:${PORTSDIR}/graphics/tiff \
-		libpng15.so:${PORTSDIR}/graphics/png \
-		liblcms2.so:${PORTSDIR}/graphics/lcms2
+LIB_DEPENDS=	liblcms2.so:${PORTSDIR}/graphics/lcms2 \
+		libpng.so:${PORTSDIR}/graphics/png \
+		libtiff.so:${PORTSDIR}/graphics/tiff
 
+USE_LDCONFIG=	yes
 USES=		cmake cpe pkgconfig
-USE_LDCONFIG=	yes
 
 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>



More information about the Midnightbsd-cvs mailing list