>Number: 178594 >Category: ports >Synopsis: graphics/scale2x: Update to version 3.0 >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: Mon May 13 18:10:08 UTC 2013 >Closed-Date: >Last-Modified: >Originator: KATO Tsuguru >Release: FreeBSD 7.4-RELEASE-p11 i386 >Organization: >Environment: >Description: - Update to version 3.0 >How-To-Repeat: >Fix: diff -urN /usr/ports/graphics/scale2x/Makefile graphics/scale2x/Makefile --- /usr/ports/graphics/scale2x/Makefile 2012-11-08 09:32:51.000000000 +0900 +++ graphics/scale2x/Makefile 2013-05-14 00:00:25.000000000 +0900 @@ -1,31 +1,29 @@ -# Ports collection makefile for: scale2x -# Date created: 2006/12/01 -# Whom: chinsan -# +# Created by: chinsan # $FreeBSD: head/graphics/scale2x/Makefile 300896 2012-07-14 13:54:48Z beat $ -# PORTNAME= scale2x -PORTVERSION= 2.4 -PORTREVISION= 2 +PORTVERSION= 3.0 CATEGORIES= graphics MASTER_SITES= SF MAINTAINER= ports@FreeBSD.org COMMENT= Real-time graphics effect able to increase the size of small bitmaps +LICENSE= GPLv2 # (or later) + LIB_DEPENDS= png15:${PORTSDIR}/graphics/png GNU_CONFIGURE= yes +MAKE_JOBS_SAFE= yes MAN1= scalex.1 scalerx.1 PLIST_FILES= bin/scalex bin/scalerx -CPPFLAGS+= `libpng15-config --I_opts` -LDFLAGS+= `libpng15-config --L_opts` +CPPFLAGS+= $$(libpng15-config --I_opts) +LDFLAGS+= $$(libpng15-config --L_opts) post-patch: - ${REINPLACE_CMD} -e 's|png_set_gray_1_2_4_to_8|png_set_expand_gray_1_2_4_to_8|' \ - ${WRKSRC}/file.c + @${REINPLACE_CMD} -e \ + '/<malloc.h>/d' ${WRKSRC}/scalebit.c .include <bsd.port.mk> diff -urN /usr/ports/graphics/scale2x/distinfo graphics/scale2x/distinfo --- /usr/ports/graphics/scale2x/distinfo 2012-11-08 09:32:51.000000000 +0900 +++ graphics/scale2x/distinfo 2013-05-14 00:00:25.000000000 +0900 @@ -1,2 +1,2 @@ -SHA256 (scale2x-2.4.tar.gz) = 83599b1627988c941ee9c7965b6f26a9fd2608cd1e0073f7262a858d0f4f7078 -SIZE (scale2x-2.4.tar.gz) = 223640 +SHA256 (scale2x-3.0.tar.gz) = 54f786a42472de918358bb85249ea0e0167eb52e0c0ce0cdce79ab92b9515bfb +SIZE (scale2x-3.0.tar.gz) = 244733 >Release-Note: >Audit-Trail: >Unformatted: _______________________________________________ freebsd-ports-bugs@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports-bugs To unsubscribe, send any mail to "freebsd-ports-bugs-unsubscribe@freebsd.org"
- Update to version 3.0
Responsible Changed From-To: freebsd-ports-bugs->miwi miwi@ wants this submitter's PRs (via the GNATS Auto Assign Tool)
State Changed From-To: open->feedback checksum fails any clue why ? http://po.miwibox.org:1288/bulk/latest-per-pkg/scale2x/3.0/
Here is the corrected patch.
Author: miwi Date: Tue May 21 06:17:26 2013 New Revision: 318646 URL: http://svnweb.freebsd.org/changeset/ports/318646 Log: - Update to 3.0 - Add License - Trim header PR: 178594 Submitted by: Ports Fury Modified: head/graphics/scale2x/Makefile (contents, props changed) head/graphics/scale2x/distinfo (contents, props changed) Modified: head/graphics/scale2x/Makefile ============================================================================== --- head/graphics/scale2x/Makefile Tue May 21 06:12:41 2013 (r318645) +++ head/graphics/scale2x/Makefile Tue May 21 06:17:26 2013 (r318646) @@ -1,31 +1,52 @@ -# Ports collection makefile for: scale2x -# Date created: 2006/12/01 -# Whom: chinsan -# +# Created by: chinsan # $FreeBSD$ -# PORTNAME= scale2x -PORTVERSION= 2.4 -PORTREVISION= 2 +PORTVERSION= 3.0 CATEGORIES= graphics MASTER_SITES= SF MAINTAINER= ports@FreeBSD.org COMMENT= Real-time graphics effect able to increase the size of small bitmaps +LICENSE= GPLv2 # (or later) + LIB_DEPENDS= png15:${PORTSDIR}/graphics/png +OPTIONS_DEFINE= DOCS EXAMPLES +OPTIONS_DEFINE_i386= MMX + GNU_CONFIGURE= yes +MAKE_JOBS_SAFE= yes + +CPPFLAGS+= $$(libpng15-config --I_opts) +LDFLAGS+= $$(libpng15-config --L_opts) MAN1= scalex.1 scalerx.1 +PORTDOCS= * +PORTEXAMPLES= * PLIST_FILES= bin/scalex bin/scalerx -CPPFLAGS+= `libpng15-config --I_opts` -LDFLAGS+= `libpng15-config --L_opts` +.include <bsd.port.options.mk> + +.if ${PORT_OPTIONS:MMMX} +CPPFLAGS+= -DHAVE_MMX +.endif post-patch: - ${REINPLACE_CMD} -e 's|png_set_gray_1_2_4_to_8|png_set_expand_gray_1_2_4_to_8|' \ - ${WRKSRC}/file.c + @${REINPLACE_CMD} -e \ + '/<malloc.h>/d ; \ + s|__i386__|HAVE_MMX| ; \ + s|__x86_64__|__amd64__|' ${WRKSRC}/*.[ch] + +post-install: +.if ${PORT_OPTIONS:MDOCS} + @${MKDIR} ${DOCSDIR} + (cd ${WRKSRC}/doc && ${INSTALL_DATA} *.html ${DOCSDIR}) +.endif +.if ${PORT_OPTIONS:MEXAMPLES} + @${MKDIR} ${EXAMPLESDIR} + (cd ${WRKSRC}/example && ${INSTALL_DATA} *.png ${EXAMPLESDIR}) +.endif .include <bsd.port.mk> Modified: head/graphics/scale2x/distinfo ============================================================================== --- head/graphics/scale2x/distinfo Tue May 21 06:12:41 2013 (r318645) +++ head/graphics/scale2x/distinfo Tue May 21 06:17:26 2013 (r318646) @@ -1,2 +1,2 @@ -SHA256 (scale2x-2.4.tar.gz) = 83599b1627988c941ee9c7965b6f26a9fd2608cd1e0073f7262a858d0f4f7078 -SIZE (scale2x-2.4.tar.gz) = 223640 +SHA256 (scale2x-3.0.tar.gz) = 00cd8fb45a5d426149bec0b67104a260f5f8c3fc04ccf53c0d1133e13a36739e +SIZE (scale2x-3.0.tar.gz) = 244737 _______________________________________________ svn-ports-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-ports-all To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
State Changed From-To: feedback->closed Committed. Thanks!