aboutsummaryrefslogtreecommitdiffstats
path: root/games/mari0/Makefile
blob: a0b60ba20cb07a3646742f45e19caef3c4d9d417 (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
# Created by: Mahdi Mokhtari <mokhi64@gmail.com>
# $FreeBSD$

PORTNAME=   mari0
PORTVERSION=    1.6
CATEGORIES= games
MASTER_SITES=   http://stabyourself.net/dl.php?file=${PORTNAME}-${PORTVERSION:C/\./00/}/
DISTNAME=   ${PORTNAME}-source
DIST_SUBDIR=    ${PORTNAME}-${PORTVERSION}

MAINTAINER= mmokhi@FreeBSD.org
COMMENT=    Nintendo\'s Super Mario Bros and Valve\'s Portal at same time

LICENSE=    CC-BY-NC-SA-3.0

RUN_DEPENDS=    love:devel/love

USES=       zip
NO_BUILD=   yes
NO_ARCH=    yes

SUB_FILES=  mari0
SUB_LIST+=  PORTNAME=${PORTNAME} PORTVERSION=${PORTVERSION}

PLIST_FILES=    bin/mari0
PORTDOCS=   *
PORTDATA=   *

OPTIONS_DEFINE= DOCS

do-install:
    ${MKDIR} ${STAGEDIR}${DATADIR}
    ${INSTALL_DATA} ${WRKDIR}/${PORTNAME}_${PORTVERSION}.love \
        ${STAGEDIR}${DATADIR}/
    ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin

post-install-DOCS-on:
    ${MKDIR} ${STAGEDIR}${DOCSDIR}
    ${INSTALL_DATA} ${WRKDIR}/readme.txt ${STAGEDIR}${DOCSDIR}/

.include <bsd.port.mk>