aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornemysis <nemysis@FreeBSD.org>2013-12-11 03:02:16 +0800
committernemysis <nemysis@FreeBSD.org>2013-12-11 03:02:16 +0800
commit9c8c5b0b4bb2d5810e95359243e68742d26beac8 (patch)
treeb9a0b7a85080ec407b799b85d2d15d6a292c6546
parent2e244dc609ed3e1e1e4bb12ca79e46c2079e29c4 (diff)
downloadfreebsd-ports-gnome-9c8c5b0b4bb2d5810e95359243e68742d26beac8.tar.gz
freebsd-ports-gnome-9c8c5b0b4bb2d5810e95359243e68742d26beac8.tar.zst
freebsd-ports-gnome-9c8c5b0b4bb2d5810e95359243e68742d26beac8.zip
- Change master sites
- Change desktop entry - Break lines around 80 characters Approved by: pawel / wg (mentors, implicit)
-rw-r--r--games/airstrike/Makefile19
1 files changed, 12 insertions, 7 deletions
diff --git a/games/airstrike/Makefile b/games/airstrike/Makefile
index 109745050018..f24c16be6ec9 100644
--- a/games/airstrike/Makefile
+++ b/games/airstrike/Makefile
@@ -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 TODO WHISHLIST *.txt \
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}