2002-03-21 15:57:06 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.16 2002/03/21 20:57:09 espie 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
|
2000-02-10 19:37:15 -05:00
|
|
|
WRKDIST=${WRKDIR}/xanim2801
|
1998-12-01 21:27:02 -05:00
|
|
|
CATEGORIES= graphics x11
|
2002-03-21 15:57:06 -05:00
|
|
|
NEED_VERSION= 1.515
|
1998-12-01 21:27:02 -05:00
|
|
|
|
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
|
1998-12-01 21:27:02 -05:00
|
|
|
MASTER_SITES=ftp://xanim.va.pubnix.com/
|
1999-09-26 17:26:45 -04:00
|
|
|
MASTER_SITES0=ftp://xanim.va.pubnix.com/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
|
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-*
|
|
|
|
|
1999-09-26 17:26:45 -04:00
|
|
|
SUP_i386 = xa1.0_cyuv_netbsd386.o.Z:0 \
|
|
|
|
xa2.0_cvid_netbsd386.o.Z:0 \
|
|
|
|
xa2.0_iv32_netbsd386.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
|
|
|
|
1999-09-26 17:26:45 -04:00
|
|
|
SUP_sparc= xa1.0_cyuv_sparcAOUT.o.Z:0 \
|
|
|
|
xa2.0_cvid_sparcCOFF.o.Z:0 \
|
|
|
|
xa2.0_iv32_sparcCOFF.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
|
|
|
|
|
|
|
|
.if (${MACHINE_ARCH} == sparc)
|
1999-04-18 17:01:45 -04:00
|
|
|
SUPFILES=${SUP_sparc}
|
1998-12-01 21:27:02 -05:00
|
|
|
PATCH_LIST+=sparc-patch
|
|
|
|
.endif
|
|
|
|
|
1999-04-18 17:01:45 -04:00
|
|
|
SUPDISTFILES=${SUP_i386} ${SUP_m68k} ${SUP_sparc}
|
|
|
|
|
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
|
|
|
|
|
|
|
|
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>
|