aboutsummaryrefslogtreecommitdiff
path: root/audio/liteamp/Makefile
blob: c4c13053cb05ad2f1c39d1a8f3c829185c9f8501 (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
37
38
39
40
41
# New ports collection makefile for:	liteamp
# Date created:		24 June 2003
# Whom:			Hye-Shik Chang <perky@FreeBSD.org>
#
# $FreeBSD$

PORTNAME=	liteamp
PORTVERSION=	0.2.4.2
PORTREVISION=	1
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

USE_GNOME=	gnomehack libgnomeui
USE_GETTEXT=	yes
USE_GMAKE=	yes
GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	LDFLAGS="${LDFLAGS}"
MAKE_JOBS_SAFE=	yes

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>