aboutsummaryrefslogtreecommitdiffstats
path: root/audio/liteamp/Makefile
blob: 1c66230f0c7ac9e00e7392d3aa4477570568bd78 (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: Hye-Shik Chang <perky@FreeBSD.org>
# $FreeBSD$

PORTNAME=   liteamp
PORTVERSION=    0.2.4.2
PORTREVISION=   2
CATEGORIES= audio gnome
MASTER_SITES=   http://kldp.net/frs/download.php/1153/

MAINTAINER= ports@FreeBSD.org
COMMENT=    Light-weight Music Player for GNOME2

LICENSE=    GPLv2
LICENSE_FILE=   ${WRKSRC}/COPYING

LIB_DEPENDS=    id3tag.0:${PORTSDIR}/audio/libid3tag \
        ao.4:${PORTSDIR}/audio/libao \
        mad.2:${PORTSDIR}/audio/libmad \
        vorbisfile.6:${PORTSDIR}/audio/libvorbis

USES=       gmake pathfix gettext
USE_GNOME=  libgnomeui
GNU_CONFIGURE=  yes
CONFIGURE_ARGS= LDFLAGS="${LDFLAGS}"

MAN1=       liteamp.1

CPPFLAGS+=  -I${LOCALBASE}/include
LDFLAGS+=   -L${LOCALBASE}/lib

post-patch:
    @${REINPLACE_CMD} -e \
        '/-DGLADE_DIR/s|\\$$|| ; \
         /-DG.*_DISABLE_DEPRECATED/d' ${WRKSRC}/src/Makefile.in

.include <bsd.port.mk>