aboutsummaryrefslogtreecommitdiffstats
path: root/games/sdlCC/Makefile
blob: 21bd01b57271ec2e79041cc4d6bddd11efa0ea13 (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
# Created by: Frank W. Josellis <frank@dynamical-systems.org>
# $FreeBSD$

PORTNAME=   sdlCC
PORTVERSION=    0.0.1
PORTREVISION=   2
CATEGORIES= games
MASTER_SITES=   http://jcatki.no-ip.org/files/

MAINTAINER= ports@FreeBSD.org
COMMENT=    Extensible Chinese checkers game using SDL

LICENSE=    GPLv2

BROKEN=     unfetchable

USES=       libtool:keepla # ltdl used, .la may be needed to load plugins
USE_SDL=    image mixer sdl
GNU_CONFIGURE=  yes
MAKE_ENV=   INSTALL_STRIP_FLAG=${STRIP}

PORTDOCS=   *
OPTIONS_DEFINE= DOCS

DESKTOP_ENTRIES="Chinese Checkers" "" "${PORTNAME}" \
        "${PORTNAME}" "Game;ArcadeGame;" ""

post-install:
    @${MKDIR} ${STAGEDIR}${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/players/README ${STAGEDIR}${DOCSDIR}/README.players
    ${LN} -sf /usr/local/lib/sdlCC/images/CC.png \
        ${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}.png

.include <bsd.port.mk>