2012-12-17 18:10:40 +01:00
|
|
|
# Created by: trasz <trasz@pin.if.uz.zgora.pl>
|
2007-01-13 22:39:14 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= openjpeg
|
2014-05-26 16:42:44 +02:00
|
|
|
PORTVERSION= 2.1.0
|
2014-12-25 21:54:41 +01:00
|
|
|
PORTREVISION= 1
|
2007-01-13 22:39:14 +01:00
|
|
|
CATEGORIES= graphics
|
2014-08-22 11:07:49 +02:00
|
|
|
MASTER_SITES= SF/openjpeg.mirror/${PORTVERSION}
|
2007-01-13 22:39:14 +01:00
|
|
|
|
2014-08-22 11:07:49 +02:00
|
|
|
MAINTAINER= sunpoet@FreeBSD.org
|
2013-02-08 22:30:21 +01:00
|
|
|
COMMENT= Open-source JPEG 2000 codec
|
2007-01-13 22:39:14 +01:00
|
|
|
|
2014-05-08 15:02:58 +02:00
|
|
|
LICENSE= BSD2CLAUSE
|
2009-03-27 20:41:49 +01:00
|
|
|
|
2014-08-22 11:07:49 +02:00
|
|
|
LIB_DEPENDS= liblcms2.so:${PORTSDIR}/graphics/lcms2 \
|
2014-12-25 20:04:25 +01:00
|
|
|
libpng.so:${PORTSDIR}/graphics/png \
|
2014-08-22 11:07:49 +02:00
|
|
|
libtiff.so:${PORTSDIR}/graphics/tiff
|
2012-06-16 10:46:05 +02:00
|
|
|
|
2007-01-13 22:39:14 +01:00
|
|
|
USE_LDCONFIG= yes
|
2014-08-22 11:29:10 +02:00
|
|
|
USES= cmake cpe pkgconfig
|
2007-01-13 22:39:14 +01:00
|
|
|
|
2014-05-26 16:42:44 +02:00
|
|
|
PLIST_SUB= VER=${PORTVERSION:R}
|
|
|
|
|
2014-08-22 11:07:49 +02:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|$${OPENJPEG_INSTALL_LIB_DIR}/pkgconfig|libdata/pkgconfig|' ${WRKSRC}/CMakeLists.txt
|
|
|
|
|
2007-01-13 22:39:14 +01:00
|
|
|
.include <bsd.port.mk>
|