diff options
author | Dirk Meyer <dinoex@FreeBSD.org> | 2010-05-05 15:18:52 +0000 |
---|---|---|
committer | Dirk Meyer <dinoex@FreeBSD.org> | 2010-05-05 15:18:52 +0000 |
commit | c6c60cb02df711820c7674d640f7775376ecedff (patch) | |
tree | baae2da0693b8d0f4f486ecc7a229c7090a9ef0c /graphics/png | |
parent | d0012dc4003c93405c9be5f2abe34742684863f1 (diff) | |
download | ports-c6c60cb02df711820c7674d640f7775376ecedff.tar.gz ports-c6c60cb02df711820c7674d640f7775376ecedff.zip |
Notes
Diffstat (limited to 'graphics/png')
-rw-r--r-- | graphics/png/Makefile | 15 | ||||
-rw-r--r-- | graphics/png/distinfo | 3 |
2 files changed, 18 insertions, 0 deletions
diff --git a/graphics/png/Makefile b/graphics/png/Makefile index 8833d56c17a8..9bf2b8ce691e 100644 --- a/graphics/png/Makefile +++ b/graphics/png/Makefile @@ -11,6 +11,7 @@ PORTREVISION= 1 CATEGORIES= graphics MASTER_SITES= SF/lib${PORTNAME}/01-lib${PORTNAME}-master/${PORTVERSION} DISTNAME= lib${PORTNAME}-${PORTVERSION} +DISTFILES= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= dinoex@FreeBSD.org COMMENT= Library for manipulating PNG images @@ -30,11 +31,25 @@ MAN3= libpng.3 libpngpf.3 MAN5= png.5 MANCOMPRESSED= maybe +OPTIONS= APNG "Animated PNG support" Off + .include <bsd.port.pre.mk> +.if defined(WITH_APNG) || make(makesum) || defined(FETCH_ALL) +MASTER_SITES+= http://littlesvr.ca/apng/diff/:apng +DISTFILES+= ${DISTNAME}-apng.patch:apng +.endif +.if defined(WITH_APNG) +USE_DOS2UNIX= ${DISTNAME}-apng.patch +EXTRA_PATCHES= ${WRKSRC}/${DISTNAME}-apng.patch +.endif + post-extract: # Please don't delete the following line - this link used by ghostscript* ports @${LN} -sf ${WRKSRC} ${WRKDIR}/libpng +.if defined(WITH_APNG) + @${CP} ${DISTDIR}/${DIST_SUBDIR}/${DISTNAME}-apng.patch ${WRKSRC} +.endif pre-su-install: @${MKDIR} ${PREFIX}/include/libpng diff --git a/graphics/png/distinfo b/graphics/png/distinfo index 3a391664bc11..3908238c6e01 100644 --- a/graphics/png/distinfo +++ b/graphics/png/distinfo @@ -1,3 +1,6 @@ MD5 (libpng-1.4.1.tar.bz2) = e1767bf290ded9fda9ee05bd23ae4cff SHA256 (libpng-1.4.1.tar.bz2) = bc03009c62c07fc08d1d91ba130c39dc99bef68b533cad4e846835d0bfc4ee5e SIZE (libpng-1.4.1.tar.bz2) = 643261 +MD5 (libpng-1.4.1-apng.patch) = f7cfe836d963564bb658eeec610d6086 +SHA256 (libpng-1.4.1-apng.patch) = 59d7feed7fd87a77cbd395f63b37759007e8c7cc21a21e8c14e0811a6aa9ed91 +SIZE (libpng-1.4.1-apng.patch) = 54364 |