aboutsummaryrefslogtreecommitdiffstats
path: root/games/sdl-ball/Makefile
blob: 2f09b77a73fdad546d2154a9ab5a24708699d4ba (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org>
# $FreeBSD$

PORTNAME=   sdl-ball
PORTVERSION=    1.01
PORTREVISION=   7
CATEGORIES= games
MASTER_SITES=   SF

MAINTAINER= amdmi3@FreeBSD.org
COMMENT=    Arkanoid/Breakout clone with pretty graphics

USE_BZIP2=  yes
USE_SDL=    sdl mixer image ttf
USE_GL=     gl glu
MAKE_ENV=   DATADIR=${DATADIR}/

WRKSRC=     ${WRKDIR}/${PORTNAME}

PORTDOCS=   *

.include <bsd.port.options.mk>

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/sdl-ball ${PREFIX}/bin/
    ${MKDIR} ${DATADIR}
    cd ${WRKSRC}/themes && ${COPYTREE_SHARE} . ${DATADIR}/
.if ${PORT_OPTIONS:MDOCS}
    ${MKDIR} ${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/
.endif

.include <bsd.port.mk>