Files
ports/graphics/openjph/Makefile
T
Po-Chuan Hsieh e5d2df7136 graphics/openjph: Update to 0.30.1
- Bump PORTREVISION of dependent ports for shlib change

Changes:	https://github.com/aous72/OpenJPH/releases
2026-07-08 21:30:35 +08:00

40 lines
817 B
Makefile

PORTNAME= openjph
PORTVERSION= 0.30.1
CATEGORIES= graphics
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Open-source implementation of JPEG2000 Part-15
WWW= https://github.com/aous72/OpenJPH
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libtiff.so:graphics/tiff
USES= cmake compiler:c++14-lang
CMAKE_OFF= OJPH_BUILD_FUZZER \
OJPH_BUILD_TESTS
CMAKE_ON= BUILD_SHARED_LIBS \
OJPH_BUILD_EXECUTABLES \
OJPH_BUILD_STREAM_EXPAND \
OJPH_ENABLE_TIFF_SUPPORT
USE_LDCONFIG= yes
PLIST_SUB= PORTVERSION=${PORTVERSION}
USE_GITHUB= yes
GH_ACCOUNT= aous72
GH_PROJECT= OpenJPH
.include <bsd.port.options.mk>
.if ${ARCH} != amd64
CMAKE_ON+= OJPH_DISABLE_SIMD
.endif
post-install:
${LN} -s libopenjph.so.${PORTVERSION} ${STAGEDIR}${PREFIX}/lib/libopenjph.so.${PORTVERSION:R:R}
.include <bsd.port.mk>