diff -urN /usr/ports/graphics/apngasm/Makefile graphics/apngasm/Makefile --- /usr/ports/graphics/apngasm/Makefile 2011-12-27 02:54:22.000000000 +0900 +++ graphics/apngasm/Makefile 2012-01-14 21:53:58.000000000 +0900 @@ -6,7 +6,7 @@ # PORTNAME= apngasm -PORTVERSION= 2.3 +PORTVERSION= 2.5 DISTVERSIONSUFFIX=-src CATEGORIES= graphics MASTER_SITES= SF/${PORTNAME}/${PORTVERSION} @@ -14,20 +14,18 @@ MAINTAINER= ports@FreeBSD.org COMMENT= Create Animated PNG from a sequence of files -USE_ZIP= yes -USE_DOS2UNIX= yes -NO_WRKSUBDIR= yes - LICENSE= LGPL21 LGPL3 LICENSE_COMB= dual -ALL_TARGET= ${PORTNAME} -MAKEFILE= /dev/null -MAKE_ENV+= LDLIBS="${LDLIBS}" -CFLAGS+= -I${LOCALBASE}/include -LDFLAGS+= -L${LOCALBASE}/lib -LDLIBS+= -lpng -lm -lz +NO_WRKSUBDIR= yes +USE_ZIP= yes +USE_DOS2UNIX= yes + +CPPFLAGS+= `pkg-config --cflags libpng` +LDFLAGS+= `pkg-config --libs libpng` + +PORTDOCS= readme.txt PLIST_FILES= bin/${PORTNAME} .include @@ -39,7 +37,15 @@ LDFLAGS+= -static .endif +do-build: + cd ${WRKSRC} && ${CC} ${CFLAGS} ${CPPFLAGS} ${PORTNAME}.c \ + -o ${PORTNAME} ${LDFLAGS} + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin +.if !defined(NOPORTDOCS) + @${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR} +.endif .include diff -urN /usr/ports/graphics/apngasm/distinfo graphics/apngasm/distinfo --- /usr/ports/graphics/apngasm/distinfo 2011-03-10 05:41:45.000000000 +0900 +++ graphics/apngasm/distinfo 2012-01-14 21:54:35.000000000 +0900 @@ -1,2 +1,2 @@ -SHA256 (apngasm-2.3-src.zip) = d3f13ac5800f69f3fbcfc00800f7a985273c775a800a92e26841af31ad6ab5bf -SIZE (apngasm-2.3-src.zip) = 10540 +SHA256 (apngasm-2.5-src.zip) = e5346948f2a51328161b3ef0d2c8111cd7289c7b4ac48e72db3a617cfb4f24c5 +SIZE (apngasm-2.5-src.zip) = 11333