ports/172012: graphics/apngasm: Update to version 2.7
KATO Tsuguru
tkato432 at yahoo.com
Tue Sep 25 18:10:27 UTC 2012
>Number: 172012
>Category: ports
>Synopsis: graphics/apngasm: Update to version 2.7
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Tue Sep 25 18:10:27 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator: KATO Tsuguru
>Release: FreeBSD 7.4-RELEASE-p10 i386
>Organization:
>Environment:
>Description:
- Update to version 2.7
>How-To-Repeat:
>Fix:
diff -urN /usr/ports/graphics/apngasm/Makefile graphics/apngasm/Makefile
--- /usr/ports/graphics/apngasm/Makefile 2012-06-01 14:19:37.000000000 +0900
+++ graphics/apngasm/Makefile 2012-09-25 03:34:03.000000000 +0900
@@ -1,13 +1,8 @@
-# New ports collection makefile for: apngasm
-# Date created: 02 May 2010
-# Whom: Anonymous <swell.k at gmail.com>
-#
+# Created by: Anonymous <swell.k at gmail.com>
# $FreeBSD: ports/graphics/apngasm/Makefile,v 1.9 2012/06/01 05:19:37 dinoex Exp $
-#
PORTNAME= apngasm
-PORTVERSION= 2.6
-PORTREVISION= 1
+PORTVERSION= 2.7
DISTVERSIONSUFFIX=-src
CATEGORIES= graphics
MASTER_SITES= SF/${PORTNAME}/${PORTVERSION}
@@ -18,6 +13,8 @@
LICENSE= LGPL21 LGPL3
LICENSE_COMB= dual
+OPTIONS_DEFINE= STATIC DOCS
+
NO_WRKSUBDIR= yes
USE_DOS2UNIX= yes
@@ -29,13 +26,13 @@
PORTDOCS= readme.txt
PLIST_FILES= bin/${PORTNAME}
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
-.if !defined(NO_SHARED)
-LIB_DEPENDS+= png15:${PORTSDIR}/graphics/png
-.else
+.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,9 @@
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff -urN /usr/ports/graphics/apngasm/distinfo graphics/apngasm/distinfo
--- /usr/ports/graphics/apngasm/distinfo 2012-02-20 09:05:58.000000000 +0900
+++ graphics/apngasm/distinfo 2012-09-19 23:10:08.000000000 +0900
@@ -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
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list