aboutsummaryrefslogtreecommitdiffstats
path: root/games/trophy/Makefile
blob: 049b17134fa276fcfb028d5338f57c2abbe83660 (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
# New ports collection makefile for:    trophy
# Date created:         2004-01-24
# Whom:             Jean-Yves Lefort <jylefort@brutele.be>
#
# $FreeBSD$
#

PORTNAME=   trophy
PORTVERSION=    2.0.3
PORTREVISION=   1
CATEGORIES= games
MASTER_SITES=   SF

MAINTAINER= makc@FreeBSD.org
COMMENT=    A single player racing game

LICENSE=    GPLv2

LIB_DEPENDS=    clanCore-0.8:${PORTSDIR}/devel/clanlib

GNU_CONFIGURE=  yes
CONFIGURE_ENV+= LIBS="-L${LOCALBASE}/lib"
CPPFLAGS+=  -I${LOCALBASE}/include

MAN6=   trophy.6

PORTDOCS=   AUTHORS COPYING ChangeLog README TODO

.include <bsd.port.options.mk>

pre-configure:
    ${REINPLACE_CMD} -e "/^icondir =/s,icons,pixmaps," \
        ${WRKSRC}/resources/Makefile.in

post-install:
.if ${PORT_OPTIONS:MDOCS}
    ${MKDIR} ${DOCSDIR} && \
    cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
.endif

.include <bsd.port.mk>