aboutsummaryrefslogtreecommitdiffstats
path: root/games/trackballs/Makefile
blob: ecce360b12769187e7613e1e3f56d788ba5f99f9 (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
# New ports collection makefile for:    trackballs
# Date created:             21 November 2003
# Whom:                 Adam Weinberger <adamw@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   trackballs
PORTVERSION=    1.1.4
PORTREVISION=   4
CATEGORIES= games
MASTER_SITES=   SF

MAINTAINER= ganael.laplanche@martymac.com
COMMENT=    SDL-based Marble Madness clone

LIB_DEPENDS=    guile.20:${PORTSDIR}/lang/guile
RUN_DEPENDS=    bash:${PORTSDIR}/shells/bash

USE_GL=     gl
USE_SDL=    image mixer sdl ttf
USE_GETTEXT=    yes
USE_GMAKE=  yes
GNU_CONFIGURE=  yes
USE_GNOME=  desktopfileutils
INSTALLS_ICONS= yes
CONFIGURE_ENV=  CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
MAKE_ARGS=  mkinstalldirs="${MKDIR}"

MAN6=       ${PORTNAME}.6

CPPFLAGS=   -I${LOCALBASE}/include
LDFLAGS=    -L${LOCALBASE}/lib -lintl

post-patch:
    @${REINPLACE_CMD} -e 's|install -D|$$(INSTALL)|' \
        ${WRKSRC}/share/Makefile.in

post-install:
    -@update-desktop-database

.include <bsd.port.mk>