bf9129c41e
PKGSRC_USE_TOOLS go away. There is now only a single USE_TOOLS variable that specifies all of the tools we need to build/run the package.
59 lines
1.6 KiB
Makefile
59 lines
1.6 KiB
Makefile
# $NetBSD: Makefile,v 1.7 2005/07/15 18:27:52 jlam Exp $
|
|
|
|
DISTNAME= xanim2801
|
|
PKGNAME= xanim-2.80.1
|
|
PKGREVISION= 2
|
|
CATEGORIES= multimedia x11
|
|
MASTER_SITES= ftp://xanim.va.pubnix.com/\
|
|
ftp://xanim.va.pubnix.com/modules/ \
|
|
ftp://ftp.ut.ee/pub/graphics/xanim/ \
|
|
ftp://ftp.ut.ee/pub/graphics/xanim/modules/ \
|
|
ftp://ftp.ba-stuttgart.de/Mirrors/xanim/ \
|
|
ftp://ftp.ba-stuttgart.de/Mirrors/xanim/modules/ \
|
|
http://smurfland.cit.buffalo.edu/xanim/files/ \
|
|
http://smurfland.cit.buffalo.edu/xanim/files/modules/
|
|
DISTFILES= ${EXTRACT_ONLY} ${CODEC_FILES}
|
|
|
|
MAINTAINER= tech-pkg@NetBSD.org
|
|
HOMEPAGE= http://xanim.va.pubnix.com/
|
|
COMMENT= Play most popular animation formats and show pictures
|
|
|
|
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
|
|
|
|
.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 "../../mk/ossaudio.buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|