blob: 6bdc115c6038a0a46ff71ccd222851cef4636b5d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# Created by: trasz <trasz@pin.if.uz.zgora.pl>
# $FreeBSD$
PORTNAME= openjpeg
PORTVERSION= 2.1.1
CATEGORIES= graphics
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Open-source JPEG 2000 codec
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= cmake>=3:${PORTSDIR}/devel/cmake
LIB_DEPENDS= liblcms2.so:${PORTSDIR}/graphics/lcms2 \
libpng.so:${PORTSDIR}/graphics/png \
libtiff.so:${PORTSDIR}/graphics/tiff
USE_LDCONFIG= yes
USES= cmake cpe pkgconfig
PLIST_SUB= VER=${PORTVERSION:R}
GH_ACCOUNT= uclouvain
#GH_TAGNAME= version.${PORTVERSION:R}
GH_TAGNAME= 9c911c0
USE_GITHUB= yes
post-patch:
@${REINPLACE_CMD} -e 's|$${OPENJPEG_INSTALL_LIB_DIR}/pkgconfig|libdata/pkgconfig|' ${WRKSRC}/CMakeLists.txt
.include <bsd.port.mk>
|