Date: Wed, 25 Sep 2013 16:31:26 +0000 (UTC) From: Rusmir Dusko <nemysis@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r328299 - head/games/bubble-chains Message-ID: <201309251631.r8PGVQug087427@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <nemysis@gmx.ch> # $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 <bsd.port.options.mk> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201309251631.r8PGVQug087427>