summaryrefslogtreecommitdiff
path: root/audio/mad/Makefile
blob: 9a137005a05d64f4b24faf88d0da96007c800888 (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
# New ports collection makefile for:  mad
# Date created:        18 November 2000
# Whom:                Jason R. Mastaler <jason@mastaler.com>
#
# $FreeBSD$
#

PORTNAME=	mad
PORTVERSION=	0.13.0b
PORTREVISION=	1
CATEGORIES=	audio
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE} \
		ftp://ftp.mars.org/pub/mpeg/
MASTER_SITE_SUBDIR=	mad

MAINTAINER=	jason@mastaler.com

LIB_DEPENDS=	intl.1:${PORTSDIR}/devel/gettext

PLIST_SUB+=     PORTVERSION="${PORTVERSION}"

USE_GMAKE=	yes
USE_LIBTOOL=	yes
INSTALLS_SHLIB= yes
LIBTOOLFILES=	configure libmad/configure
CONFIGURE_ARGS=	--enable-shared \
		--disable-debugging \
		--enable-sso \
		--enable-accuracy
CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
		LDFLAGS="-L${LOCALBASE}/lib"

MAN1=		abxtest.1 madplay.1

.include <bsd.port.mk>