76 lines
2.0 KiB
Makefile
76 lines
2.0 KiB
Makefile
|
# $OpenBSD: Makefile,v 1.1.1.1 1998/12/02 02:27:02 espie Exp $
|
||
|
|
||
|
CDROM= "NOFEE: can not sell"
|
||
|
|
||
|
DISTNAME=xanim-2.70.7.0
|
||
|
WRKSRC=${WRKDIR}/xanim27070
|
||
|
CATEGORIES= graphics x11
|
||
|
|
||
|
MAINTAINER=espie@openbsd.org
|
||
|
|
||
|
|
||
|
MASTER_SITES=ftp://xanim.va.pubnix.com/
|
||
|
MASTER_SITES+=ftp://xanim.va.pubnix.com/modules/
|
||
|
|
||
|
BASEDISTFILE=xanim27070.tar.gz
|
||
|
DISTFILES=${BASEDISTFILE}
|
||
|
PATCH_LIST=patch-*
|
||
|
|
||
|
# some architectures support more codecs
|
||
|
.if (${MACHINE_ARCH} == i386)
|
||
|
SUPFILES= xa1.0_cyuv_netbsd386.o.Z \
|
||
|
xa2.0_cvid_netbsd386.o.Z \
|
||
|
xa2.0_iv32_netbsd386.o.Z
|
||
|
PATCH_LIST+=i386-patch
|
||
|
.endif
|
||
|
|
||
|
.if (${MACHINE_ARCH} == m68k)
|
||
|
SUPFILES= xa1.0_cyuv_netbsd68k.o.Z \
|
||
|
xa2.0_cvid_netbsd68k.o.Z \
|
||
|
xa2.0_iv32_netbsd68k.o.Z
|
||
|
PATCH_LIST+=m68k-patch
|
||
|
.endif
|
||
|
|
||
|
.if (${MACHINE_ARCH} == sparc)
|
||
|
SUPFILES= xa1.0_cyuv_sparcAOUT.o.Z \
|
||
|
xa2.0_cvid_sparcCOFF.o.Z \
|
||
|
xa2.0_iv32_sparcCOFF.o.Z
|
||
|
PATCH_LIST+=sparc-patch
|
||
|
.endif
|
||
|
|
||
|
.if defined(SUPFILES)
|
||
|
DISTFILES += ${SUPFILES}
|
||
|
EXTRACT_ONLY=${BASEDISTFILE}
|
||
|
post-extract:
|
||
|
@${ECHO_MSG} "===> Adding ${MACHINE_ARCH} specific object files"
|
||
|
@for i in ${SUPFILES}; do \
|
||
|
j=`basename $$i`; \
|
||
|
cp ${DISTDIR}/$$i ${WRKSRC} && uncompress ${WRKSRC}/$$j; \
|
||
|
done
|
||
|
.endif
|
||
|
|
||
|
post-configure:
|
||
|
ln ${WRKSRC}/docs/xanim.man ${WRKSRC}
|
||
|
|
||
|
DOCDIR=${PREFIX}/share/doc/xanim
|
||
|
|
||
|
post-install:
|
||
|
${INSTALL_DATA_DIR} ${DOCDIR}
|
||
|
${INSTALL_DATA} ${WRKSRC}/docs/Codecs.doc ${DOCDIR}
|
||
|
${INSTALL_DATA} ${WRKSRC}/docs/Copyright ${DOCDIR}
|
||
|
${INSTALL_DATA} ${WRKSRC}/docs/Examples.doc ${DOCDIR}
|
||
|
${INSTALL_DATA} ${WRKSRC}/docs/Formats.doc ${DOCDIR}
|
||
|
${INSTALL_DATA} ${WRKSRC}/docs/Problems.doc ${DOCDIR}
|
||
|
${INSTALL_DATA} ${WRKSRC}/docs/Remote_Window.doc ${DOCDIR}
|
||
|
${INSTALL_DATA} ${WRKSRC}/docs/Rev_History.doc ${DOCDIR}
|
||
|
${INSTALL_DATA} ${WRKSRC}/docs/WWW_Helper.doc ${DOCDIR}
|
||
|
${INSTALL_DATA} ${WRKSRC}/docs/cinepak.readme ${DOCDIR}
|
||
|
${INSTALL_DATA} ${WRKSRC}/docs/creative.readme ${DOCDIR}
|
||
|
${INSTALL_DATA} ${WRKSRC}/docs/ijg.readme ${DOCDIR}
|
||
|
${INSTALL_DATA} ${WRKSRC}/docs/indeo.readme ${DOCDIR}
|
||
|
${INSTALL_DATA} ${WRKSRC}/docs/xanim.readme ${DOCDIR}
|
||
|
|
||
|
USE_IMAKE=yes
|
||
|
|
||
|
.include <bsd.port.mk>
|