aboutsummaryrefslogtreecommitdiffstats
path: root/audio/liteamp/Makefile
blob: b5f82045e1886deb0de65e2a91a6ebbf27b40665 (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
# 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=   3
CATEGORIES= audio gnome
MASTER_SITES=   http://download.kldp.net/liteamp/

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_X_PREFIX=   yes
USE_GMAKE=  yes
USE_GNOME=  libgnomeui gnomeprefix
USE_REINPLACE=  yes
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>