2001-02-16 16:22:13 +01:00
|
|
|
# $NetBSD: Makefile,v 1.19 2001/02/16 15:22:35 wiz Exp $
|
1998-02-12 13:34:45 +01:00
|
|
|
#
|
|
|
|
|
1999-03-28 09:55:05 +02:00
|
|
|
DISTNAME= xanim2801
|
|
|
|
PKGNAME= xanim-2.80.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
|
|
|
http://xanim.resnet.gatech.edu/files/ \
|
|
|
|
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/ \
|
|
|
|
ftp://ftp.lysator.liu.se/mirror/X11/apps/xanim/ \
|
2000-01-02 04:38:30 +01:00
|
|
|
ftp://ftp.lysator.liu.se/mirror/X11/apps/xanim/modules/ \
|
1999-03-28 09:55:05 +02:00
|
|
|
ftp://ftp.uni-trier.de/pub/unix/X11/application/xanim/ \
|
|
|
|
ftp://ftp.uni-trier.de/pub/unix/X11/application/xanim/modules/
|
1998-02-12 13:34:45 +01:00
|
|
|
DISTFILES= ${EXTRACT_ONLY} ${EXTRA_FILES}
|
|
|
|
|
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
|
|
|
|
1998-02-12 13:34:45 +01:00
|
|
|
EXTRACT_ONLY= ${DISTNAME}.tar.gz
|
1998-02-12 13:42:33 +01:00
|
|
|
|
2000-08-19 00:46:29 +02:00
|
|
|
RESTRICTED= Can't mirror/distribute iv32 or cyuv object modules
|
|
|
|
NO_SRC_ON_FTP= ${RESTRICTED}
|
|
|
|
NO_SRC_ON_CDROM= ${RESTRICTED}
|
|
|
|
NO_BIN_ON_FTP= ${RESTRICTED}
|
|
|
|
NO_BIN_ON_CDROM= ${RESTRICTED}
|
1998-02-12 14:35:22 +01:00
|
|
|
|
2000-11-30 19:03:55 +01:00
|
|
|
USE_X11BASE= yes
|
1998-02-12 13:34:45 +01:00
|
|
|
USE_IMAKE= yes
|
2000-11-30 19:03:55 +01:00
|
|
|
XMKMF= xmkmf -a
|
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
|
1998-02-12 13:34:45 +01:00
|
|
|
@for file in ${EXTRA_FILES}; do \
|
1999-03-19 09:43:55 +01:00
|
|
|
${CP} ${DISTDIR}/$$file ${WRKSRC}/mods; \
|
|
|
|
${GUNZIP_CMD} ${WRKSRC}/mods/$$file; \
|
1998-02-12 13:34:45 +01:00
|
|
|
done
|
|
|
|
|
1999-07-08 01:11:18 +02:00
|
|
|
pre-configure:
|
|
|
|
@${ECHO} >${WRKSRC}/objarch.tmpl \
|
|
|
|
"MACHINE_OBJ_ARCH = ${MACHINE_OBJ_ARCH}"
|
|
|
|
|
1999-03-19 09:43:55 +01:00
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/xanim ${PREFIX}/bin
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/xanim.0 ${PREFIX}/man/cat1
|
|
|
|
|
1998-04-15 12:38:15 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|
1999-07-08 01:11:18 +02:00
|
|
|
|
|
|
|
MACHINE_OBJ_ARCH= ${MACHINE_ARCH}-${OBJECT_FMT}
|
|
|
|
|
|
|
|
.if (${MACHINE_OBJ_ARCH} == "i386-a.out")
|
|
|
|
EXTRA_FILES= xa2.0_cvid_netbsd386.o.Z \
|
|
|
|
xa2.0_iv32_netbsd386.o.Z \
|
|
|
|
xa1.0_cyuv_netbsd386.o.Z
|
|
|
|
.elif (${MACHINE_OBJ_ARCH} == "i386-ELF")
|
|
|
|
EXTRA_FILES= xa2.0_cvid_linuxELF.o.Z \
|
|
|
|
xa2.0_iv32_linuxELF.o.Z \
|
|
|
|
xa1.0_cyuv_linuxELF.o.Z
|
|
|
|
.elif (${MACHINE_OBJ_ARCH} == "m68k-a.out")
|
|
|
|
EXTRA_FILES= xa2.0_cvid_netbsd68k.o.Z \
|
|
|
|
xa2.0_iv32_netbsd68k.o.Z \
|
|
|
|
xa1.0_cyuv_netbsd68k.o.Z
|
|
|
|
.elif (${MACHINE_OBJ_ARCH} == "sparc-a.out")
|
|
|
|
EXTRA_FILES= xa2.0_cvid_sparcCOFF.o.Z \
|
|
|
|
xa2.0_iv32_sparcCOFF.o.Z \
|
|
|
|
xa1.0_cyuv_sparcAOUT.o.Z
|
|
|
|
.endif
|