aboutsummaryrefslogtreecommitdiffstats
path: root/games/monsterz/Makefile
blob: 107f420588a5e9d84fb8f29cd49e448ada0eadc1 (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
# New ports collection makefile for:    monsterz
# Date created:     Fri 29 apr 2005
# Whom:         thierry@pompo.net
#
# $FreeBSD$
#

PORTNAME=   monsterz
PORTVERSION=    0.7.1
PORTREVISION=   3
CATEGORIES= games
MASTER_SITES=   http://sam.zoy.org/monsterz/

MAINTAINER= thierry@FreeBSD.org
COMMENT=    Monsterz - arcade puzzle game

LICENSE=    WTFPL
LICENSE_NAME=   Do What The [expletive] You Want To Public License, Version 2
LICENSE_FILE=   ${WRKSRC}/COPYING
LICENSE_PERMS=  ${_LICENSE_PERMS_DEFAULT}

BUILD_DEPENDS=  ${PYTHON_SITELIBDIR}/pygame/__init__.py:${PORTSDIR}/devel/py-game
RUN_DEPENDS=    ${BUILD_DEPENDS}

USE_PYTHON= yes
MAKE_ENV=   prefix=${PREFIX}

SCOREDIR=   /var/games
PLIST_SUB=  SCOREDIR=${SCOREDIR}

PORTDOCS=   AUTHORS COPYING INSTALL README TODO

post-install:
    ${STRIP_CMD} ${PREFIX}/games/monsterz
    ${LN} -sf ${PREFIX}/games/monsterz ${PREFIX}/bin
    @${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${PREFIX}/share/games/monsterz
    @${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py ${PREFIX}/share/games/monsterz
.if !defined(NOPORTDOCS)
    ${MKDIR} ${DOCSDIR}
    ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
.endif

.include <bsd.port.mk>