1 |
# $MidnightBSD$ |
2 |
|
3 |
PORTNAME= png |
4 |
PORTVERSION= 1.6.34 |
5 |
PORTREVISION= 1 |
6 |
CATEGORIES= graphics |
7 |
MASTER_SITES= SF/lib${PORTNAME}/lib${PORTNAME}16/${PORTVERSION} \ |
8 |
ftp://ftp.simplesystems.org/pub/lib${PORTNAME}/${PORTNAME}/src/lib${PORTNAME}16/ |
9 |
PATCH_SITES= SF/apng/lib${PORTNAME}/lib${PORTNAME}16/ |
10 |
DISTNAME= lib${PORTNAME}-${PORTVERSION} |
11 |
|
12 |
FAKE_OPTS= trueprefix |
13 |
|
14 |
MAINTAINER= ports@MidnightBSD.org |
15 |
COMMENT= Library for manipulating PNG images |
16 |
|
17 |
LICENSE= Libpng |
18 |
LICENSE_GROUPS= FSF GPL OSI |
19 |
LICENSE_NAME= libpng License |
20 |
LICENSE_FILE= ${WRKSRC}/LICENSE |
21 |
LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept |
22 |
|
23 |
USES= cpe libtool tar:xz |
24 |
CPE_PRODUCT= libpng |
25 |
GNU_CONFIGURE= yes |
26 |
CONFIGURE_ARGS= --with-pkgconfigdir=${PREFIX}/libdata/pkgconfig |
27 |
INSTALL_TARGET= install-strip |
28 |
TEST_TARGET= check-TESTS |
29 |
USE_LDCONFIG= yes |
30 |
|
31 |
OPTIONS_DEFINE= APNG |
32 |
OPTIONS_DEFAULT=APNG |
33 |
APNG_DESC=Enable Animated PNG support |
34 |
|
35 |
.include <bsd.mport.options.mk> |
36 |
|
37 |
.if ${PORT_OPTIONS:MAPNG} || make(makesum) |
38 |
PATCHFILES= ${DISTNAME}-apng.patch.gz |
39 |
.endif |
40 |
|
41 |
.include <bsd.port.mk> |