blob: 79ffa1d249dc937c212a1f5a88074f6ad6298aa5 (
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
47
48
49
50
51
52
53
54
55
56
57
58
59
|
# $NetBSD: Makefile,v 1.14 2006/12/27 13:37:39 joerg Exp $
DISTNAME= xanim2920
PKGNAME= xanim-2.92.0
PKGREVISION= 2
CATEGORIES= multimedia x11
MASTER_SITES= ftp://ftp.informatik.uni-hamburg.de/pub/soft/graphics/xanim/ \
ftp://ftp.informatik.uni-hamburg.de/pub/soft/graphics/xanim/modules/
DISTFILES= ${EXTRACT_ONLY} ${CODEC_FILES}
MAINTAINER= pkgsrc-users@NetBSD.org
COMMENT= Play most popular animation formats and show pictures
HOMEPAGE= http://xanim.polter.net/
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
LICENSE= xanim-license
.include "Makefile.codecs"
USE_IMAKE= YES
USE_TOOLS+= gunzip
.include "../../mk/bsd.prefs.mk"
MAKE_ENV+= ${XANIM_AUDIO.${OPSYS}}
XANIM_AUDIO.Linux= XA_AUDIO_DEFS="-DXA_LINUX_AUDIO" \
XA_AUDIO_LIBS="-lc"
PKG_OPTIONS_VAR= PKG_OPTIONS.xanim
PKG_SUPPORTED_OPTIONS= oss
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Moss)
XANIM_AUDIO.NetBSD= XA_AUDIO_DEFS="-DXA_LINUX_AUDIO" \
XA_AUDIO_LIBS="${LIBOSSAUDIO}"
.else
XANIM_AUDIO.NetBSD= XA_AUDIO_DEFS="-DXA_NetBSD_AUDIO"
.endif
XANIM_AUDIO.SunOS= XA_AUDIO_DEFS="-DXA_SPARC_AUDIO -DSVR4 -DXA_SELECT"
post-extract:
${LN} -s docs/xanim.man ${WRKSRC}
${MKDIR} ${WRKSRC}/mods
.if defined(CODEC_FILES) && !empty(CODEC_FILES)
for file in ${CODEC_FILES}; do \
${CP} ${DISTDIR}/$$file ${WRKSRC}/mods; \
${GUNZIP_CMD} ${WRKSRC}/mods/$$file; \
done
.endif
.include "../../devel/zlib/buildlink3.mk"
.include "../../x11/libXext/buildlink3.mk"
.include "../../x11/libXt/buildlink3.mk"
.include "../../x11/xextproto/buildlink3.mk"
.include "../../mk/oss.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|