summaryrefslogtreecommitdiffstats
path: root/audio/lindele/Makefile
blob: 28441e7be43cd61d335c1caa613e1ad8b15b4f66 (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$
#

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

MAINTAINER=     jylefort@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_X_PREFIX=       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>