1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00
freebsd-ports/games/sdl-ball/Makefile
Dmitry Marakasov e526706bc5 - Add USES=gl
- Add USES=sdl
- Update WWW
2019-04-25 14:21:48 +00:00

45 lines
1.2 KiB
Makefile

# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org>
# $FreeBSD$
PORTNAME= sdl-ball
PORTVERSION= 1.03
PORTREVISION= 1
CATEGORIES= games
MASTER_SITES= SF
DISTNAME= SDL-Ball_${PORTVERSION}_build-6_src
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Arkanoid/Breakout clone with pretty graphics
LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
WRKSRC= ${WRKDIR}/SDL-Ball_source_build_0006_src
USES= dos2unix gl gmake sdl tar:xz
USE_SDL= sdl mixer image ttf
USE_GL= gl glu
MAKE_ENV= DATADIR=${DATADIR}/
DOS2UNIX_FILES= main.cpp menu.cpp
PLIST_FILES= bin/${PORTNAME} \
share/applications/${PORTNAME}.desktop \
share/pixmaps/${PORTNAME}.png
PORTDOCS= *
PORTDATA= *
OPTIONS_DEFINE= DOCS
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
@${MKDIR} ${STAGEDIR}${DATADIR}
cd ${WRKSRC}/themes && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/
${INSTALL_DATA} ${WRKSRC}/themes/default/icon32.png ${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}.png
${INSTALL_DATA} ${WRKSRC}/sdl-ball.desktop ${STAGEDIR}${PREFIX}/share/applications/
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}/
.include <bsd.port.mk>