Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 Nov 2012 09:42:46 +0000 (UTC)
From:      "Jason E. Hale" <jhale@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r306958 - head/graphics/apngasm
Message-ID:  <201211040942.qA49gk41048685@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jhale
Date: Sun Nov  4 09:42:45 2012
New Revision: 306958
URL: http://svn.freebsd.org/changeset/ports/306958

Log:
  - 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

Modified:
  head/graphics/apngasm/Makefile   (contents, props changed)
  head/graphics/apngasm/distinfo   (contents, props changed)

Modified: head/graphics/apngasm/Makefile
==============================================================================
--- head/graphics/apngasm/Makefile	Sun Nov  4 09:36:43 2012	(r306957)
+++ head/graphics/apngasm/Makefile	Sun Nov  4 09:42:45 2012	(r306958)
@@ -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>

Modified: head/graphics/apngasm/distinfo
==============================================================================
--- head/graphics/apngasm/distinfo	Sun Nov  4 09:36:43 2012	(r306957)
+++ head/graphics/apngasm/distinfo	Sun Nov  4 09:42:45 2012	(r306958)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201211040942.qA49gk41048685>