View | Details | Raw Unified | Return to bug 146233
Collapse All | Expand All

(-)graphics/Makefile (+1 lines)
Lines 31-36 Link Here
31
    SUBDIR += animorph
31
    SUBDIR += animorph
32
    SUBDIR += aoi
32
    SUBDIR += aoi
33
    SUBDIR += aolserver-nsgd
33
    SUBDIR += aolserver-nsgd
34
    SUBDIR += apngasm
34
    SUBDIR += aqsis
35
    SUBDIR += aqsis
35
    SUBDIR += asciio
36
    SUBDIR += asciio
36
    SUBDIR += autopano-sift
37
    SUBDIR += autopano-sift
(-)graphics/apngasm/Makefile (+31 lines)
Added Link Here
1
# New ports collection makefile for:	apngasm
2
# Date created:		02 May 2010
3
# Whom:			Anonymous <swell.k@gmail.com>
4
#
5
# $FreeBSD$
6
#
7
8
PORTNAME=	apngasm
9
PORTVERSION=	2.0
10
DISTVERSIONSUFFIX=-src
11
CATEGORIES=	graphics
12
MASTER_SITES=	SF/${PORTNAME}/${PORTVERSION}
13
14
MAINTAINER=	swell.k@gmail.com
15
COMMENT=	Create Animated PNG from a sequence of files
16
17
LIB_DEPENDS=	png.6:${PORTSDIR}/graphics/png
18
19
USE_ZIP=	yes
20
EXTRACT_AFTER_ARGS=-d ${WRKSRC}
21
USE_DOS2UNIX=	yes
22
PLIST_FILES=	bin/${PORTNAME}
23
24
ALL_TARGET=	${PORTNAME}
25
MAKEFILE=	/dev/null
26
CFLAGS+=	-I${LOCALBASE}/include -lpng -lz -L${LOCALBASE}/lib
27
28
do-install:	.SILENT
29
	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/
30
31
.include <bsd.port.mk>
(-)graphics/apngasm/distinfo (+3 lines)
Added Link Here
1
MD5 (apngasm-2.0-src.zip) = eacbeb064219c6e7fe490abe788ab385
2
SHA256 (apngasm-2.0-src.zip) = cc8c33c42115273dc63b7763f8c0b3ab5ec891420fb3ad794b44ade104118c19
3
SIZE (apngasm-2.0-src.zip) = 6807
(-)graphics/apngasm/pkg-descr (+4 lines)
Added Link Here
1
Standalone version of the popular APNG Assembler. Simple command-line
2
interface. No size limits.
3
4
WWW: http://sourceforge.net/projects/apngasm/
(-)graphics/apngasm/files/patch-bswap (+13 lines)
Added Link Here
1
--- apngasm.c~
2
+++ apngasm.c
3
@@ -39,6 +39,10 @@ inline unsigned int swap32(unsigned int 
4
 #include <byteswap.h>
5
 inline unsigned short swap16(unsigned short data) {return(bswap_16(data));}
6
 inline unsigned int swap32(unsigned int data) {return(bswap_32(data));}
7
+#elif defined(__FreeBSD__)
8
+#include <sys/endian.h>
9
+inline unsigned short swap16(unsigned short data) {return(bswap16(data));}
10
+inline unsigned int swap32(unsigned int data) {return(bswap32(data));}
11
 #else
12
 inline unsigned short swap16(unsigned short data) {return((data >> 8) | (data << 8));}
13
 inline unsigned int swap32(unsigned int data) {return((swap16(data) << 16) | swap16(data >> 16));}

Return to bug 146233