2005-01-27 16:29:41 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.20 2005/01/27 21:29:41 alek Exp $
|
2001-05-06 01:05:43 -04:00
|
|
|
|
|
|
|
COMMENT= "X11 animation player with support for lots of formats"
|
1998-12-01 21:27:02 -05:00
|
|
|
|
1999-03-22 12:34:45 -05:00
|
|
|
DISTNAME=xanim-2.80.1
|
2003-04-23 04:30:05 -04:00
|
|
|
PKGNAME=${DISTNAME}p0
|
2000-02-10 19:37:15 -05:00
|
|
|
WRKDIST=${WRKDIR}/xanim2801
|
1998-12-01 21:27:02 -05:00
|
|
|
CATEGORIES= graphics x11
|
|
|
|
|
2000-10-09 20:40:20 -04:00
|
|
|
MAINTAINER= Marc Espie <espie@openbsd.org>
|
1998-12-01 21:27:02 -05:00
|
|
|
|
1999-09-26 17:26:45 -04:00
|
|
|
DIST_SUBDIR=xanim
|
2003-04-23 04:30:05 -04:00
|
|
|
MASTER_SITES=http://smurfland.cit.buffalo.edu/xanim/files/
|
|
|
|
MASTER_SITES0=ftp://ftp.ut.ee/pub/graphics/xanim/modules/
|
2000-03-04 13:39:59 -05:00
|
|
|
|
2001-06-19 21:43:11 -04:00
|
|
|
# License: NOFEE
|
2001-08-02 09:00:53 -04:00
|
|
|
PERMIT_PACKAGE_CDROM= No Fee
|
2000-03-04 13:39:59 -05:00
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2001-08-02 09:00:53 -04:00
|
|
|
PERMIT_DISTFILES_CDROM= No Fee
|
2005-01-27 16:29:41 -05:00
|
|
|
WANTLIB= ICE SM X11 Xext Xt c m z
|
1998-12-01 21:27:02 -05:00
|
|
|
|
1999-03-22 12:34:45 -05:00
|
|
|
BASEDISTFILE=xanim2801.tar.gz
|
1998-12-01 21:27:02 -05:00
|
|
|
DISTFILES=${BASEDISTFILE}
|
|
|
|
PATCH_LIST=patch-*
|
|
|
|
|
2003-04-23 04:30:05 -04:00
|
|
|
SUP_i386 = xa1.0_cyuv_linuxELF.o.Z:0 \
|
|
|
|
xa2.0_cvid_linuxELF.o.Z:0 \
|
|
|
|
xa2.0_iv32_linuxELF.o.Z:0
|
1999-04-18 17:01:45 -04:00
|
|
|
|
1999-09-26 17:26:45 -04:00
|
|
|
SUP_m68k = xa1.0_cyuv_netbsd68k.o.Z:0 \
|
|
|
|
xa2.0_cvid_netbsd68k.o.Z:0 \
|
|
|
|
xa2.0_iv32_netbsd68k.o.Z:0
|
1999-04-18 17:01:45 -04:00
|
|
|
|
|
|
|
# some architectures support more codecs
|
|
|
|
.if (${MACHINE_ARCH} == i386)
|
|
|
|
SUPFILES= ${SUP_i386}
|
1998-12-01 21:27:02 -05:00
|
|
|
PATCH_LIST+=i386-patch
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if (${MACHINE_ARCH} == m68k)
|
1999-04-18 17:01:45 -04:00
|
|
|
SUPFILES= ${SUP_m68k}
|
1998-12-01 21:27:02 -05:00
|
|
|
PATCH_LIST+=m68k-patch
|
|
|
|
.endif
|
|
|
|
|
2002-09-03 12:50:28 -04:00
|
|
|
SUPDISTFILES=${SUP_i386} ${SUP_m68k}
|
1999-04-18 17:01:45 -04:00
|
|
|
|
1998-12-01 21:27:02 -05:00
|
|
|
.if defined(SUPFILES)
|
|
|
|
DISTFILES += ${SUPFILES}
|
|
|
|
EXTRACT_ONLY=${BASEDISTFILE}
|
|
|
|
post-extract:
|
|
|
|
@${ECHO_MSG} "===> Adding ${MACHINE_ARCH} specific object files"
|
1999-10-29 06:28:22 -04:00
|
|
|
@for i in ${SUPFILES:S/:0$//}; do \
|
1998-12-01 21:27:02 -05:00
|
|
|
j=`basename $$i`; \
|
1999-10-29 06:28:22 -04:00
|
|
|
cp ${FULLDISTDIR}/$$i ${WRKSRC} && uncompress ${WRKSRC}/$$j; \
|
1998-12-01 21:27:02 -05:00
|
|
|
done
|
|
|
|
.endif
|
|
|
|
|
|
|
|
post-configure:
|
1999-03-22 12:34:45 -05:00
|
|
|
ln ${WRKSRC}/docs/xanim.man ${WRKSRC}
|
1998-12-01 21:27:02 -05:00
|
|
|
|
2000-10-22 11:41:23 -04:00
|
|
|
CONFIGURE_STYLE= imake
|
1998-12-01 21:27:02 -05:00
|
|
|
DOCDIR=${PREFIX}/share/doc/xanim
|
|
|
|
|
2002-10-26 20:03:16 -04:00
|
|
|
NO_REGRESS= Yes
|
|
|
|
|
1998-12-01 21:27:02 -05:00
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA_DIR} ${DOCDIR}
|
1999-03-18 20:28:40 -05:00
|
|
|
for file in ${WRKSRC}/docs/*; \
|
|
|
|
do \
|
1999-03-22 12:34:45 -05:00
|
|
|
[ $$file == ${WRKSRC}/docs/xanim.man ] || ${INSTALL_DATA} $$file ${DOCDIR}; \
|
1999-03-18 20:28:40 -05:00
|
|
|
done
|
1998-12-01 21:27:02 -05:00
|
|
|
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|