PORTNAME= png DISTVERSION= 1.6.44 CATEGORIES= graphics MASTER_SITES= SF/lib${PORTNAME}/lib${PORTNAME}16/${DISTVERSION}/ PATCH_SITES= SF/lib${PORTNAME}-apng/lib${PORTNAME}16/${DISTVERSION}/ # Keep this because you normally need to keep patch version in sync with release DISTNAME= lib${PORTNAME}-${DISTVERSION} MAINTAINER= desktop@FreeBSD.org COMMENT= Library for manipulating PNG images WWW= http://www.libpng.org/pub/png/libpng.html LICENSE= Libpng LICENSE_GROUPS= FSF GPL OSI LICENSE_NAME= libpng License LICENSE_FILE= ${WRKSRC}/LICENSE LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept USES= cmake:testing cpe pathfix tar:xz CPE_PRODUCT= libpng USE_LDCONFIG= yes CMAKE_OFF= PNG_TESTS CMAKE_TESTING_ON= PNG_TESTS OPTIONS_DEFINE= APNG SIMD OPTIONS_DEFAULT=APNG OPTIONS_DEFAULT_aarch64= SIMD OPTIONS_DEFAULT_amd64= SIMD OPTIONS_DEFAULT_powerpc64le= SIMD # arm/arm_init.c:43:6: error: "No support for run-time ARM Neon checking; use compile-time options" .ifdef QEMU_EMULATING OPTIONS_EXCLUDE_armv6= SIMD OPTIONS_EXCLUDE_armv7= SIMD .endif APNG_DESC=Enable Animated PNG support SIMD_CMAKE_BOOL= PNG_HARDWARE_OPTIMIZATIONS .include .if ${ARCH} == powerpc64 && ${PORT_OPTIONS:MSIMD} USES+= compiler:c11 CFLAGS+= -maltivec -mvsx .endif .if ${PORT_OPTIONS:MAPNG} || make(makesum) #PATCHFILES= ${DISTNAME}-apng.patch.gz:-p1 # Keep this because you normally need to keep patch version in sync with release PATCHFILES= lib${PORTNAME}-${DISTVERSION}-apng.patch.gz:-p1 .endif post-patch: @${REINPLACE_CMD} -e 's|PNG_DEBUG_POSTFIX "d"|PNG_DEBUG_POSTFIX ""|g' \ ${PATCH_WRKSRC}/CMakeLists.txt .include