aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/mpeg-lib/Makefile
blob: f06d31f01158c79ab9014b43884044f384fa07ad (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
# 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@geeksrus.net

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

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

.include <bsd.port.mk>