summaryrefslogtreecommitdiffstats
path: root/audio/lindele/Makefile
blob: 875f650f6b7da30236dccb8d384ae0932b0637bb (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:    lindele
# Date created:         26 Jul 2004
# Whom:             Jean-Yves Lefort <jylefort@brutele.be>
#
# $FreeBSD$
#    $MCom$

PORTNAME=       lindele
PORTVERSION=        0.1.1
PORTREVISION=       6
CATEGORIES=     audio
MASTER_SITES=       http://download.gna.org/${PORTNAME}/

MAINTAINER=     ports@FreeBSD.org
COMMENT=        Yet another simple GNOME music player

RUN_DEPENDS=        musicbox-tag-editor:${PORTSDIR}/audio/musicbox-tag-editor
LIB_DEPENDS=        vorbis:${PORTSDIR}/audio/libvorbis \
            tag:${PORTSDIR}/audio/taglib

USE_XLIB=       yes
USE_GNOME=      gnomehack gnomeprefix libgnomeui
USE_GSTREAMER80=        gconf
GNU_CONFIGURE=      yes
CONFIGURE_ENV=      CPPFLAGS="-I${LOCALBASE}/include" \
            LDFLAGS="-L${LOCALBASE}/lib"

post-patch:
    @${REINPLACE_CMD} -e 's|musicbox|musicbox-tag-editor|g' \
        ${WRKSRC}/src/gui.c \
        ${WRKSRC}/src/lindele.c
    @${REINPLACE_CMD} -e 's|@prefix@/share|@datadir@|' \
        ${WRKSRC}/data/lindele.glade.in

.include <bsd.port.mk>