mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-25 00:51:21 +00:00
8fa9fdbac6
- Support STAGEDIR
41 lines
971 B
Makefile
41 lines
971 B
Makefile
# Created by: Rusmir Dusko <nemysis@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= arkanoidsb
|
|
PORTVERSION= 1.3.2.10
|
|
CATEGORIES= games
|
|
MASTER_SITES= http://www.wegroup.org/downloads/
|
|
|
|
MAINTAINER= nemysis@FreeBSD.org
|
|
COMMENT= Arkanoid and space game
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
|
|
|
USE_BZIP2= yes
|
|
NO_WRKSUBDIR= yes
|
|
NO_BUILD= yes
|
|
USE_LINUX= yes
|
|
USE_LINUX_APPS= libogg sdlmixer sdlimage
|
|
|
|
SUB_FILES= ${PORTNAME}.sh
|
|
|
|
PORTDOCS= README
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
DESKTOP_ENTRIES="Arkanoid: Space Ball" "" "${PORTNAME}" \
|
|
"${PORTNAME}" "Game;ArcadeGame;" ""
|
|
|
|
do-install:
|
|
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}.sh \
|
|
${STAGEDIR}${PREFIX}/bin/${PORTNAME}
|
|
@(cd ${WRKSRC} && ${COPYTREE_SHARE} res ${STAGEDIR}${DATADIR})
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${DATADIR}
|
|
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.png \
|
|
${STAGEDIR}${PREFIX}/share/pixmaps/
|
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|