ports/146233: [new port] graphics/apngasm
Anonymous
swell.k at gmail.com
Sun May 2 11:50:06 UTC 2010
>Number: 146233
>Category: ports
>Synopsis: [new port] graphics/apngasm
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Sun May 02 11:50:05 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: Anonymous
>Release: FreeBSD 9.0-CURRENT amd64
>Organization:
>Environment:
>Description:
Lightweight tool for creating APNG files.
>How-To-Repeat:
>Fix:
--- a.diff begins here ---
Index: graphics/Makefile
===================================================================
RCS file: /a/.cvsup/ports/graphics/Makefile,v
retrieving revision 1.1322
diff -u -p -r1.1322 Makefile
--- graphics/Makefile 26 Apr 2010 19:27:01 -0000 1.1322
+++ graphics/Makefile 2 May 2010 11:39:36 -0000
@@ -31,6 +31,7 @@
SUBDIR += animorph
SUBDIR += aoi
SUBDIR += aolserver-nsgd
+ SUBDIR += apngasm
SUBDIR += aqsis
SUBDIR += asciio
SUBDIR += autopano-sift
Index: graphics/apngasm/Makefile
===================================================================
RCS file: graphics/apngasm/Makefile
diff -N graphics/apngasm/Makefile
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ graphics/apngasm/Makefile 2 May 2010 11:37:24 -0000
@@ -0,0 +1,31 @@
+# New ports collection makefile for: apngasm
+# Date created: 02 May 2010
+# Whom: Anonymous <swell.k at gmail.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= apngasm
+PORTVERSION= 2.0
+DISTVERSIONSUFFIX=-src
+CATEGORIES= graphics
+MASTER_SITES= SF/${PORTNAME}/${PORTVERSION}
+
+MAINTAINER= swell.k at gmail.com
+COMMENT= Create Animated PNG from a sequence of files
+
+LIB_DEPENDS= png.6:${PORTSDIR}/graphics/png
+
+USE_ZIP= yes
+EXTRACT_AFTER_ARGS=-d ${WRKSRC}
+USE_DOS2UNIX= yes
+PLIST_FILES= bin/${PORTNAME}
+
+ALL_TARGET= ${PORTNAME}
+MAKEFILE= /dev/null
+CFLAGS+= -I${LOCALBASE}/include -lpng -lz -L${LOCALBASE}/lib
+
+do-install: .SILENT
+ ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/
+
+.include <bsd.port.mk>
Index: graphics/apngasm/distinfo
===================================================================
RCS file: graphics/apngasm/distinfo
diff -N graphics/apngasm/distinfo
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ graphics/apngasm/distinfo 2 May 2010 10:41:22 -0000
@@ -0,0 +1,3 @@
+MD5 (apngasm-2.0-src.zip) = eacbeb064219c6e7fe490abe788ab385
+SHA256 (apngasm-2.0-src.zip) = cc8c33c42115273dc63b7763f8c0b3ab5ec891420fb3ad794b44ade104118c19
+SIZE (apngasm-2.0-src.zip) = 6807
Index: graphics/apngasm/pkg-descr
===================================================================
RCS file: graphics/apngasm/pkg-descr
diff -N graphics/apngasm/pkg-descr
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ graphics/apngasm/pkg-descr 2 May 2010 11:28:48 -0000
@@ -0,0 +1,4 @@
+Standalone version of the popular APNG Assembler. Simple command-line
+interface. No size limits.
+
+WWW: http://sourceforge.net/projects/apngasm/
Index: graphics/apngasm/files/patch-bswap
===================================================================
RCS file: graphics/apngasm/files/patch-bswap
diff -N graphics/apngasm/files/patch-bswap
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ graphics/apngasm/files/patch-bswap 2 May 2010 11:38:21 -0000
@@ -0,0 +1,13 @@
+--- apngasm.c~
++++ apngasm.c
+@@ -39,6 +39,10 @@ inline unsigned int swap32(unsigned int
+ #include <byteswap.h>
+ inline unsigned short swap16(unsigned short data) {return(bswap_16(data));}
+ inline unsigned int swap32(unsigned int data) {return(bswap_32(data));}
++#elif defined(__FreeBSD__)
++#include <sys/endian.h>
++inline unsigned short swap16(unsigned short data) {return(bswap16(data));}
++inline unsigned int swap32(unsigned int data) {return(bswap32(data));}
+ #else
+ inline unsigned short swap16(unsigned short data) {return((data >> 8) | (data << 8));}
+ inline unsigned int swap32(unsigned int data) {return((swap16(data) << 16) | swap16(data >> 16));}
--- a.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list