aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/avinfo/Makefile
blob: fb08cdb0a75ede5b9f527c21e292d26d583283d8 (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
# ex:ts=8
# Ports collection Makefile for:    avinfo
# Date created:         Feb 7, 2003
# Whom:             ijliao
#
# $FreeBSD$
#

PORTNAME=   avinfo
PORTVERSION=    0.7.1
CATEGORIES= multimedia
MASTER_SITES=   http://anime.org.ru/soft/avinfo/

MAINTAINER= ports@FreeBSD.org
COMMENT=    A utility for displaying AVI header information

USE_ZIP=    yes
WRKSRC=     ${WRKDIR}/src

post-patch:
    @(cd ${WRKSRC} && ${CP} messages.c temp ; \
        ${CAT} temp | col -b > messages.c)

do-build:
    @(cd ${WRKSRC} && ${CC} ${CFLAGS} -o avinfo avinfo.c)

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/avinfo ${PREFIX}/bin
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/../DOC/* ${DOCSDIR}
.endif

.include <bsd.port.mk>