diff options
author | jhale <jhale@FreeBSD.org> | 2012-11-04 17:54:21 +0800 |
---|---|---|
committer | jhale <jhale@FreeBSD.org> | 2012-11-04 17:54:21 +0800 |
commit | f15c65fb341c48aa189feca54c0d3478cdeb2be9 (patch) | |
tree | 9f209ce72ac857a97d5a53e0c27ae677138f9ffc /graphics/apngdis | |
parent | b6716613e28d15b94d4147990546a80a63f33916 (diff) | |
download | freebsd-ports-gnome-f15c65fb341c48aa189feca54c0d3478cdeb2be9.tar.gz freebsd-ports-gnome-f15c65fb341c48aa189feca54c0d3478cdeb2be9.tar.zst freebsd-ports-gnome-f15c65fb341c48aa189feca54c0d3478cdeb2be9.zip |
apngdis converts an APNG file into a sequence of individual PNG frames
via a simple command-line interface.
WWW: http://sourceforge.net/projects/apngdis/
PR: ports/173205
Submitted by: nemysis <nemysis@gmx.ch>
Approved by: makc, avilla (mentors, implicit)
Feature safe: yes
Diffstat (limited to 'graphics/apngdis')
-rw-r--r-- | graphics/apngdis/Makefile | 46 | ||||
-rw-r--r-- | graphics/apngdis/distinfo | 2 | ||||
-rw-r--r-- | graphics/apngdis/pkg-descr | 4 |
3 files changed, 52 insertions, 0 deletions
diff --git a/graphics/apngdis/Makefile b/graphics/apngdis/Makefile new file mode 100644 index 000000000000..95f8830f6a67 --- /dev/null +++ b/graphics/apngdis/Makefile @@ -0,0 +1,46 @@ +# Created by: nemysis@gmx.ch +# $FreeBSD$ + +PORTNAME= apngdis +PORTVERSION= 2.5 +DISTVERSIONSUFFIX=-src +CATEGORIES= graphics +MASTER_SITES= SF/${PORTNAME}/${PORTVERSION} + +MAINTAINER= nemysis@gmx.ch +COMMENT= Deconstructs APNG files into individual frames + +LICENSE= ZLIB + +NO_WRKSUBDIR= yes + +USE_DOS2UNIX= yes +USE_ZIP= yes + +LDFLAGS+= -lz + +PLIST_FILES= bin/${PORTNAME} + +PORTDOCS= readme.txt + +OPTIONS_DEFINE= DOCS STATIC + +.include <bsd.port.options.mk> + +.if ${PORT_OPTIONS:MSTATIC} +LDFLAGS+= -static +.endif + +do-build: + cd ${WRKSRC} && ${CC} ${CFLAGS} ${CPPFLAGS} ${PORTNAME}.c \ + -o ${PORTNAME} ${LDFLAGS} + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin + +.if ${PORT_OPTIONS:MDOCS} + ${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR} +.endif + +.include <bsd.port.mk> diff --git a/graphics/apngdis/distinfo b/graphics/apngdis/distinfo new file mode 100644 index 000000000000..e5265a30d65b --- /dev/null +++ b/graphics/apngdis/distinfo @@ -0,0 +1,2 @@ +SHA256 (apngdis-2.5-src.zip) = 684ef8da1688c8fdb1a3dfe742fcf344bfff23b701fb31cea2ece7b2a272faec +SIZE (apngdis-2.5-src.zip) = 9085 diff --git a/graphics/apngdis/pkg-descr b/graphics/apngdis/pkg-descr new file mode 100644 index 000000000000..26cd6723c31d --- /dev/null +++ b/graphics/apngdis/pkg-descr @@ -0,0 +1,4 @@ +apngdis converts an APNG file into a sequence of individual PNG frames +via a simple command-line interface. + +WWW: http://sourceforge.net/projects/apngdis/ |