Date: Tue, 10 Dec 2013 19:02:16 +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: r336081 - head/games/airstrike Message-ID: <201312101902.rBAJ2GO9072851@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: nemysis Date: Tue Dec 10 19:02:16 2013 New Revision: 336081 URL: http://svnweb.freebsd.org/changeset/ports/336081 Log: - Change master sites - Change desktop entry - Break lines around 80 characters Approved by: pawel / wg (mentors, implicit) Modified: head/games/airstrike/Makefile Modified: head/games/airstrike/Makefile ============================================================================== --- head/games/airstrike/Makefile Tue Dec 10 18:59:35 2013 (r336080) +++ head/games/airstrike/Makefile Tue Dec 10 19:02:16 2013 (r336081) @@ -4,7 +4,7 @@ PORTNAME= airstrike PORTVERSION= c7 CATEGORIES= games -MASTER_SITES= SF/nemysisfreebsdp/${CATEGORIES}/ +MASTER_SITES= SF/nemysisfreebsdp/${CATEGORIES}/${PORTNAME}/ DISTNAME= ${PORTNAME}-pre6a-src_freebsd_and_v${DISTVERSION} MAINTAINER= nemysis@FreeBSD.org @@ -32,13 +32,14 @@ DOC_FILES2= 1.0-features 33fps.out BUGS SUB_FILES= ${PORTNAME} \ pkg-message -DESKTOP_ENTRIES="Airstrike" "${COMMENT}" "${PORTNAME}" \ - "${PORTNAME}" "Game;ArcadeGame;" false +DESKTOP_ENTRIES="Airstrike" "" "${PORTNAME}" \ + "${PORTNAME}" "Game;ArcadeGame;" "" OPTIONS_DEFINE= DOCS post-patch: - @${REINPLACE_CMD} -e 's|CFLAGS += -DLINUX|#CFLAGS += -DLINUX|' ${WRKSRC}/src/Makefile + @${REINPLACE_CMD} -e 's|CFLAGS += -DLINUX|#CFLAGS += -DLINUX|' \ + ${WRKSRC}/src/Makefile @${FIND} ${WRKSRC} -name '*.c' -or -name '*.h' | ${XARGS} \ ${REINPLACE_CMD} -e 's|<malloc.h>|<stdlib.h>|g' @@ -47,11 +48,15 @@ do-build: do-install: ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/ - @(cd ${WRKSRC} && ${COPYTREE_SHARE} "data airstrikerc" ${STAGEDIR}${DATADIR}) +.for d in data airstrikerc + @(cd ${WRKSRC} && ${COPYTREE_SHARE} ${d} ${STAGEDIR}${DATADIR}) +.endfor ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${DATADIR} - ${LN} -sf ${WRKSRC}/data/balloon.png ${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}.png + ${LN} -sf ${WRKSRC}/data/balloon.png \ + ${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}.png - ${INSTALL_MAN} ${WRKSRC}/doc/${PORTNAME}.6 ${STAGEDIR}${MAN6PREFIX}/man/man6/ + ${INSTALL_MAN} ${WRKSRC}/doc/${PORTNAME}.6 \ + ${STAGEDIR}${MAN6PREFIX}/man/man6/ @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${DOC_FILES1:S|^|${DOCSRCDIR1}/|} ${STAGEDIR}${DOCSDIR}
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201312101902.rBAJ2GO9072851>