Update games/hexalate to version 1.1.6
[dports.git] / games / pinball / Makefile
1 # Created by: thierry@pompo.net
2 # $FreeBSD$
3
4 PORTNAME=       pinball
5 PORTVERSION=    0.3.4
6 CATEGORIES=     games
7
8 MAINTAINER=     thierry@FreeBSD.org
9 COMMENT=        Emilia Pinball is a free pinball game
10
11 LICENSE=        GPLv2
12 LICENSE_FILE=   ${WRKSRC}/COPYING
13
14 LIB_DEPENDS=    libltdl.so:devel/libltdl
15
16 USE_GITHUB=     yes
17 GH_ACCOUNT=     sergiomb2
18
19 USES=           autoreconf gl gettext gmake localbase:ldflags libtool:keepla sdl xorg # .la needed for plugin loading
20 USES+=          sdl
21 USE_XORG=       ice sm
22 USE_GL=         gl glu
23 USE_SDL=        image mixer sdl
24 USE_LDCONFIG=   yes
25
26 GNU_CONFIGURE=  yes
27 CONFIGURE_ARGS= --without-debug
28
29 CPPFLAGS+=      -DRZR_LIBSTATIC
30 MAKE_JOBS_UNSAFE=yes
31
32 OPTIONS_DEFINE= DOCS
33
34 post-install.orig:
35         ${MV} ${STAGEDIR}/var/games/pinball/professor/highscores \
36                 ${STAGEDIR}/var/games/pinball/professor/highscores.sample
37         ${MV} ${STAGEDIR}/var/games/pinball/tux/highscores \
38                 ${STAGEDIR}/var/games/pinball/tux/highscores.sample
39         ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/pinball/lib*.so*
40
41 post-install-DOCS-on:
42         @${MKDIR} ${STAGEDIR}${DOCSDIR}
43         ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
44
45 .include <bsd.port.mk>