aboutsummaryrefslogtreecommitdiffstats
path: root/games/amoebax/Makefile
blob: 9fc820b57f96878be9191cb7737617d5c644036c (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
# 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=   4
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

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>