Import audio/musicbox-tag-editor version 0.2.3_15
[dports.git] / audio / musicbox-tag-editor / Makefile
1 # New ports collection makefile for:    MusicBox
2 # Date created:                 26 Jul 2004
3 # Whom:                         Jean-Yves Lefort <jylefort@brutele.be>
4 #
5 # $FreeBSD: ports/audio/musicbox-tag-editor/Makefile,v 1.21 2012/11/17 05:54:39 svnexp Exp $
6 #   $MCom: ports/audio/musicbox-tag-editor/Makefile,v 1.5 2007/09/10 05:13:24 mezz Exp $
7 #
8
9 PORTNAME=               musicbox-tag-editor
10 PORTVERSION=            0.2.3
11 PORTREVISION=   15
12 CATEGORIES=             audio
13 MASTER_SITES=           SF/musicbox/musicbox/${PORTVERSION}
14 DISTNAME=               musicbox-${PORTVERSION}
15
16 MAINTAINER=             ports@FreeBSD.org
17 COMMENT=                A simple GTK+ audio tag editor
18
19 LIB_DEPENDS=            tag:${PORTSDIR}/audio/taglib
20
21 USE_GNOME=              gnomehack gnomeprefix libglade2
22 GNU_CONFIGURE=          yes
23 CPPFLAGS+=      -I${LOCALBASE}/include
24 LDFLAGS+=       -L${LOCALBASE}/lib
25 # do not conflict with audio/musicbox
26 CONFIGURE_ARGS=         --program-suffix=-tag-editor
27
28 post-patch:
29         @${REINPLACE_CMD} -e 's|/usr/share/pixmaps|${PREFIX}/share/pixmaps|' \
30                 ${WRKSRC}/data/musicbox.glade
31         @${REINPLACE_CMD} -e 's|Exec=musicbox|Exec=musicbox-tag-editor|' \
32                 ${WRKSRC}/data/musicbox.desktop
33
34 .include <bsd.port.mk>