blob: 9a69b5029dd0ebfbf02d0a6a0a978febe606b749 (
plain)
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
44
45
46
|
# $NetBSD: Makefile,v 1.20 2012/05/16 20:41:08 marino Exp $
#
DISTNAME= glaxium_0.5
PKGNAME= ${DISTNAME:S/_/-/}
PKGREVISION= 8
CATEGORIES= games
MASTER_SITES= http://xhosxe.free.fr/glaxium/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://xhosxe.free.fr/glaxium/
COMMENT= Space-ship OpenGL shoot them up
PKG_DESTDIR_SUPPORT= user-destdir
GNU_CONFIGURE= yes
USE_TOOLS+= gmake
USE_LANGUAGES= c c++
CONFIGURE_ENV+= X11_LDFLAGS=${X_LDFLAGS:Q}
BUILD_TARGET= glaxium
SUBST_CLASSES+= bill
SUBST_STAGE.bill= post-configure
SUBST_FILES.bill= conf.h
SUBST_SED.bill= -e "s,share\/games,share,g"
SUBST_MESSAGE.bill= Fixing data path.
INSTALLATION_DIRS+= bin
INSTALL_MAKE_FLAGS+= prefix=${DESTDIR}${PREFIX} \
exec_prefix=${DESTDIR}${PREFIX} \
mandir=${DESTDIR}${PREFIX}/${PKGMANDIR}
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "DragonFly"
X_LDFLAGS= ${X11_LDFLAGS} -lm -lstdc++
.else
X_LDFLAGS= ${X11_LDFLAGS}
.endif
.include "../../audio/SDL_mixer/buildlink3.mk"
.include "../../devel/SDL/buildlink3.mk"
.include "../../graphics/MesaLib/buildlink3.mk"
.include "../../graphics/glut/buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|