1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00
freebsd-ports/graphics/png/Makefile
2019-04-25 08:38:01 +00:00

40 lines
1012 B
Makefile

# Created by: ache
# $FreeBSD$
PORTNAME= png
PORTVERSION= 1.6.37
CATEGORIES= graphics
MASTER_SITES= SF/lib${PORTNAME}/lib${PORTNAME}16/${PORTVERSION} \
ftp://ftp.simplesystems.org/pub/lib${PORTNAME}/${PORTNAME}/src/lib${PORTNAME}16/
PATCH_SITES= SF/apng/lib${PORTNAME}/lib${PORTNAME}16/
DISTNAME= lib${PORTNAME}-${PORTVERSION}
MAINTAINER= portmgr@FreeBSD.org
COMMENT= Library for manipulating PNG images
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= cpe libtool tar:xz
CPE_PRODUCT= libpng
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-pkgconfigdir=${PREFIX}/libdata/pkgconfig
INSTALL_TARGET= install-strip
TEST_TARGET= check-TESTS
USE_LDCONFIG= yes
OPTIONS_DEFINE= APNG
OPTIONS_DEFAULT=APNG
APNG_DESC=Enable Animated PNG support
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MAPNG} || make(makesum)
PATCHFILES= ${DISTNAME}-apng.patch.gz
.endif
.include <bsd.port.mk>