summaryrefslogtreecommitdiffstats
path: root/graphics/mpeg/Makefile
blob: 72d2a11d5dd2380c2a69774d4028aec795050cf0 (plain)
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
# New ports collection makefile for:	mpeg
# Date created:		Sa  01 May 1999 15:00:00 MET
# Whom:			Tobias Reifenberger <treif@mayn.de>
#
# $FreeBSD$
#

PORTNAME=	mpeg
PORTVERSION=	1.2.2
CATEGORIES=	graphics
MASTER_SITES=	ftp://ftp.uni-koeln.de/graph/mpeg/ \
		ftp://ftp.mni.mcgill.ca/pub/mpeg/ \
		ftp://ftp.u-aizu.ac.jp/pub/graphics/image/mpeg/mni.mcgill.ca/
DISTNAME=	MPEGv${PORTVERSION}

MAINTAINER=	treif@mayn.de

WRKSRC=		${WRKDIR}/mpegdir
MAN1=		mpeg.1

pre-build:
	@-${MV} ${WRKSRC}/makefile ${WRKSRC}/Makefile
	cd ${WRKSRC} && lex -lt lexer.l >lexer.c

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/mpeg ${PREFIX}/bin
	${INSTALL_MAN} ${WRKSRC}/mpeg.1 ${PREFIX}/man/man1
.if !defined(NOPORTDOCS)
	@${MKDIR} ${PREFIX}/share/doc/mpeg
	${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/mpeg/README
	${INSTALL_DATA} ${WRKSRC}/doc.ps ${PREFIX}/share/doc/mpeg/doc.ps
.endif

.include <bsd.port.mk>
OpenPOWER on IntegriCloud