aboutsummaryrefslogtreecommitdiffstats
path: root/games/amoebax/Makefile
blob: 7460ba68fcec6144903569c1394753749f259ea7 (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
# New ports collection makefile for:    amoebax
# Date created:     15 Aug 2007
# Whom:         Dmitry Marakasov <amdmi3@amdmi3.ru>
#
# $FreeBSD$
#

PORTNAME=   amoebax
PORTVERSION=    0.2.1
PORTREVISION=   5
CATEGORIES= games
MASTER_SITES=   http://www.emma-soft.com/games/amoebax/download/ \
        http://mirror.amdmi3.ru/distfiles/

MAINTAINER= amdmi3@FreeBSD.org
COMMENT=    Cute and addictive Puyo Puyo like game

LICENSE=    GPLv2 FAL
LICENSE_COMB=   dual
LICENSE_NAME_FAL=   Free Art License, version 1.2
LICENSE_FILE_FAL=   ${WRKSRC}/COPYING.LAL
LICENSE_PERMS_FAL=  ${_LICENSE_PERMS_DEFAULT}

USE_BZIP2=  yes
GNU_CONFIGURE=  yes
USE_GMAKE=  yes
USE_SDL=    sdl mixer image

MAN6=       amoebax.6

PORTDOCS=   *

post-patch:
    @${REINPLACE_CMD} -e '/^SUBDIRS =/s|doc||' ${WRKSRC}/Makefile.in
    @${REINPLACE_CMD} -e 's|datarootdir|datadir|' ${WRKSRC}/data/Makefile.in
    @${FIND} ${WRKSRC}/ -name Makefile.in|${XARGS}\
        ${REINPLACE_CMD} -e '/^pkgdatadir =/s|=.*|= ${DATADIR}|'

.if !defined(NOPORTDOCS)
post-install:
    ${MKDIR} ${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/doc/manual.pdf ${DOCSDIR}
.endif

.include <bsd.port.mk>