From owner-svn-ports-all@FreeBSD.ORG Wed Sep 25 16:31:26 2013 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id E848A293; Wed, 25 Sep 2013 16:31:26 +0000 (UTC) (envelope-from nemysis@FreeBSD.org) 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 BBD4521CC; Wed, 25 Sep 2013 16:31:26 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r8PGVQij087428; Wed, 25 Sep 2013 16:31:26 GMT (envelope-from nemysis@svn.freebsd.org) Received: (from nemysis@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r8PGVQug087427; Wed, 25 Sep 2013 16:31:26 GMT (envelope-from nemysis@svn.freebsd.org) Message-Id: <201309251631.r8PGVQug087427@svn.freebsd.org> From: Rusmir Dusko Date: Wed, 25 Sep 2013 16:31:26 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r328299 - head/games/bubble-chains 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.14 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: Wed, 25 Sep 2013 16:31:27 -0000 Author: nemysis Date: Wed Sep 25 16:31:26 2013 New Revision: 328299 URL: http://svnweb.freebsd.org/changeset/ports/328299 Log: - Change Makefile header - Change maintainer email to @FreeBSD.org - Add USE_DOS2UNIX - Change Desktop entry file - Add DOCS Option - Add post-configure, fix build with Clang - Mute dir install Approved by: wg/pawel (mentors) Modified: head/games/bubble-chains/Makefile Modified: head/games/bubble-chains/Makefile ============================================================================== --- head/games/bubble-chains/Makefile Wed Sep 25 16:05:48 2013 (r328298) +++ head/games/bubble-chains/Makefile Wed Sep 25 16:31:26 2013 (r328299) @@ -1,4 +1,4 @@ -# Created by: nemysis@gmx.ch +# Created by: nemysis # $FreeBSD$ PORTNAME= bubble-chains @@ -9,7 +9,7 @@ MASTER_SITES= http://bubble-chains.sinte DISTNAME= chains-${DISTVERSION} EXTRACT_SUFX= -src.7z -MAINTAINER= nemysis@gmx.ch +MAINTAINER= nemysis@FreeBSD.org COMMENT= The aim is to remove all of the targets on each level LICENSE= GPLv2 @@ -22,17 +22,17 @@ WRKSRC= ${WRKDIR}/chains-${PORTVERSION} USE_SDL= sdl image mixer USE_GL= glut glew glu USE_XORG= xrandr +USE_DOS2UNIX= *.pro *.cpp *.h *.ui *.ui *.rc *.htm *.dat *.css USE_QT4= moc_build qmake_build rcc_build uic_build iconengines imageformats \ corelib svg xml opengl network - PORTDOCS= README -DESKTOP_ENTRIES="Bubble Chains" "${COMMENT}" \ - "${PREFIX}/share/pixmaps/${PORTNAME}.png" \ +DESKTOP_ENTRIES="Bubble Chains" "${COMMENT}" "${PORTNAME}" \ "${PORTNAME}" "Game;ArcadeGame;" false -NO_STAGE= yes +OPTIONS_DEFINE= DOCS + .include P7ZIP_CMD= ${LOCALBASE}/bin/7z @@ -50,6 +50,11 @@ do-configure: @cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \ ${QMAKE} ${QMAKEFLAGS} PREFIX=${PREFIX} +post-configure: + @${REINPLACE_CMD} -e 's|CFLAGS =|CFLAGS ?=|' \ + -e 's|CXXFLAGS =|CXXFLAGS ?=|' \ + ${WRKSRC}/Makefile + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/bin/chains ${PREFIX}/bin/${PORTNAME} @(cd ${WRKSRC} && ${COPYTREE_SHARE} data ${DATADIR}) @@ -60,7 +65,7 @@ do-install: ${PREFIX}/share/pixmaps/${PORTNAME}.ico .if ${PORT_OPTIONS:MDOCS} - ${MKDIR} ${DOCSDIR} + @${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR} .endif