aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjhale <jhale@FreeBSD.org>2012-11-04 17:42:45 +0800
committerjhale <jhale@FreeBSD.org>2012-11-04 17:42:45 +0800
commit4b9a3dfb809e842c02ae38dbc5bc51b6ed42ea5e (patch)
tree6e61ce6eae23acc3b81c9419a94402bdec062947
parentc267d01e8d3f73d1544b19fecceb085fa8cdd0e1 (diff)
downloadfreebsd-ports-gnome-4b9a3dfb809e842c02ae38dbc5bc51b6ed42ea5e.tar.gz
freebsd-ports-gnome-4b9a3dfb809e842c02ae38dbc5bc51b6ed42ea5e.tar.zst
freebsd-ports-gnome-4b9a3dfb809e842c02ae38dbc5bc51b6ed42ea5e.zip
- Update to 2.7 [1]
- Update COMMENT/LICENSE [1] - Convert to new options framework [1] - Pass maintainership to submitter [1] - Trim Makefile header - Fix STATIC option PR: ports/173206 [1] Submitted by: nemysis <nemysis@gmx.ch> [1] Approved by: makc, avilla (mentors, implicit) Feature safe: yes
-rw-r--r--graphics/apngasm/Makefile40
-rw-r--r--graphics/apngasm/distinfo4
2 files changed, 21 insertions, 23 deletions
diff --git a/graphics/apngasm/Makefile b/graphics/apngasm/Makefile
index f4d5ac550df4..2ab5195a8911 100644
--- a/graphics/apngasm/Makefile
+++ b/graphics/apngasm/Makefile
@@ -1,22 +1,16 @@
-# New ports collection makefile for: apngasm
-# Date created: 02 May 2010
-# Whom: Anonymous <swell.k@gmail.com>
-#
+# Created by: Anonymous <swell.k@gmail.com>
# $FreeBSD$
-#
PORTNAME= apngasm
-PORTVERSION= 2.6
-PORTREVISION= 1
+PORTVERSION= 2.7
DISTVERSIONSUFFIX=-src
CATEGORIES= graphics
MASTER_SITES= SF/${PORTNAME}/${PORTVERSION}
-MAINTAINER= ports@FreeBSD.org
-COMMENT= Create Animated PNG from a sequence of files
+MAINTAINER= nemysis@gmx.ch
+COMMENT= Creates an APNG animation from a PNG/TGA image sequence
-LICENSE= LGPL21 LGPL3
-LICENSE_COMB= dual
+LICENSE= ZLIB
NO_WRKSUBDIR= yes
@@ -24,18 +18,21 @@ USE_DOS2UNIX= yes
USE_ZIP= yes
CPPFLAGS+= `libpng-config --I_opts`
-LDFLAGS+= `libpng-config --ldflags`
+LDFLAGS+= `libpng-config --ldflags` -lm -lz
-PORTDOCS= readme.txt
PLIST_FILES= bin/${PORTNAME}
-.include <bsd.port.pre.mk>
+PORTDOCS= readme.txt
-.if !defined(NO_SHARED)
-LIB_DEPENDS+= png15:${PORTSDIR}/graphics/png
-.else
+OPTIONS_DEFINE= DOCS STATIC
+
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MSTATIC}
BUILD_DEPENDS+= ${LOCALBASE}/lib/libpng.a:${PORTSDIR}/graphics/png
LDFLAGS+= -static
+.else
+LIB_DEPENDS+= png15:${PORTSDIR}/graphics/png
.endif
do-build:
@@ -44,9 +41,10 @@ do-build:
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
-.if !defined(NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}
+
+.if ${PORT_OPTIONS:MDOCS}
+ ${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/graphics/apngasm/distinfo b/graphics/apngasm/distinfo
index 997c99835d70..62754de920fa 100644
--- a/graphics/apngasm/distinfo
+++ b/graphics/apngasm/distinfo
@@ -1,2 +1,2 @@
-SHA256 (apngasm-2.6-src.zip) = 1d4b63e55c241c0db4a812e6cddea48586e4275b041a1e600154c2840f4ebb06
-SIZE (apngasm-2.6-src.zip) = 11350
+SHA256 (apngasm-2.7-src.zip) = af42569666cab268a20a0754191396c9d48f4e01d6e8f93c3ae1164c3c821cc3
+SIZE (apngasm-2.7-src.zip) = 11448