aboutsummaryrefslogtreecommitdiffstats
path: root/audio/madplay/Makefile
blob: 051d36a802864d2db58074a78c77b6e79a57e7a3 (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
36
# Created by: Sergey Akifyev <asa@gascom.ru>
# $FreeBSD$

PORTNAME=   madplay
PORTVERSION=    0.15.2b
PORTREVISION=   4
CATEGORIES= audio
MASTER_SITES=   SF/mad/${PORTNAME}/${PORTVERSION} \
        ftp://ftp.mars.org/pub/mpeg/

MAINTAINER= ports@FreeBSD.org
COMMENT=    Madplay MP3 player (part of MAD project)

LICENSE=    GPLv2

LIB_DEPENDS=    libmad.so:${PORTSDIR}/audio/libmad \
        libid3tag.so:${PORTSDIR}/audio/libid3tag

GNU_CONFIGURE=  yes
CFLAGS+=    -I${LOCALBASE}/include
LDFLAGS+=   -L${LOCALBASE}/lib -lz
ALL_TARGET= all madtime

OPTIONS_DEFINE= NLS ESOUND
OPTIONS_DEFAULT=ESOUND
OPTIONS_SUB=    yes

NLS_USES=       gettext
NLS_CONFIGURE_ENABLE=   nls
ESOUND_USE=     GNOME=esound
ESOUND_CONFIGURE_WITH=  esd

post-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/madtime ${STAGEDIR}${PREFIX}/bin

.include <bsd.port.mk>