svn commit: r328299 - head/games/bubble-chains
Rusmir Dusko
nemysis at FreeBSD.org
Wed Sep 25 16:31:27 UTC 2013
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 at gmx.ch
+# Created by: nemysis <nemysis at 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 at gmx.ch
+MAINTAINER= nemysis at 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
More information about the svn-ports-all
mailing list