blob: b6fbc6be2f91aa4e4cf479e6e92522de4f5799e8 (
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
|
# $NetBSD: Makefile,v 1.32 2015/04/25 14:23:01 tnn Exp $
DISTNAME= neverball-1.6.0
PKGREVISION= 1
CATEGORIES= games
MASTER_SITES= http://neverball.org/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://neverball.org/
COMMENT= Puzzle/action game similar to Super Monkey Ball
USE_TOOLS+= gmake pax
# Avoiding multiples patches...
BUILDLINK_FNAME_TRANSFORM.SDL+= -e "s|/SDL/|/|g"
BUILDLINK_FNAME_TRANSFORM.SDL_ttf+= -e "s|/SDL/|/|g"
MAKE_ENV+= ENABLE_NLS=0
SHAREDIR= ${PREFIX}/share/${PKGBASE}
INSTALLATION_DIRS= bin share/doc/${PKGBASE} share/${PKGBASE}
LDFLAGS.DragonFly= -lX11 -lm
LDFLAGS.SunOS+= -lX11 -lm
do-install:
${INSTALL_DATA} ${WRKSRC}/doc/manual.txt \
${DESTDIR}${PREFIX}/share/doc/${PKGBASE}
${INSTALL_PROGRAM} ${WRKSRC}/neverball ${WRKSRC}/neverputt \
${DESTDIR}${PREFIX}/bin
for d in `${FIND} ${WRKSRC}/data -type d -print`; do \
${CHMOD} ${PKGDIRMODE} $${d}; \
done
for f in `${FIND} ${WRKSRC}/data -type f -print`; do \
${CHMOD} ${SHAREMODE} $${f}; \
done
cd ${WRKSRC} && ${PAX} -rwppm data ${DESTDIR}${SHAREDIR}
.include "../../audio/libvorbis/buildlink3.mk"
.include "../../fonts/SDL2_ttf/buildlink3.mk"
.include "../../devel/physfs/buildlink3.mk"
.include "../../mk/jpeg.buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|