1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-04 11:23:46 +00:00
Daniel Engberg 2fde86b801 graphics/openjpeg: Remove unnecessary BUILD_DEPENDS definition
No need to define CMake as a build depenency when USES= cmake is used
and we can safely assume that 3.X is available when building

PR:		266451
Reviewed by:	portmgr (tcberner)
Approved by:	portmgr (blanket)
2022-09-25 09:20:52 +02:00

40 lines
1.0 KiB
Makefile

PORTNAME= openjpeg
PORTVERSION= 2.5.0
DISTVERSIONPREFIX= v
CATEGORIES= graphics
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Open-source JPEG 2000 codec
WWW= https://www.openjpeg.org/
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= liblcms2.so:graphics/lcms2 \
libpng.so:graphics/png \
libtiff.so:graphics/tiff
USES= cmake cpe localbase:ldflags jpeg pkgconfig
CMAKE_OFF= BUILD_DOC BUILD_JAVA BUILD_JPIP BUILD_JPIP_SERVER BUILD_LUTS_GENERATOR BUILD_TESTING BUILD_THIRDPARTY BUILD_UNIT_TESTS BUILD_VIEWER WITH_ASTYLE
CMAKE_ON= BUILD_CODEC BUILD_PKGCONFIG_FILES BUILD_SHARED_LIBS BUILD_STATIC_LIBS
USE_LDCONFIG= yes
PLIST_SUB= PORTVERSION=${PORTVERSION} VER=${PORTVERSION:R}
GH_ACCOUNT= uclouvain
USE_GITHUB= yes
CPE_VENDOR= uclouvain
post-patch:
# Clean up bundled libraries
@${RM} -r ${WRKSRC}/thirdparty/astyle/
@${RM} -r ${WRKSRC}/thirdparty/include/
@${RM} -r ${WRKSRC}/thirdparty/liblcms2/
@${RM} -r ${WRKSRC}/thirdparty/libpng/
@${RM} -r ${WRKSRC}/thirdparty/libtiff/
@${RM} -r ${WRKSRC}/thirdparty/libz/
.include <bsd.port.mk>