- Bump PORTREVISION for dependency change

- Remove dependency for devel/desktop-file-utils
- Simplify DOCS installation handling
This commit is contained in:
Rusmir Dusko 2014-03-28 09:06:13 +00:00
parent f22d977bf3
commit 467d67971c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=349398

View file

@ -3,6 +3,7 @@
PORTNAME= airstrike
PORTVERSION= c7
PORTREVISION= 1
CATEGORIES= games
MASTER_SITES= SF/nemysisfreebsdp/${CATEGORIES}/${PORTNAME}/
DISTNAME= ${PORTNAME}-pre6a-src_freebsd_and_v${DISTVERSION}
@ -14,7 +15,7 @@ LICENSE= GPLv2
WRKSRC= ${WRKDIR}/${PORTNAME}-pre6a-src
USES= gmake desktop-file-utils
USES= gmake
USE_SDL= image mixer sdl
ALL_TARGET=
INSTALLS_ICONS= yes
@ -29,14 +30,13 @@ DOCSDIR2= ${DOCSDIR}/doc
DOC_FILES2= 1.0-features 33fps.out BUGS TODO WHISHLIST *.txt \
collisions.tm design.dia design.pdf fun.ps
SUB_FILES= ${PORTNAME} \
pkg-message
OPTIONS_DEFINE= DOCS
SUB_FILES= ${PORTNAME} pkg-message
DESKTOP_ENTRIES="Airstrike" "" "${PORTNAME}" \
"${PORTNAME}" "Game;ArcadeGame;" ""
OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -e 's|CFLAGS += -DLINUX|#CFLAGS += -DLINUX|' \
${WRKSRC}/src/Makefile
@ -44,7 +44,7 @@ post-patch:
${REINPLACE_CMD} -e 's|<malloc.h>|<stdlib.h>|g'
do-build:
@(cd ${WRKSRC} ; ${GMAKE} airstrike-sound)
@(cd ${WRKSRC} && ${GMAKE} airstrike-sound)
do-install:
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
@ -58,9 +58,8 @@ do-install:
${INSTALL_MAN} ${WRKSRC}/doc/${PORTNAME}.6 \
${STAGEDIR}${MAN6PREFIX}/man/man6/
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${DOC_FILES1:S|^|${DOCSRCDIR1}/|} ${STAGEDIR}${DOCSDIR}
@${MKDIR} ${STAGEDIR}${DOCSDIR2}
${INSTALL_DATA} ${DOC_FILES1:S|^|${DOCSRCDIR1}/|} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${DOC_FILES2:S|^|${DOCSRCDIR2}/|} ${STAGEDIR}${DOCSDIR2}
.include <bsd.port.mk>