2002-10-26 15:11:37 +02:00
|
|
|
# $NetBSD: Makefile,v 1.30 2002/10/26 13:11:37 bouyer Exp $
|
1998-02-12 13:34:45 +01:00
|
|
|
|
1999-03-28 09:55:05 +02:00
|
|
|
DISTNAME= xanim2801
|
2001-11-29 02:12:24 +01:00
|
|
|
PKGNAME= xanim-2.80.1
|
|
|
|
PKGREVISION= 1
|
1998-02-12 13:34:45 +01:00
|
|
|
CATEGORIES= graphics x11
|
|
|
|
MASTER_SITES= ftp://xanim.va.pubnix.com/\
|
1999-03-19 09:43:55 +01:00
|
|
|
ftp://xanim.va.pubnix.com/modules/ \
|
1999-03-28 09:55:05 +02:00
|
|
|
ftp://ftp.ut.ee/pub/graphics/xanim/ \
|
2000-01-02 04:38:30 +01:00
|
|
|
ftp://ftp.ut.ee/pub/graphics/xanim/modules/ \
|
1999-03-28 09:55:05 +02:00
|
|
|
ftp://ftp.ba-stuttgart.de/Mirrors/xanim/ \
|
|
|
|
ftp://ftp.ba-stuttgart.de/Mirrors/xanim/modules/ \
|
2001-04-21 11:36:03 +02:00
|
|
|
http://smurfland.cit.buffalo.edu/xanim/files/ \
|
|
|
|
http://smurfland.cit.buffalo.edu/xanim/files/modules/
|
2002-09-25 14:04:06 +02:00
|
|
|
DISTFILES= ${EXTRACT_ONLY} ${CODEC_FILES}
|
1998-02-12 13:34:45 +01:00
|
|
|
|
1998-02-14 17:55:10 +01:00
|
|
|
MAINTAINER= packages@netbsd.org
|
1998-08-20 17:16:34 +02:00
|
|
|
HOMEPAGE= http://xanim.va.pubnix.com/
|
2001-02-16 16:22:13 +01:00
|
|
|
COMMENT= play most popular animation formats and show pictures
|
1998-02-14 17:55:10 +01:00
|
|
|
|
2002-09-20 05:10:15 +02:00
|
|
|
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
|
1998-02-12 13:42:33 +01:00
|
|
|
|
2002-09-25 14:04:06 +02:00
|
|
|
.include "Makefile.codecs"
|
1998-02-12 14:35:22 +01:00
|
|
|
|
2002-09-20 05:10:15 +02:00
|
|
|
USE_BUILDLINK2= YES
|
2001-03-11 17:19:45 +01:00
|
|
|
USE_X11BASE= YES
|
|
|
|
USE_IMAKE= YES
|
1998-02-12 13:34:45 +01:00
|
|
|
|
2002-09-25 14:04:06 +02:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
|
|
|
MAKE_ENV+= ${XANIM_AUDIO.${OPSYS}}
|
|
|
|
XANIM_AUDIO.Linux= XA_AUDIO_DEFS="-DXA_LINUX_AUDIO" \
|
|
|
|
XA_AUDIO_LIBS="-lc"
|
2002-10-06 13:43:25 +02:00
|
|
|
|
|
|
|
.if defined(USE_OSS)
|
|
|
|
XANIM_AUDIO.NetBSD= XA_AUDIO_DEFS="-DXA_LINUX_AUDIO" \
|
|
|
|
XA_AUDIO_LIBS="${LIBOSSAUDIO}"
|
|
|
|
.else
|
2002-09-25 14:04:06 +02:00
|
|
|
XANIM_AUDIO.NetBSD= XA_AUDIO_DEFS="-DXA_NetBSD_AUDIO"
|
2002-10-06 13:43:25 +02:00
|
|
|
.endif
|
|
|
|
|
2002-09-25 14:04:06 +02:00
|
|
|
XANIM_AUDIO.SunOS= XA_AUDIO_DEFS="-DXA_SPARC_AUDIO -DSVR4 -DXA_SELECT"
|
|
|
|
|
1998-02-12 13:34:45 +01:00
|
|
|
post-extract:
|
1999-03-28 09:55:05 +02:00
|
|
|
@${LN} -s docs/xanim.man ${WRKSRC}
|
1999-03-19 09:43:55 +01:00
|
|
|
@${MKDIR} ${WRKSRC}/mods
|
2002-10-26 15:11:37 +02:00
|
|
|
.if defined(CODEC_FILES) && !empty(CODEC_FILES)
|
2002-09-25 14:04:06 +02:00
|
|
|
@for file in ${CODEC_FILES}; do \
|
|
|
|
${CP} ${DISTDIR}/$$file ${WRKSRC}/mods; \
|
|
|
|
${GUNZIP_CMD} ${WRKSRC}/mods/$$file; \
|
1998-02-12 13:34:45 +01:00
|
|
|
done
|
2002-10-26 15:11:37 +02:00
|
|
|
.endif
|
1998-02-12 13:34:45 +01:00
|
|
|
|
2002-10-06 13:43:25 +02:00
|
|
|
.include "../../mk/ossaudio.buildlink2.mk"
|
2002-02-07 10:59:48 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|