aboutsummaryrefslogtreecommitdiffstats
path: root/games/fbg2/Makefile
blob: 85c6a7f6737616eadbcde7d6451e53211ed84993 (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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# New Ports collection makefile for:    Falling Block Game
# Date created:     2012-05-18
# Whom:         nemysis@gmx.ch
#
# $FreeBSD$
#

PORTNAME=   fbg2
PORTVERSION=    0.4
PORTREVISION=   1
CATEGORIES= games
MASTER_SITES=   SF/fbg/

MAINTAINER= nemysis@gmx.ch
COMMENT=    Classic block-stacking arcade game

LICENSE=    GPLv2 CCbyNCSA3
LICENSE_COMB=   dual
LICENSE_NAME_CCbyNCSA3=Attribution-NonCommercial-ShareAlike 3.0 Unported
LICENSE_FILE=   ${WRKSRC}/License.txt
LICENSE_FILE_CCbyNCSA3=${WRKSRC}/License.txt
LICENSE_PERMS_CCbyNCSA3=dist-mirror pkg-mirror auto-accept

LIB_DEPENDS=    radius:${PORTSDIR}/graphics/radius-engine \
        lua-5.1:${PORTSDIR}/lang/lua \
        png15:${PORTSDIR}/graphics/png \
        physfs.1:${PORTSDIR}/devel/physfs
RUN_DEPENDS=    zip:${PORTSDIR}/archivers/zip

GNU_CONFIGURE=  yes
ALL_TARGET= ${PORTNAME}
USE_SDL=    sdl sound
USE_GL=     glu
MAKE_JOBS_SAFE= yes

PLIST_FILES=    bin/${PORTNAME} \
        share/applications/${PORTNAME}.desktop \
        share/pixmaps/${PORTNAME}.png
PLIST_DIRSTRY=  share/applications

PORTDATA=   *
PORTDOCS=   ChangeLog

.include <bsd.port.options.mk>

post-install:
.if ${PORT_OPTIONS:MDOCS}
    ${MKDIR} ${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/ChangeLog ${DOCSDIR}
.endif

.include <bsd.port.mk>