blob: c8f294a8b95a27c62ebf0267d1f084183a436f04 (
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.17 2004/04/18 14:34:19 ben Exp $
DISTNAME= gmodplay-0.08
PKGREVISION= 3
CATEGORIES= audio
MASTER_SITES= http://magic.metawire.com/~rani/ \
http://rani.free.fr/
MAINTAINER= ben@NetBSD.org
HOMEPAGE= http://rani.free.fr/
COMMENT= MOD player for IT XM S3M MOD MTM STM FAR ULT 669 AMS DBM MDL OKT files
# only runs correctly on little-endian machines
ONLY_FOR_PLATFORM= *-*-alpha *-*-arc *-*-cobalt *-*-dreamcast \
*-*-hpcmips *-*-hpcsh *-*-i386 *-*-pc532 *-*-pmax \
*-*-vax
USE_BUILDLINK3= YES
USE_GNU_TOOLS+= make
USE_LANGUAGES= c c++
# for libslang and ossaudio
CFLAGS+= -DAUDIO_DEV="\"\\\"$(DEVOSSAUDIO)\\\"\""
LDFLAGS+= ${LIBOSSAUDIO}
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "NetBSD"
LDFLAGS+= -lcurses
.endif
.if ${OPSYS} == "Linux"
LDFLAGS+= -lncurses -ldl
.endif
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/gmodplay ${PREFIX}/bin/gmodplay
${INSTALL_SCRIPT} ${FILESDIR}/mod2wav ${PREFIX}/bin
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/gmodplay
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/gmodplay
.include "../../devel/libslang/buildlink3.mk"
.include "../../devel/glib/buildlink3.mk"
.include "../../mk/ossaudio.buildlink3.mk"
.include "../../mk/curses.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|