openbsd-ports/graphics/xanim/Makefile

83 lines
1.8 KiB
Makefile
Raw Normal View History

2002-03-21 15:57:06 -05:00
# $OpenBSD: Makefile,v 1.16 2002/03/21 20:57:09 espie Exp $
COMMENT= "X11 animation player with support for lots of formats"
DISTNAME=xanim-2.80.1
2000-02-10 19:37:15 -05:00
WRKDIST=${WRKDIR}/xanim2801
CATEGORIES= graphics x11
2002-03-21 15:57:06 -05:00
NEED_VERSION= 1.515
2000-10-09 20:40:20 -04:00
MAINTAINER= Marc Espie <espie@openbsd.org>
DIST_SUBDIR=xanim
MASTER_SITES=ftp://xanim.va.pubnix.com/
MASTER_SITES0=ftp://xanim.va.pubnix.com/modules/
2000-03-04 13:39:59 -05: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
BASEDISTFILE=xanim2801.tar.gz
DISTFILES=${BASEDISTFILE}
PATCH_LIST=patch-*
SUP_i386 = xa1.0_cyuv_netbsd386.o.Z:0 \
xa2.0_cvid_netbsd386.o.Z:0 \
xa2.0_iv32_netbsd386.o.Z:0
SUP_m68k = xa1.0_cyuv_netbsd68k.o.Z:0 \
xa2.0_cvid_netbsd68k.o.Z:0 \
xa2.0_iv32_netbsd68k.o.Z:0
SUP_sparc= xa1.0_cyuv_sparcAOUT.o.Z:0 \
xa2.0_cvid_sparcCOFF.o.Z:0 \
xa2.0_iv32_sparcCOFF.o.Z:0
# some architectures support more codecs
.if (${MACHINE_ARCH} == i386)
SUPFILES= ${SUP_i386}
PATCH_LIST+=i386-patch
.endif
.if (${MACHINE_ARCH} == m68k)
SUPFILES= ${SUP_m68k}
PATCH_LIST+=m68k-patch
.endif
.if (${MACHINE_ARCH} == sparc)
SUPFILES=${SUP_sparc}
PATCH_LIST+=sparc-patch
.endif
SUPDISTFILES=${SUP_i386} ${SUP_m68k} ${SUP_sparc}
.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 \
j=`basename $$i`; \
1999-10-29 06:28:22 -04:00
cp ${FULLDISTDIR}/$$i ${WRKSRC} && uncompress ${WRKSRC}/$$j; \
done
.endif
post-configure:
ln ${WRKSRC}/docs/xanim.man ${WRKSRC}
CONFIGURE_STYLE= imake
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 \
[ $$file == ${WRKSRC}/docs/xanim.man ] || ${INSTALL_DATA} $$file ${DOCDIR}; \
1999-03-18 20:28:40 -05:00
done
.include <bsd.port.mk>