aboutsummaryrefslogtreecommitdiffstats
path: root/games/cheech/Makefile
blob: 85edcf8d55adc65dbdfd095038d0447ed12de720 (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
# New ports collection makefile for:   cheech
# Date created:         18 Jul 2007
# Whom:             Yinghong.Liu <relaxbsd@gmail.com>
#
# $FreeBSD$
#

PORTNAME=   cheech
PORTVERSION=    0.8
CATEGORIES= games
MASTER_SITES=   SF
EXTRACT_SUFX=   .tgz

MAINTAINER= relaxbsd@gmail.com
COMMENT=    A multi-platform, networked Chinese Checkers game

LIB_DEPENDS=    gtkmm-2.4.1:${PORTSDIR}/x11-toolkits/gtkmm24 \
        gnet-2.0.0:${PORTSDIR}/net/gnet2

USE_GMAKE=  yes
GNU_CONFIGURE=  yes
USE_AUTOTOOLS=  automake:19:env

DESKTOP_ENTRIES=    "cheech" \
            "A networked Chinese Checkers Game" \
            "cheech" \
            "cheech" \
            "Application;Game;" \
            "false"

.if !defined(NOPORTDOCS)
INSTALL_TARGET= install install-cheechdocDATA
.endif

post-patch:
    @${REINPLACE_CMD} -e "s|doc/cheech|share/doc/cheech|g" \
        -e "s|: install-cheechdocDATA|:|g" \
        ${WRKSRC}/Makefile.in

pre-configure:
    @${LN} -sf ${AUTOMAKE_DIR}/install-sh ${WRKSRC}

.include <bsd.port.mk>