- 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
This commit is contained in:
Jason E. Hale 2012-11-04 09:42:45 +00:00
parent 5b1ca30149
commit c8cf966c2b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=306958
2 changed files with 21 additions and 23 deletions

View file

@ -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>

View file

@ -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