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

PORTNAME=   avinfo
PORTVERSION=    1.0.a15
CATEGORIES= multimedia
MASTER_SITES=   http://shounen.ru/soft/avinfo/ \
        http://www.amdmi3.ru/distfiles/
DISTNAME=   ${PORTNAME}-${PORTVERSION}unix

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

USE_GMAKE=  yes
USE_BISON=  build

WRKSRC=     ${WRKDIR}/${PORTNAME}-${PORTVERSION}

PLIST_FILES=    bin/avinfo

PORTDOCS=   *

MAN1=       avinfo.1

post-patch:
    @${REINPLACE_CMD} -e '/^CC=/ d; /^CFLAGS=/ d; /^PREFIX=/ d' \
        ${WRKSRC}/config.mk

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/src/avinfo ${PREFIX}/bin/
    ${INSTALL_MAN} ${WRKSRC}/src/avinfo.1 ${MANPREFIX}/man/man1/
.if !defined(NOPORTDOCS)
    ${MKDIR} ${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/CHANGELOG ${WRKSRC}/README \
        ${WRKSRC}/copying ${WRKSRC}/doc/* ${DOCSDIR}/
.endif

.include <bsd.port.mk>