From owner-svn-ports-head@FreeBSD.ORG Tue May 21 06:17:27 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id B8F70A4D; Tue, 21 May 2013 06:17:27 +0000 (UTC) (envelope-from miwi@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 9205F266; Tue, 21 May 2013 06:17:27 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.6/8.14.6) with ESMTP id r4L6HRsp045002; Tue, 21 May 2013 06:17:27 GMT (envelope-from miwi@svn.freebsd.org) Received: (from miwi@localhost) by svn.freebsd.org (8.14.6/8.14.5/Submit) id r4L6HRku045000; Tue, 21 May 2013 06:17:27 GMT (envelope-from miwi@svn.freebsd.org) Message-Id: <201305210617.r4L6HRku045000@svn.freebsd.org> From: Martin Wilke Date: Tue, 21 May 2013 06:17:27 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r318646 - head/graphics/scale2x X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 May 2013 06:17:27 -0000 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 + +.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 \ + '//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 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