blob: 52a0787891eb33aefd5cdeecf8a321ffd9819728 (
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
|
# $NetBSD: Makefile,v 1.4 2020/03/20 11:57:41 nia Exp $
DISTNAME= foobillardplus-3.42beta
PKGNAME= ${DISTNAME:S/beta/b/}
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=foobillardplus/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://foobillardplus.sourceforge.net/
COMMENT= Free OpenGL-billard game
LICENSE= gnu-gpl-v2
GNU_CONFIGURE= yes
USE_TOOLS+= automake autoconf autoreconf
CONFIGURE_ARGS+= --enable-standard
CONFIGURE_ARGS+= --disable-fastmath
LDFLAGS.SunOS+= -lsocket -lnsl
SUBST_CLASSES+= fix-datadir
SUBST_STAGE.fix-datadir= pre-configure
SUBST_MESSAGE.fix-datadir= fixing datadir
SUBST_FILES.fix-datadir= src/sys_stuff.c
SUBST_SED.fix-datadir= -e 's,@DATADIR@,${PREFIX}/share/foobillardplus/data,g'
pre-configure:
cd ${WRKSRC} && autoreconf -vif
.include "../../audio/SDL_mixer/buildlink3.mk"
.include "../../graphics/freetype2/buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
.include "../../graphics/MesaLib/buildlink3.mk"
.include "../../net/SDL_net/buildlink3.mk"
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
.include "../../x11/libICE/buildlink3.mk"
.include "../../x11/libX11/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|