aboutsummaryrefslogtreecommitdiffstats
path: root/french/belote/Makefile
blob: 737455a8d5df49651948828dc2a35240e9c66485 (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
# Created by: Jean-Yves Lefort <jylefort@FreeBSD.org>
# $FreeBSD$

PORTNAME=   belote
PORTVERSION=    20061109
PORTREVISION=   4
CATEGORIES= french games java
MASTER_SITES=   http://coincher.free.fr/
DISTNAME=   belote

MAINTAINER= ports@FreeBSD.org
COMMENT=    Un jeu de belote coinchée contre l'ordinateur ou en réseau

BROKEN=     Checksum and size mismatch

USES=       zip:infozip
USE_JAVA=   yes
JAVA_VERSION=   1.6+
NO_WRKSUBDIR=   yes
NO_BUILD=   yes

SUB_FILES=  belote
SUB_LIST=   JAVA="${JAVA}"

DESKTOP_ENTRIES="Belote" \
        "Jouer à la belote" \
        "${PREFIX}/share/pixmaps/belote.gif" \
        "belote" \
        "" \
        false

post-extract:
    @${UNZIP_CMD} -qo ${WRKSRC}/data.bin rsc/vp.gif -d ${WRKSRC}

do-install:
    ${INSTALL_SCRIPT} ${WRKDIR}/belote ${STAGEDIR}${PREFIX}/bin
    ${MKDIR} ${STAGEDIR}${DATADIR}
.for f in belote.jar data.bin
    ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DATADIR}
.endfor
    ${INSTALL_DATA} ${WRKSRC}/rsc/vp.gif ${STAGEDIR}${PREFIX}/share/pixmaps/belote.gif

.include <bsd.port.mk>