e79fe1aabc
Many of the WWW are overwritten later which means the wrong value is used. This did not happen before where the children were either a) just using the pkg-descr from the parents b) or had their own separate pkg-descr with custom WWW Use WWW?= in parents when the child's WWW is different. Children that use the same WWW as the parent can just inherit it, i.e., the child WWW can be removed. Approved by: portmgr (implicit)
50 lines
1.1 KiB
Makefile
50 lines
1.1 KiB
Makefile
PORTNAME= jpeg-turbo
|
|
DISTVERSION= 2.1.4
|
|
PORTREVISION?= 0
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= SF/lib${PORTNAME}/${DISTVERSION}
|
|
DISTNAME= lib${PORTNAME}-${DISTVERSION}
|
|
|
|
MAINTAINER= desktop@FreeBSD.org
|
|
COMMENT?= SIMD-accelerated JPEG codec which replaces libjpeg
|
|
WWW?= https://libjpeg-turbo.org/
|
|
|
|
LICENSE= BSD3CLAUSE IJG ZLIB
|
|
LICENSE_COMB= multi
|
|
LICENSE_GROUPS_IJG= FSF GPL
|
|
LICENSE_NAME_IJG= Independent JPEG Group License
|
|
LICENSE_FILE_BSD3CLAUSE= ${WRKSRC}/LICENSE.md
|
|
LICENSE_FILE_IJG= ${WRKSRC}/README.ijg
|
|
LICENSE_FILE_ZLIB= ${WRKSRC}/LICENSE.md
|
|
LICENSE_PERMS_IJG= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
|
|
|
|
USES= cmake cpe
|
|
USE_LDCONFIG= yes
|
|
CMAKE_ON= WITH_JPEG8
|
|
CPE_PRODUCT= libjpeg-turbo
|
|
TEST_TARGET= test
|
|
|
|
PORTDOCS= *
|
|
DOCSDIR= ${PREFIX}/share/doc/libjpeg-turbo
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
.if ${ARCH} == i386 || ${ARCH} == amd64
|
|
BUILD_DEPENDS+= nasm:devel/nasm
|
|
.endif
|
|
|
|
.if ${ARCH} == armv6
|
|
CMAKE_OFF= WITH_SIMD
|
|
.endif
|
|
|
|
.if ${SLAVE_PORT} == yes
|
|
PLIST_SUB+= JPEG="@comment " LIBTURBOJPEG=""
|
|
.else
|
|
CMAKE_OFF+= WITH_TURBOJPEG
|
|
CONFLICTS_INSTALL= mozjpeg
|
|
PLIST_SUB+= JPEG="" LIBTURBOJPEG="@comment "
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|