summaryrefslogblamecommitdiff
path: root/audio/gimmix/Makefile
blob: dfcbfe36ef737885aec92043d7f7ddcae2b56b85 (plain) (tree)
1
2
3
4
5
6
7
8
9
                                                   
           

                      
                       
                     
                       
 
                                 

                                                                         


                                 


                                           
 
                                                            
                                        
                   

                                 


                   



                                         
                                     
 
           
                                                                                         
                                                                                                             
 
                      
# Created by: Matthieu Guegan <matt.guegan@free.fr>
# $FreeBSD$

PORTNAME=	gimmix
PORTVERSION=	0.5.7.2
CATEGORIES=	audio
MASTER_SITES=	BERLIOS

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Gimmix is a graphical MPD client written in C using GTK+2

LICENSE=	GPLv2+
LICENSE_FILE=	${WRKSRC}/COPYING

LIB_DEPENDS=	libmpd.so:audio/libmpd \
		libtag.so:audio/taglib \
		libnxml.so:textproc/libnxml

USES=		tar:bzip2 desktop-file-utils gmake pkgconfig
USE_GNOME=	gtk20 intltool libglade2
GNU_CONFIGURE=	yes
CONFIGURE_ENV=	DATADIRNAME=share

OPTIONS_DEFINE=	NLS
OPTIONS_SUB=	yes

NLS_CPPFLAGS=	-I${LOCALBASE}/include
NLS_LDFLAGS=	-L${LOCALBASE}/lib -lintl
NLS_CONFIGURE_ENABLE=	nls
NLS_USES=		gettext
NLS_USES_OFF=		gettext-tools

post-patch:
	@${LN} -sf ${LOCALBASE}/share/intltool/Makefile.in.in ${WRKSRC}/po/Makefile.in.in
	@${REINPLACE_CMD} -e '/<curl\/types.h>/d' ${WRKSRC}/src/gimmix-covers.c ${WRKSRC}/src/gimmix-lyrics.c

.include <bsd.port.mk>