ports/146233: [new port] graphics/apngasm

Anonymous swell.k at gmail.com
Mon May 10 06:00:18 UTC 2010


The following reply was made to PR ports/146233; it has been noted by GNATS.

From: Anonymous <swell.k at gmail.com>
To: bug-followup at FreeBSD.org
Cc:  
Subject: Re: ports/146233: [new port] graphics/apngasm
Date: Mon, 10 May 2010 09:54:04 +0400

 resending as shar archive for convenience
 
 --- a.shar begins here ---
 #!/bin/sh
 # This is a shell archive
 echo x graphics/apngasm
 mkdir -p graphics/apngasm > /dev/null 2>&1
 echo x graphics/apngasm/Makefile
 sed 's/^X//' > graphics/apngasm/Makefile << 'SHAR_END'
 X# New ports collection makefile for:	apngasm
 X# Date created:		02 May 2010
 X# Whom:			Anonymous <swell.k at gmail.com>
 X#
 X# $FreeBSD$
 X#
 X
 XPORTNAME=	apngasm
 XPORTVERSION=	2.0
 XDISTVERSIONSUFFIX=-src
 XCATEGORIES=	graphics
 XMASTER_SITES=	SF/${PORTNAME}/${PORTVERSION}
 X
 XMAINTAINER=	swell.k at gmail.com
 XCOMMENT=	Create Animated PNG from a sequence of files
 X
 XLIB_DEPENDS=	png.6:${PORTSDIR}/graphics/png
 X
 XUSE_ZIP=	yes
 XEXTRACT_AFTER_ARGS=-d ${WRKSRC}
 XUSE_DOS2UNIX=	yes
 XPLIST_FILES=	bin/${PORTNAME}
 X
 XALL_TARGET=	${PORTNAME}
 XMAKEFILE=	/dev/null
 XCFLAGS+=	-I${LOCALBASE}/include -lpng -lz -L${LOCALBASE}/lib
 X
 Xdo-install:	.SILENT
 X	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/
 X
 X.include <bsd.port.mk>
 SHAR_END
 echo x graphics/apngasm/pkg-descr
 sed 's/^X//' > graphics/apngasm/pkg-descr << 'SHAR_END'
 XStandalone version of the popular APNG Assembler. Simple command-line
 Xinterface. No size limits.
 X
 XWWW: http://sourceforge.net/projects/apngasm/
 SHAR_END
 echo x graphics/apngasm/distinfo
 sed 's/^X//' > graphics/apngasm/distinfo << 'SHAR_END'
 XMD5 (apngasm-2.0-src.zip) = eacbeb064219c6e7fe490abe788ab385
 XSHA256 (apngasm-2.0-src.zip) = cc8c33c42115273dc63b7763f8c0b3ab5ec891420fb3ad794b44ade104118c19
 XSIZE (apngasm-2.0-src.zip) = 6807
 SHAR_END
 echo x graphics/apngasm/files
 mkdir -p graphics/apngasm/files > /dev/null 2>&1
 echo x graphics/apngasm/files/patch-bswap
 sed 's/^X//' > graphics/apngasm/files/patch-bswap << 'SHAR_END'
 X--- apngasm.c~
 X+++ apngasm.c
 X@@ -39,6 +39,10 @@ inline unsigned int swap32(unsigned int 
 X #include <byteswap.h>
 X inline unsigned short swap16(unsigned short data) {return(bswap_16(data));}
 X inline unsigned int swap32(unsigned int data) {return(bswap_32(data));}
 X+#elif defined(__FreeBSD__)
 X+#include <sys/endian.h>
 X+inline unsigned short swap16(unsigned short data) {return(bswap16(data));}
 X+inline unsigned int swap32(unsigned int data) {return(bswap32(data));}
 X #else
 X inline unsigned short swap16(unsigned short data) {return((data >> 8) | (data << 8));}
 X inline unsigned int swap32(unsigned int data) {return((swap16(data) << 16) | swap16(data >> 16));}
 SHAR_END
 exit
 --- a.shar ends here ---



More information about the freebsd-ports-bugs mailing list