summaryrefslogtreecommitdiff
path: root/graphics/mpeg-lib/Makefile
blob: 3b6fb26e7816bbcce46e53c00e82c6d77f1999a7 (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
# New ports collection makefile for:	mpeg_lib
# Date created:		16 November 1994
# Whom:			torstenb
#
# $FreeBSD$
#

PORTNAME=	mpeg_lib
PORTVERSION=	1.3.1
CATEGORIES=	graphics
MASTER_SITES=	ftp://ftp.bic.mni.mcgill.ca/pub/mpeg/ \
		http://starship.python.net/~gward/mpeglib/

MAINTAINER=	ports@FreeBSD.org

INSTALLS_SHLIB=	yes
GNU_CONFIGURE=	yes
CONFIGURE_ENV=	OPTIMIZE="${CFLAGS}"

post-patch:
	@(cd ${WRKSRC} ; \
		${GREP} -r -l "<malloc.h>" * | \
		xargs ${PERL} -pi -e "s/<malloc.h>/<stdlib.h>/")

.include <bsd.port.mk>