summaryrefslogtreecommitdiffstats
path: root/audio/mpg321/Makefile
blob: 515136f340358d177e30215a2edf3d055925324e (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
# ex:ts=8
# New ports collection makefile for:	mpg321
# Date created:			Mar 17, 2001
# Whom:				Ying-Chieh Liao <ijliao@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=	mpg321
PORTVERSION=	0.1.1
CATEGORIES=	audio
MASTER_SITES=	http://www.linuxberg.com/files/ \
		http://gemini.woot.net/~hosehead/packages/
DISTNAME=	${PORTNAME}_${PORTVERSION}

MAINTAINER=	ports@FreeBSD.org

LIB_DEPENDS=	ao.1:${PORTSDIR}/audio/libao \
		gnugetopt.1:${PORTSDIR}/devel/libgnugetopt
BUILD_DEPENDS=	${LOCALBASE}/lib/libmad.a:${PORTSDIR}/audio/mad

GNU_CONFIGURE=	yes
CONFIGURE_ENV=	LIBS="-L${LOCALBASE}/lib ${PTHREAD_LIBS} -lgnugetopt" \
		CFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}"
USE_GMAKE=	yes
WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}

MAN1=		mpg321.1

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