summaryrefslogblamecommitdiffstats
path: root/audio/lindele/Makefile
blob: 56853e3f73c935132986ecccfb01b0c75a009853 (plain) (tree)


































                                                                                 
# New ports collection makefile for:    lindele
# Date created:         26 Jul 2004
# Whom:             Jean-Yves Lefort <jylefort@brutele.be>
#
# $FreeBSD: ports/audio/lindele/Makefile,v 1.6 2005/01/19 23:16:24 pav Exp $
#

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

MAINTAINER=     jylefort@brutele.be
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_REINPLACE=      yes
USE_GNOME=      gnomehack gnomeprefix libgnomeui
USE_GSTREAMER=      yes
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>