diff options
author | nemysis <nemysis@FreeBSD.org> | 2014-04-09 07:34:06 +0800 |
---|---|---|
committer | nemysis <nemysis@FreeBSD.org> | 2014-04-09 07:34:06 +0800 |
commit | c8d94bf4b54fb6429bd26ccbcd6f7b51c73301d1 (patch) | |
tree | 025fe6d6875f52151ee498f659e66e559316d7e7 /games | |
parent | 4b9d0caec96e82ca254ec6c6f70c49f6601667d6 (diff) | |
download | freebsd-ports-gnome-c8d94bf4b54fb6429bd26ccbcd6f7b51c73301d1.tar.gz freebsd-ports-gnome-c8d94bf4b54fb6429bd26ccbcd6f7b51c73301d1.tar.zst freebsd-ports-gnome-c8d94bf4b54fb6429bd26ccbcd6f7b51c73301d1.zip |
- Change Makefile header, use my name and @FreeBSD.org email
- Change master sites and icon
- Use dos2unix instead of USE_DOS2UNIX
- Change Desktop entry file
- Change REINPLACE, cosmetical changes
- Break lines around 80 characters
Diffstat (limited to 'games')
-rw-r--r-- | games/bubble-chains/Makefile | 36 | ||||
-rw-r--r-- | games/bubble-chains/distinfo | 2 |
2 files changed, 22 insertions, 16 deletions
diff --git a/games/bubble-chains/Makefile b/games/bubble-chains/Makefile index 5d549e16b3c7..23b262b30619 100644 --- a/games/bubble-chains/Makefile +++ b/games/bubble-chains/Makefile @@ -1,13 +1,16 @@ -# Created by: nemysis <nemysis@gmx.ch> +# Created by: Rusmir Dusko <nemysis@FreeBSD.org> # $FreeBSD$ PORTNAME= bubble-chains PORTVERSION= 0.1.1 PORTREVISION= 5 CATEGORIES= games -MASTER_SITES= http://bubble-chains.sintegrial.com/files/ -DISTNAME= chains-${DISTVERSION} +MASTER_SITES= http://bubble-chains.sintegrial.com/files/ \ + SF/nemysisfreebsdp/${CATEGORIES}/:icons +DISTFILES= chains-${DISTVERSION}${EXTRACT_SUFX} \ + ${PORTNAME}.png:icons EXTRACT_SUFX= -src.7z +EXTRACT_ONLY= chains-${DISTVERSION}${EXTRACT_SUFX} MAINTAINER= nemysis@FreeBSD.org COMMENT= The aim is to remove all of the targets on each level @@ -17,24 +20,23 @@ LICENSE= GPLv2 EXTRACT_DEPENDS= 7z:${PORTSDIR}/archivers/p7zip BUILD_DEPENDS= 7z:${PORTSDIR}/archivers/p7zip -WRKSRC= ${WRKDIR}/chains-${PORTVERSION}-src +WRKSRC= ${WRKDIR}/chains-${DISTVERSION}-src -USES= qmake +USES= dos2unix qmake +DOS2UNIX_GLOB= *.pro *.cpp *.h *.ui *.ui *.rc *.htm *.dat *.css 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 rcc_build uic_build iconengines_run imageformats_run \ corelib svg xml opengl network LDFLAGS+= -L${LOCALBASE}/lib -lX11 -lSDL-1.2 PORTDOCS= README - -DESKTOP_ENTRIES="Bubble Chains" "${COMMENT}" "${PORTNAME}" \ - "${PORTNAME}" "Game;ArcadeGame;" true - OPTIONS_DEFINE= DOCS +DESKTOP_ENTRIES="Bubble Chains" "" "${PORTNAME}" \ + "${PORTNAME}" "Game;ArcadeGame;" "" + .include <bsd.port.options.mk> P7ZIP_CMD= ${LOCALBASE}/bin/7z @@ -42,23 +44,25 @@ P7ZIP_ARGS= x -o${WRKDIR} do-extract: @${MKDIR} ${WRKDIR} - @${P7ZIP_CMD} ${P7ZIP_ARGS} ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} + @${P7ZIP_CMD} ${P7ZIP_ARGS} \ + ${_DISTDIR}/chains-${DISTVERSION}${EXTRACT_SUFX} post-patch: @${REINPLACE_CMD} -e 's|/usr/local/games/chains|${DATADIR}|' \ ${WRKSRC}/main.cpp ${WRKSRC}/Game.pro post-configure: - @${REINPLACE_CMD} -e 's|CFLAGS =|CFLAGS ?=|' \ - -e 's|CXXFLAGS =|CXXFLAGS ?=|' \ + @${REINPLACE_CMD} -e 's|CFLAGS =|CFLAGS ?=|; \ + s|CXXFLAGS =|CXXFLAGS ?=|' \ ${WRKSRC}/Makefile do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/bin/chains ${STAGEDIR}${PREFIX}/bin/${PORTNAME} + ${INSTALL_PROGRAM} ${WRKSRC}/bin/chains \ + ${STAGEDIR}${PREFIX}/bin/${PORTNAME} @(cd ${WRKSRC} && ${COPYTREE_SHARE} data ${STAGEDIR}${DATADIR}) - ${INSTALL_DATA} ${WRKSRC}/images/logo.png \ - ${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}.png + ${INSTALL_DATA} ${_DISTDIR}/${PORTNAME}.png \ + ${STAGEDIR}${PREFIX}/share/pixmaps/ ${INSTALL_DATA} ${WRKSRC}/icon.ico \ ${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}.ico diff --git a/games/bubble-chains/distinfo b/games/bubble-chains/distinfo index 6f860b296590..99c4b643f4c3 100644 --- a/games/bubble-chains/distinfo +++ b/games/bubble-chains/distinfo @@ -1,2 +1,4 @@ SHA256 (chains-0.1.1-src.7z) = c1c487c51e8cba1640a49497debe5962f692e17df1272994c5dfaee9d6eb304f SIZE (chains-0.1.1-src.7z) = 3282431 +SHA256 (bubble-chains.png) = 7976b8b0dd6b37abcfeb4743580ba570faffe53f862547c37cd2f3e21682f8f4 +SIZE (bubble-chains.png) = 4918 |