aboutsummaryrefslogtreecommitdiffstats
path: root/games/volleyball/Makefile
blob: d8bf77625b16130515dfb7a46b3dc0594e93a142 (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
53
54
55
# New ports collection makefile for:    volleyball
# Date created:     09 Oct 2005
# Whom:         Dmitry Marakasov <amdmi3@amdmi3.ru>
#
# $FreeBSD$
#

PORTNAME=   volleyball
PORTVERSION=    0.8.6
PORTREVISION=   7
CATEGORIES= games
MASTER_SITES=   http://www.losersjuegos.com.ar/_media/juegos/volleyball/descargas/ \
        http://mirror.amdmi3.ru/distfiles/
DISTFILES=  ${DISTNAME}${EXTRACT_SUFX} \
        ${PORTNAME}-data-${DATAVERSION}${EXTRACT_SUFX}

MAINTAINER= amdmi3@FreeBSD.org
COMMENT=    A game similar to GNU Arcade Volleyball

USE_SDL=    sdl image mixer
USE_GMAKE=  yes
GNU_CONFIGURE=  yes
USE_GETTEXT=    yes
LDFLAGS+=   -L${LOCALBASE}/lib -lintl
CONFIGURE_ARGS= --mandir="${MANPREFIX}/man" --disable-nls # strangeness in nls support
MAKE_JOBS_SAFE= yes

PORTDOCS=   README
MAN6=       volleyball.6

DATAVERSION=    0.8.5

DESKTOP_ENTRIES="Pocket Volleyball" \
        "A game similar to GNU Arcade Volleyball" \
        "" \
        "volleyball" \
        "Game;SportsGame;ArcadeGame;" \
        false

post-configure:
    cd ${WRKDIR}/${PORTNAME}-data-${DATAVERSION} && \
        ${SETENV} ${CONFIGURE_ENV} ./${CONFIGURE_SCRIPT} ${CONFIGURE_ARGS}

post-install:
    cd ${WRKDIR}/${PORTNAME}-data-${DATAVERSION} && \
        ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${INSTALL_TARGET}

.if !defined(NOPORTDOCS)
    ${MKDIR} ${DOCSDIR}
.for f in ${PORTDOCS}
    ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}/
.endfor
.endif

.include <bsd.port.mk>