aboutsummaryrefslogtreecommitdiffstats
path: root/audio/mpg321/Makefile
blob: 938b554c088f4a148b556f5dae2565387f182119 (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
# 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.0.5
CATEGORIES= audio
MASTER_SITES=   http://gemini.woot.net/~hosehead/packages/
DISTNAME=   ${PORTNAME}_${PORTVERSION}

MAINTAINER= ijliao@FreeBSD.org

LIB_DEPENDS=    smpeg.1:${PORTSDIR}/graphics/smpeg \
        ao.1:${PORTSDIR}/audio/libao \
        SDL-1.1.3:${PORTSDIR}/devel/sdl-devel \
        gnugetopt.1:${PORTSDIR}/devel/libgnugetopt

SDL_CONFIG= ${LOCALBASE}/bin/sdl11-config
GNU_CONFIGURE=  yes
CONFIGURE_ENV=  LIBS="-L${LOCALBASE}/lib -lc_r -lgnugetopt" \
        CFLAGS="-I${LOCALBASE}/include" \
        SDL_CONFIG="${SDL_CONFIG}"

WRKSRC=     ${WRKDIR}/${PORTNAME}-${PORTVERSION}

MAN1=       mpg321.1

.include <bsd.port.mk>