View | Details | Raw Unified | Return to bug 164158 | Differences between
and this patch

Collapse All | Expand All

(-)graphics/apngasm/Makefile (-11 / +17 lines)
Lines 6-12 Link Here
6
#
6
#
7
7
8
PORTNAME=	apngasm
8
PORTNAME=	apngasm
9
PORTVERSION=	2.3
9
PORTVERSION=	2.5
10
DISTVERSIONSUFFIX=-src
10
DISTVERSIONSUFFIX=-src
11
CATEGORIES=	graphics
11
CATEGORIES=	graphics
12
MASTER_SITES=	SF/${PORTNAME}/${PORTVERSION}
12
MASTER_SITES=	SF/${PORTNAME}/${PORTVERSION}
Lines 14-33 Link Here
14
MAINTAINER=	ports@FreeBSD.org
14
MAINTAINER=	ports@FreeBSD.org
15
COMMENT=	Create Animated PNG from a sequence of files
15
COMMENT=	Create Animated PNG from a sequence of files
16
16
17
USE_ZIP=	yes
18
USE_DOS2UNIX=	yes
19
NO_WRKSUBDIR=	yes
20
21
LICENSE=	LGPL21 LGPL3
17
LICENSE=	LGPL21 LGPL3
22
LICENSE_COMB=	dual
18
LICENSE_COMB=	dual
23
19
24
ALL_TARGET=	${PORTNAME}
20
NO_WRKSUBDIR=	yes
25
MAKEFILE=	/dev/null
26
MAKE_ENV+=	LDLIBS="${LDLIBS}"
27
CFLAGS+=	-I${LOCALBASE}/include
28
LDFLAGS+=	-L${LOCALBASE}/lib
29
LDLIBS+=	-lpng -lm -lz
30
21
22
USE_ZIP=	yes
23
USE_DOS2UNIX=	yes
24
25
CPPFLAGS+=	`pkg-config --cflags libpng`
26
LDFLAGS+=	`pkg-config --libs libpng`
27
28
PORTDOCS=	readme.txt
31
PLIST_FILES=	bin/${PORTNAME}
29
PLIST_FILES=	bin/${PORTNAME}
32
30
33
.include <bsd.port.pre.mk>
31
.include <bsd.port.pre.mk>
Lines 39-45 Link Here
39
LDFLAGS+=	-static
37
LDFLAGS+=	-static
40
.endif
38
.endif
41
39
40
do-build:
41
	cd ${WRKSRC} && ${CC} ${CFLAGS} ${CPPFLAGS} ${PORTNAME}.c \
42
		-o ${PORTNAME} ${LDFLAGS}
43
42
do-install:
44
do-install:
43
	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
45
	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
46
.if !defined(NOPORTDOCS)
47
	@${MKDIR} ${DOCSDIR}
48
	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}
49
.endif
44
50
45
.include <bsd.port.post.mk>
51
.include <bsd.port.post.mk>
(-)graphics/apngasm/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (apngasm-2.3-src.zip) = d3f13ac5800f69f3fbcfc00800f7a985273c775a800a92e26841af31ad6ab5bf
1
SHA256 (apngasm-2.5-src.zip) = e5346948f2a51328161b3ef0d2c8111cd7289c7b4ac48e72db3a617cfb4f24c5
2
SIZE (apngasm-2.3-src.zip) = 10540
2
SIZE (apngasm-2.5-src.zip) = 11333

Return to bug 164158