From owner-svn-ports-all@FreeBSD.ORG Sun Jan 19 13:49:20 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id CF2B9E8E; Sun, 19 Jan 2014 13:49:20 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id BB4FD1E75; Sun, 19 Jan 2014 13:49:20 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id s0JDnKTh028996; Sun, 19 Jan 2014 13:49:20 GMT (envelope-from miwi@svn.freebsd.org) Received: (from miwi@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id s0JDnKvN028995; Sun, 19 Jan 2014 13:49:20 GMT (envelope-from miwi@svn.freebsd.org) Message-Id: <201401191349.s0JDnKvN028995@svn.freebsd.org> From: Martin Wilke Date: Sun, 19 Jan 2014 13:49:20 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r340296 - head/emulators/tuxnes X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Jan 2014 13:49:20 -0000 Author: miwi Date: Sun Jan 19 13:49:20 2014 New Revision: 340296 URL: http://svnweb.freebsd.org/changeset/ports/340296 QAT: https://qat.redports.org/buildarchive/r340296/ Log: - Fix build with clang - Add LICENSE - Add DESKTOP_ENTRIES PR: 185310 Submitted by: Ports Fury Modified: head/emulators/tuxnes/Makefile (contents, props changed) Modified: head/emulators/tuxnes/Makefile ============================================================================== --- head/emulators/tuxnes/Makefile Sun Jan 19 13:48:29 2014 (r340295) +++ head/emulators/tuxnes/Makefile Sun Jan 19 13:49:20 2014 (r340296) @@ -3,21 +3,40 @@ PORTNAME= tuxnes PORTVERSION= 0.75 -PORTREVISION= 4 +PORTREVISION= 6 CATEGORIES= emulators MASTER_SITES= SF/${PORTNAME}/TuxNES/TuxNES%20v${PORTVERSION} MAINTAINER= ports@FreeBSD.org -COMMENT= A Nintendo Entertainment System 8-bit emulator +COMMENT= Nintendo Entertainment System 8-bit emulator + +LICENSE= GPLv2 ONLY_FOR_ARCHS= i386 ONLY_FOR_ARCHS_REASON= uses i386 assembly code +USES= compiler gmake USE_XORG= x11 ice sm xext xpm -USE_GMAKE= yes +USE_BINUTILS= yes GNU_CONFIGURE= yes -PLIST_FILES= bin/romfixer bin/tuxnes +PLIST_FILES= bin/romfixer bin/tuxnes share/pixmaps/tuxnes.xpm + +DESKTOP_ENTRIES="TuxNES" "" "${PREFIX}/share/pixmaps/tuxnes.xpm" \ + "${PORTNAME}" "" "" + +.include + +.if ${COMPILER_TYPE} == "clang" +CPPFLAGS+= -no-integrated-as +.endif + +post-patch: + @${REINPLACE_CMD} -e \ + 's|^CFLAGS=|#CFLAGS=|' ${WRKSRC}/configure + +post-install: + (cd ${WRKSRC} && ${INSTALL_DATA} tuxnes.xpm \ + ${STAGEDIR}${PREFIX}/share/pixmaps) -NO_STAGE= yes -.include +.include