freebsd-ports/multimedia/xanim/Makefile
Dirk Meyer f8eb7cb3e3 - add more sites
Obtained from:	netbsd
2003-04-06 05:57:53 +00:00

58 lines
1.4 KiB
Makefile

# New ports collection makefile for: xanim
# Date created: Sat Nov 5 11:43:03 PST 1994
# Whom: piero
#
# $FreeBSD$
#
PORTNAME= xanim
PORTVERSION= 2.92.0
CATEGORIES= multimedia graphics
MASTER_SITES= http://www.go.dlr.de/fresh/unix/src/misc/:main \
ftp://ftp.win.ne.jp/pub/graphics/xanim/:main \
ftp://ftp.ayamura.org/pub/graphics/:main \
ftp://ftp.ut.ee/pub/graphics/xanim/:main \
${MASTER_SITE_LOCAL} \
ftp://ftp.ut.ee/pub/graphics/xanim/dlls/ \
MASTER_SITE_SUBDIR= dinoex
DISTNAME= xanim2920
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:main ${EXTRA_FILES}
MAINTAINER= dinoex@FreeBSD.org
COMMENT= Play most popular animation formats and show pictures
.if (${MACHINE_ARCH} == "i386")
EXTRA_FILES= vid_cvid_2.1_freebsdELFx86.tgz \
vid_cyuv_1.0_freebsdELFx86.tgz \
vid_h261_1.0_freebsdELFx86.tgz \
vid_h263_1.0_freebsdELFx86.tgz \
vid_iv32_2.1_freebsdELFx86.tgz \
vid_iv41_1.1_freebsdELFx86.tgz \
vid_iv50_1.0_freebsdELFx86.tgz
DLLDIR= ${PREFIX}/lib/X11/xanim
PLIST_SUB+= CODECS=""
.else
PLIST_SUB+= CODECS="@comment "
.endif
USE_IMAKE= yes
MAN1= xanim.1
MAKE_ARGS+= -j 2 # safe and helps even the single-CPU machines
post-extract:
${CP} ${WRKSRC}/docs/xanim.man ${WRKSRC}
.if (${MACHINE_ARCH} == "i386")
post-install:
@${MKDIR} ${DLLDIR}
${INSTALL_DATA} ${WRKDIR}/*.readme ${DLLDIR}
${INSTALL_DATA} ${WRKDIR}/*.xa ${DLLDIR}
.endif
.include <bsd.port.mk>