summaryrefslogtreecommitdiffstats
path: root/audio/liteamp/Makefile
blob: f71fca7e61c93c893cae26330fb45cbb7a4cb707 (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:    liteamp
# Date created:     24 June 2003
# Whom:         Hye-Shik Chang <perky@FreeBSD.org>
#
# $FreeBSD$

PORTNAME=   liteamp
PORTVERSION=    0.2.3.2
PORTREVISION=   10
CATEGORIES= audio gnome
MASTER_SITES=   http://kldp.net/frs/download.php/547/

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

LIB_DEPENDS=    ao.3:${PORTSDIR}/audio/libao \
        mad.2:${PORTSDIR}/audio/mad \
        vorbisfile.4:${PORTSDIR}/audio/libvorbis

USE_XLIB=   yes
USE_GMAKE=  yes
USE_GNOME=  gnomehack libgnomeui gnomeprefix
.ifndef WITHOUT_NLS
USE_GETTEXT=    yes
.endif
GNU_CONFIGURE=  yes
CONFIGURE_ARGS= LDFLAGS="-L${LOCALBASE}/lib" CPPFLAGS="-I${LOCALBASE}/include"

MAN1=       liteamp.1

post-patch:
    ${REINPLACE_CMD} -e '15s,^,#include <pthread.h>,' \
        ${WRKSRC}/src/decoder.c

.include <bsd.port.mk>