# ex:ts=8 # Ports collection Makefile for: avinfo # Date created: Feb 7, 2003 # Whom: ijliao # # $FreeBSD$ # PORTNAME= avinfo PORTVERSION= 0.7.4 CATEGORIES= multimedia MASTER_SITES= http://shounen.ru/soft/avinfo/ DISTNAME= ${PORTNAME}-${PORTVERSION}-src MAINTAINER= ports@FreeBSD.org COMMENT= A utility for displaying AVI header information WRKSRC= ${WRKDIR}/src PLIST_FILES= bin/avinfo USE_ZIP= yes 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 .include