Lines 1-11
Link Here
|
1 |
PORTNAME= png |
1 |
PORTNAME= png |
2 |
PORTVERSION= 1.6.37 |
2 |
DISTVERSION= 1.6.38 |
3 |
PORTREVISION= 1 |
|
|
4 |
CATEGORIES= graphics |
3 |
CATEGORIES= graphics |
5 |
MASTER_SITES= SF/lib${PORTNAME}/lib${PORTNAME}16/${PORTVERSION} \ |
4 |
MASTER_SITES= SF/lib${PORTNAME}/lib${PORTNAME}16/${DISTVERSION}/ |
6 |
ftp://ftp.simplesystems.org/pub/lib${PORTNAME}/${PORTNAME}/src/lib${PORTNAME}16/ |
5 |
PATCH_SITES= SF/lib${PORTNAME}-apng/lib${PORTNAME}16/${DISTVERSION}/ |
7 |
PATCH_SITES= SF/apng/lib${PORTNAME}/lib${PORTNAME}16/ |
6 |
DISTNAME= lib${PORTNAME}-${DISTVERSION} |
8 |
DISTNAME= lib${PORTNAME}-${PORTVERSION} |
|
|
9 |
|
7 |
|
10 |
MAINTAINER= desktop@FreeBSD.org |
8 |
MAINTAINER= desktop@FreeBSD.org |
11 |
COMMENT= Library for manipulating PNG images |
9 |
COMMENT= Library for manipulating PNG images |
Lines 17-39
LICENSE_NAME= libpng License
Link Here
|
17 |
LICENSE_FILE= ${WRKSRC}/LICENSE |
15 |
LICENSE_FILE= ${WRKSRC}/LICENSE |
18 |
LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept |
16 |
LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept |
19 |
|
17 |
|
20 |
USE_CSTD= gnu89 |
18 |
USES= cmake cpe pathfix tar:xz |
21 |
USES= cpe libtool tar:xz |
|
|
22 |
CPE_PRODUCT= libpng |
19 |
CPE_PRODUCT= libpng |
23 |
GNU_CONFIGURE= yes |
|
|
24 |
CONFIGURE_ARGS= --with-pkgconfigdir=${PREFIX}/libdata/pkgconfig |
25 |
INSTALL_TARGET= install-strip |
26 |
TEST_TARGET= check-TESTS |
27 |
USE_LDCONFIG= yes |
20 |
USE_LDCONFIG= yes |
28 |
|
21 |
|
29 |
OPTIONS_DEFINE= APNG SIMD |
22 |
TEST_TARGET= test |
|
|
23 |
|
24 |
OPTIONS_DEFINE= APNG SIMD TEST |
30 |
OPTIONS_DEFAULT=APNG |
25 |
OPTIONS_DEFAULT=APNG |
31 |
OPTIONS_DEFAULT_aarch64= SIMD |
26 |
OPTIONS_DEFAULT_aarch64= SIMD |
32 |
OPTIONS_DEFAULT_amd64= SIMD |
27 |
OPTIONS_DEFAULT_amd64= SIMD |
33 |
OPTIONS_DEFAULT_powerpc64le= SIMD |
28 |
OPTIONS_DEFAULT_powerpc64le= SIMD |
|
|
29 |
|
34 |
APNG_DESC=Enable Animated PNG support |
30 |
APNG_DESC=Enable Animated PNG support |
35 |
SIMD_CONFIGURE_OFF= --enable-hardware-optimizations=no |
31 |
SIMD_CMAKE_BOOL= PNG_HARDWARE_OPTIMIZATIONS |
36 |
SIMD_CONFIGURE_ON= --enable-hardware-optimizations=yes |
32 |
TEST_CMAKE_BOOL= PNG_TESTS |
37 |
|
33 |
|
38 |
.include <bsd.port.options.mk> |
34 |
.include <bsd.port.options.mk> |
39 |
|
35 |
|
Lines 43-49
CFLAGS+= -maltivec -mvsx
Link Here
|
43 |
.endif |
39 |
.endif |
44 |
|
40 |
|
45 |
.if ${PORT_OPTIONS:MAPNG} || make(makesum) |
41 |
.if ${PORT_OPTIONS:MAPNG} || make(makesum) |
46 |
PATCHFILES= ${DISTNAME}-apng.patch.gz |
42 |
PATCHFILES= ${DISTNAME}-apng.patch.gz:-p1 |
47 |
.endif |
43 |
.endif |
48 |
|
44 |
|
49 |
.include <bsd.port.mk> |
45 |
.include <bsd.port.mk> |