aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/xanim/Makefile
blob: 29266b79fe43a1c2af2f7a7a050d803389470839 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# New ports collection makefile for:    xanim
# Date created:         Sat Nov 5 11:43:03 PST 1994
# Whom:                 piero
#
# $FreeBSD$
#

PORTNAME=   xanim
PORTVERSION=    2.80.2
CATEGORIES= graphics
MASTER_SITES=   ftp://xanim.va.pubnix.com/ \
        ftp://xanim.va.pubnix.com/dlls/
DISTNAME=   xanim2801
DISTFILES=  ${DISTNAME}${EXTRACT_SUFX} ${EXTRA_FILES}

PATCH_SITES=    http://virtual-estates.net/port-stuff/
PATCHFILES= xanim-2801-to-2802-patch.gz

MAINTAINER= ports@FreeBSD.org

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
USE_IMAKE=  yes
MAN1=       xanim.1

DLLDIR=     ${PREFIX}/lib/X11/xanim

MAKE_ARGS+= -j 2 # safe and helps even the single-CPU machines

post-extract:
    ${CP} ${WRKSRC}/docs/xanim.man ${WRKSRC}

post-install:
    @${MKDIR} ${DLLDIR}
    ${INSTALL_DATA} ${WRKDIR}/*.readme ${DLLDIR}
    ${INSTALL_DATA} ${WRKDIR}/*.xa ${DLLDIR}

.include <bsd.port.mk>