diff options
author | miwi <miwi@FreeBSD.org> | 2012-01-29 04:24:54 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2012-01-29 04:24:54 +0800 |
commit | 9f2feee83907fe561cb89b2379f227cdc19a6234 (patch) | |
tree | bf2bf743551b4d2a01aa5ee8412ac07d6f723c2a /graphics/apngasm | |
parent | d5eec87ec63c33b87491509b5d95e898de160e4c (diff) | |
download | freebsd-ports-gnome-9f2feee83907fe561cb89b2379f227cdc19a6234.tar.gz freebsd-ports-gnome-9f2feee83907fe561cb89b2379f227cdc19a6234.tar.zst freebsd-ports-gnome-9f2feee83907fe561cb89b2379f227cdc19a6234.zip |
- Update to 2.5
PR: 164158
Submitted by: Ports Fury
Diffstat (limited to 'graphics/apngasm')
-rw-r--r-- | graphics/apngasm/Makefile | 28 | ||||
-rw-r--r-- | graphics/apngasm/distinfo | 4 |
2 files changed, 19 insertions, 13 deletions
diff --git a/graphics/apngasm/Makefile b/graphics/apngasm/Makefile index e715b4097d8d..2ec83d4bd2fb 100644 --- a/graphics/apngasm/Makefile +++ b/graphics/apngasm/Makefile @@ -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 @@ MASTER_SITES= SF/${PORTNAME}/${PORTVERSION} 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+= `libpng-config --I_opts` +LDFLAGS+= `libpng-config --ldflags` + +PORTDOCS= readme.txt PLIST_FILES= bin/${PORTNAME} .include <bsd.port.pre.mk> @@ -39,7 +37,15 @@ BUILD_DEPENDS+= ${LOCALBASE}/lib/libpng.a:${PORTSDIR}/graphics/png 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 <bsd.port.post.mk> diff --git a/graphics/apngasm/distinfo b/graphics/apngasm/distinfo index a71fa6771a7a..7aac4b637408 100644 --- a/graphics/apngasm/distinfo +++ b/graphics/apngasm/distinfo @@ -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 |