blob: a3528a94f24a2fe3b4f85e0a52c198bd4f2e8013 (
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
|
# $NetBSD: Makefile,v 1.12 2003/12/24 09:53:48 jmmv 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_BUILDLINK2= YES
USE_GMAKE= YES
# for libslang and ossaudio
CFLAGS+= -DAUDIO_DEV="\"\\\"$(DEVOSSAUDIO)\\\"\""
LDFLAGS+= ${LIBOSSAUDIO} -lcurses
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/buildlink2.mk"
.include "../../devel/glib/buildlink2.mk"
.include "../../mk/ossaudio.buildlink2.mk"
.include "../../mk/bsd.pkg.mk"
|